org.jmol.shape
Class Mesh
java.lang.Object
org.jmol.util.MeshSurface
org.jmol.shape.Mesh
- Direct Known Subclasses:
- DrawMesh, IsosurfaceMesh
public class Mesh
- extends MeshSurface
Fields inherited from class org.jmol.util.MeshSurface |
bsFaces, colix, haveQuads, iA, iB, iC, isColorSolid, nSets, offsetVertices, polygonColixes, polygonCount, polygonIndexes, ptOffset, scale3d, SEED_COUNT, surfaceSet, vertexColixes, vertexCount, vertexNormals, vertexSets, vertexValues, vertices |
Methods inherited from class org.jmol.util.MeshSurface |
addPolygon, addQuad, addTriangle, addTriangleCheck, addVertexCopy, addVertexCopy, getIntersection, invalidatePolygons, setABC, setColix, setPolygonCount, slabPolygons |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREVIOUS_MESH_ID
public static final String PREVIOUS_MESH_ID
- See Also:
- Constant Field Values
title
public String[] title
meshColix
public short meshColix
normixes
public short[] normixes
normixCount
private int normixCount
bitsets
public BitSet[] bitsets
lineData
public List lineData
thisID
public String thisID
isValid
public boolean isValid
scriptCommand
public String scriptCommand
colorCommand
public String colorCommand
lattice
public Point3f lattice
visible
public boolean visible
lighting
public int lighting
scale
public float scale
haveXyPoints
public boolean haveXyPoints
isPolygonSet
public boolean isPolygonSet
diameter
public int diameter
width
public float width
ptCenter
public Point3f ptCenter
meshType
public String meshType
linkedMesh
public Mesh linkedMesh
index
public int index
atomIndex
public int atomIndex
modelIndex
public int modelIndex
visibilityFlags
public int visibilityFlags
insideOut
public boolean insideOut
checkByteCount
public int checkByteCount
showContourLines
public boolean showContourLines
showPoints
public boolean showPoints
drawTriangles
public boolean drawTriangles
fillTriangles
public boolean fillTriangles
showTriangles
public boolean showTriangles
frontOnly
public boolean frontOnly
isTwoSided
public boolean isTwoSided
havePlanarContours
public boolean havePlanarContours
vAB
public final Vector3f vAB
vAC
public final Vector3f vAC
vTemp
public final Vector3f vTemp
xmlProperties
public List xmlProperties
colorDensity
public boolean colorDensity
cappingObject
public Object cappingObject
slabbingObject
public Object slabbingObject
Mesh
public Mesh(String thisID,
JmolRendererInterface g3d,
short colix,
int index)
setVisibilityFlags
public void setVisibilityFlags(int n)
clear
public void clear(String meshType)
initialize
public void initialize(int lighting,
Point3f[] vertices,
Point4f plane)
getNormals
public Vector3f[] getNormals(Point3f[] vertices,
Point4f plane)
setLighting
public void setLighting(int lighting)
flipLighting
private void flipLighting(int lighting)
invertNormixes
private void invertNormixes()
setTranslucent
public void setTranslucent(boolean isTranslucent,
float iLevel)
sumVertexNormals
protected void sumVertexNormals(Point3f[] vertices,
Vector3f[] normals)
getState
public String getState(String type)
getOffsetVertices
public Point3f[] getOffsetVertices(Point4f thePlane)
getVertexIndexFromNumber
public int getVertexIndexFromNumber(int vertexIndex)