org.jmol.shape
public class Mesh extends MeshSurface
Modifier and Type | Field and Description |
---|---|
int |
atomIndex |
Object |
cappingObject |
int |
checkByteCount |
int |
color |
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 |
Point3f |
lattice |
int |
lighting |
List<Point3f[]> |
lineData |
Mesh |
linkedMesh |
(package private) Matrix4f |
mat4 |
short |
meshColix |
int |
modelIndex |
private int |
normixCount |
short[] |
normixes |
static String |
PREVIOUS_MESH_ID |
Point3f |
ptCenter |
Quaternion |
q |
boolean |
recalcAltVertices |
float |
scale |
String |
scriptCommand |
boolean |
showContourLines |
boolean |
showPoints |
boolean |
showTriangles |
Object |
slabbingObject |
String |
thisID |
String[] |
title |
Vector3f |
vAB |
Vector3f |
vAC |
Map<String,BitSet> |
vertexColorMap |
int |
visibilityFlags |
boolean |
visible |
Vector3f |
vTemp |
float |
width |
List<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(String thisID,
JmolRendererInterface g3d,
short colix,
int index) |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkWithin(Point3f pti,
List<Point3f> withinPoints,
float withinDistance2,
boolean isWithinNot) |
void |
clear(String meshType) |
private void |
flipLighting(int lighting) |
Point3f[] |
getBoundingBox() |
(package private) Object |
getInfo() |
Vector3f[] |
getNormals(Point3f[] vertices,
Point4f plane) |
Point3f[] |
getOffsetVertices(Point4f thePlane) |
protected String |
getRendering() |
String |
getState(String type) |
int |
getVertexIndexFromNumber(int vertexIndex) |
(package private) BitSet |
getVisibleGhostBitSet() |
(package private) BitSet |
getVisibleVertexBitSet() |
void |
initialize(int lighting,
Point3f[] vertices,
Point4f plane) |
private void |
invertNormixes() |
void |
setLighting(int lighting) |
void |
setShowWithin(List<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(Point3f[] vertices,
Vector3f[] normals) |
void |
updateCoordinates(Matrix4f m,
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 String PREVIOUS_MESH_ID
public String[] title
public short meshColix
public short[] normixes
private int normixCount
public String thisID
public boolean isValid
public String scriptCommand
public String colorCommand
public 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 Point3f ptCenter
public Mesh linkedMesh
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 Vector3f vAB
public final Vector3f vAC
public final Vector3f vTemp
public boolean colorDensity
public Object cappingObject
public Object slabbingObject
public int[] connections
public boolean recalcAltVertices
Matrix4f mat4
public int color
public Mesh(String thisID, JmolRendererInterface g3d, short colix, int index)
thisID
- g3d
- IGNOREDcolix
- index
- public void setVisibilityFlags(int n)
public void clear(String meshType)
public void setLighting(int lighting)
private void flipLighting(int lighting)
private void invertNormixes()
public void setTranslucent(boolean isTranslucent, float iLevel)
protected String getRendering()
public void setShowWithin(List<Point3f> showWithinPoints, float showWithinDistance2, boolean isWithinNot)
showWithinPoints
- showWithinDistance2
- isWithinNot
- public static boolean checkWithin(Point3f pti, List<Point3f> withinPoints, float withinDistance2, boolean isWithinNot)
public int getVertexIndexFromNumber(int vertexIndex)
BitSet getVisibleVertexBitSet()
BitSet getVisibleGhostBitSet()
public void setTokenProperty(int tokProp, boolean bProp)
Object getInfo()
public Point3f[] getBoundingBox()