public class Mesh extends MeshSurface
Modifier and Type | Field and Description |
---|---|
int |
atomIndex |
java.lang.Object |
cappingObject |
int |
checkByteCount |
int |
color |
java.lang.String |
colorCommand |
boolean |
colorDensity |
int[] |
connections |
int |
diameter |
boolean |
drawTriangles |
boolean |
fillTriangles |
boolean |
frontOnly |
boolean |
havePlanarContours |
boolean |
haveXyPoints |
int |
index |
boolean |
insideOut |
boolean |
isTriangleSet |
boolean |
isTwoSided |
boolean |
isValid |
javax.vecmath.Point3f |
lattice |
int |
lighting |
java.util.List<javax.vecmath.Point3f[]> |
lineData |
Mesh |
linkedMesh |
(package private) javax.vecmath.Matrix4f |
mat4 |
short |
meshColix |
int |
modelIndex |
private int |
normixCount |
short[] |
normixes |
static java.lang.String |
PREVIOUS_MESH_ID |
javax.vecmath.Point3f |
ptCenter |
Quaternion |
q |
boolean |
recalcAltVertices |
float |
scale |
java.lang.String |
scriptCommand |
boolean |
showContourLines |
boolean |
showPoints |
boolean |
showTriangles |
java.lang.Object |
slabbingObject |
java.lang.String |
thisID |
java.lang.String[] |
title |
javax.vecmath.Vector3f |
vAB |
javax.vecmath.Vector3f |
vAC |
java.util.Map<java.lang.String,java.util.BitSet> |
vertexColorMap |
int |
visibilityFlags |
boolean |
visible |
javax.vecmath.Vector3f |
vTemp |
float |
width |
java.util.List<java.lang.Object> |
xmlProperties |
altVertices, bsDisplay, bsPolygons, bsSlabDisplay, bsSlabGhost, colix, haveQuads, iA, iB, iC, isColorSolid, isMerged, mergePolygonCount0, mergeVertexCount0, meshType, normalCount, normals, nSets, offset, polygonColixes, polygonCount, polygonCount0, polygonIndexes, ptOffset, scale3d, SEED_COUNT, slabColix, slabMeshType, slabOptions, surfaceSet, vertexColixes, vertexCount, vertexCount0, vertexSets, vertexSource, vertexValues, vertices
Constructor and Description |
---|
Mesh(java.lang.String thisID,
JmolRendererInterface g3d,
short colix,
int index) |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkWithin(javax.vecmath.Point3f pti,
java.util.List<javax.vecmath.Point3f> withinPoints,
float withinDistance2,
boolean isWithinNot) |
void |
clear(java.lang.String meshType) |
private void |
flipLighting(int lighting) |
javax.vecmath.Point3f[] |
getBoundingBox() |
(package private) java.lang.Object |
getInfo() |
javax.vecmath.Vector3f[] |
getNormals(javax.vecmath.Point3f[] vertices,
javax.vecmath.Point4f plane) |
javax.vecmath.Point3f[] |
getOffsetVertices(javax.vecmath.Point4f thePlane) |
protected java.lang.String |
getRendering() |
java.lang.String |
getState(java.lang.String type) |
int |
getVertexIndexFromNumber(int vertexIndex) |
(package private) java.util.BitSet |
getVisibleGhostBitSet() |
(package private) java.util.BitSet |
getVisibleVertexBitSet() |
void |
initialize(int lighting,
javax.vecmath.Point3f[] vertices,
javax.vecmath.Point4f plane) |
private void |
invertNormixes() |
void |
setLighting(int lighting) |
void |
setShowWithin(java.util.List<javax.vecmath.Point3f> showWithinPoints,
float showWithinDistance2,
boolean isWithinNot) |
void |
setTokenProperty(int tokProp,
boolean bProp) |
void |
setTranslucent(boolean isTranslucent,
float iLevel) |
void |
setVisibilityFlags(int n) |
protected void |
sumVertexNormals(javax.vecmath.Point3f[] vertices,
javax.vecmath.Vector3f[] normals) |
void |
updateCoordinates(javax.vecmath.Matrix4f m,
java.util.BitSet bs) |
addQuad, addTriangle, addTriangleCheck, addVertexCopy, addVertexCopy, getCapSlabObject, getFaces, getIntersection, getSlabColor, getSlabObject, getSlabTranslucency, getSlabType, getSlabWithinRange, getSphericalInterpolationFraction, getVertices, invalidatePolygons, resetSlab, setABC, setColix, setPolygonCount, setSlab, slabPolygons, slabPolygons
public static final java.lang.String PREVIOUS_MESH_ID
public java.lang.String[] title
public short meshColix
public short[] normixes
private int normixCount
public java.util.List<javax.vecmath.Point3f[]> lineData
public java.lang.String thisID
public boolean isValid
public java.lang.String scriptCommand
public java.lang.String colorCommand
public javax.vecmath.Point3f lattice
public boolean visible
public int lighting
public Quaternion q
public float scale
public boolean haveXyPoints
public boolean isTriangleSet
public int diameter
public float width
public javax.vecmath.Point3f ptCenter
public Mesh linkedMesh
public java.util.Map<java.lang.String,java.util.BitSet> vertexColorMap
public int index
public int atomIndex
public int modelIndex
public int visibilityFlags
public boolean insideOut
public int checkByteCount
public boolean showContourLines
public boolean showPoints
public boolean drawTriangles
public boolean fillTriangles
public boolean showTriangles
public boolean frontOnly
public boolean isTwoSided
public boolean havePlanarContours
public final javax.vecmath.Vector3f vAB
public final javax.vecmath.Vector3f vAC
public final javax.vecmath.Vector3f vTemp
public java.util.List<java.lang.Object> xmlProperties
public boolean colorDensity
public java.lang.Object cappingObject
public java.lang.Object slabbingObject
public int[] connections
public boolean recalcAltVertices
javax.vecmath.Matrix4f mat4
public int color
public Mesh(java.lang.String thisID, JmolRendererInterface g3d, short colix, int index)
thisID
- g3d
- IGNOREDcolix
- index
- public void setVisibilityFlags(int n)
public void clear(java.lang.String meshType)
public void initialize(int lighting, javax.vecmath.Point3f[] vertices, javax.vecmath.Point4f plane)
public javax.vecmath.Vector3f[] getNormals(javax.vecmath.Point3f[] vertices, javax.vecmath.Point4f plane)
public void setLighting(int lighting)
private void flipLighting(int lighting)
private void invertNormixes()
public void setTranslucent(boolean isTranslucent, float iLevel)
protected void sumVertexNormals(javax.vecmath.Point3f[] vertices, javax.vecmath.Vector3f[] normals)
public java.lang.String getState(java.lang.String type)
protected java.lang.String getRendering()
public javax.vecmath.Point3f[] getOffsetVertices(javax.vecmath.Point4f thePlane)
public void setShowWithin(java.util.List<javax.vecmath.Point3f> showWithinPoints, float showWithinDistance2, boolean isWithinNot)
showWithinPoints
- showWithinDistance2
- isWithinNot
- public static boolean checkWithin(javax.vecmath.Point3f pti, java.util.List<javax.vecmath.Point3f> withinPoints, float withinDistance2, boolean isWithinNot)
public int getVertexIndexFromNumber(int vertexIndex)
public void updateCoordinates(javax.vecmath.Matrix4f m, java.util.BitSet bs)
java.util.BitSet getVisibleVertexBitSet()
java.util.BitSet getVisibleGhostBitSet()
public void setTokenProperty(int tokProp, boolean bProp)
java.lang.Object getInfo()
public javax.vecmath.Point3f[] getBoundingBox()