Class Mesh
java.lang.Object
org.jmol.util.MeshSurface
org.jmol.shape.Mesh
- Direct Known Subclasses:
DrawMesh, IsosurfaceMesh
-
Field Summary
FieldsModifier and TypeFieldDescriptionintprotected BSintintbooleanintint[]intbooleanbooleanbooleanbooleanbooleanbooleanintbooleanbooleanbooleanbooleanbooleanintshortintshort[]static final Stringbooleanbooleanfloatbooleanbooleanbooleanshort[]short[][]M4[]String[]booleanintbooleanfloatfloatFields inherited from class MeshSurface
altVertices, bsDisplay, bsPolygons, bsSlabDisplay, bsSlabGhost, colix, colixBack, colorsExplicit, dataOnly, haveQuads, iA, iB, iC, isColorSolid, isDrawPolygon, isMerged, mat4, mergePolygonCount0, mergeVertexCount0, meshType, normalCount, normals, normalsTemp, normixCount, nSets, oabc, offset, P_CHECK, P_CONTOUR, P_EXPLICIT_COLOR, pc, pcs, pis, polygonCount0, SEED_COUNT, slabColix, slabMeshType, slabOptions, surfaceAtoms, surfaceSet, vc, vcs, vertexCount0, vertexSets, vertexSource, vs, vvs, vwr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckWithin(T3 pti, Lst<P3> withinPoints, float withinDistance2, boolean isWithinNot) voidvoidP3[]protected ObjectgetInfo(boolean isAll) protected floatV3[]getNormals(T3[] vertices, P4 plane) V3[]P3[]getOffsetVertices(P4 thePlane) protected StringintgetVertexIndexFromNumber(int vertexIndex) protected BSvoidinitialize(int lighting, T3[] vertices, P4 plane) voidrotateTranslate(Quat q, T3 offset, boolean isAbsolute) voidsetLighting(int lighting) short[]setNormixes(V3[] normals) voidsetShowWithin(Lst<P3> showWithinPoints, float showWithinDistance2, boolean isWithinNot) voidsetTokenProperty(int tokProp, boolean bProp) voidsetTranslucent(boolean isTranslucent, float iLevel) voidsetVisibilityFlags(int n) protected voidsumVertexNormals(T3[] vertices, V3[] normals) protected static voidsumVertexNormals2(Mesh m, T3[] vertices, V3[] normals) Methods inherited from class MeshSurface
addPolygon, addPolygonC, addQuad, addTriangle, addTriangleCheck, addV, addVCVal, getFaces, getMeshSlicer, getResolution, getSlabColor, getSlabType, getSphereData, getSphericalInterpolationFraction, getVertices, invalidatePolygons, newMesh, resetSlab, setABC, setBoundingBox, setBox, setColix, setColixBack, setPolygonCount, setTranslucentVertices, slabBrillouin, slabPolygonsList
-
Field Details
-
PREVIOUS_MESH_ID
- See Also:
-
title
-
hoverLabel
-
meshColix
public short meshColix -
normixes
public short[] normixes -
lineData
-
thisID
-
isValid
public boolean isValid -
scriptCommand
-
colorCommand
-
lattice
-
symops
-
symopNormixes
public short[][] symopNormixes -
visible
public boolean visible -
lighting
public int lighting -
colorType
public int colorType -
reverseColor
public boolean reverseColor -
haveXyPoints
public boolean haveXyPoints -
diameter
public int diameter -
width
public float width -
ptCenter
-
linkedMesh
-
vAB
-
vTemp
-
color
public int color -
useColix
public boolean useColix -
unitCell
-
scale3d
public float scale3d -
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 -
isShell
public boolean isShell -
isTwoSided
public boolean isTwoSided -
havePlanarContours
public boolean havePlanarContours -
bsTemp
-
colorDensity
public boolean colorDensity -
cappingObject
-
slabbingObject
-
volumeRenderPointSize
public float volumeRenderPointSize -
connectedAtoms
public int[] connectedAtoms -
isModelConnected
public boolean isModelConnected -
recalcAltVertices
public boolean recalcAltVertices -
symopColixes
public short[] symopColixes -
hasTranslucentVertices
public boolean hasTranslucentVertices
-
-
Constructor Details
-
Mesh
public Mesh()always use Mesh().mesh1(thisID, colix, index)
-
-
Method Details
-
setVisibilityFlags
public void setVisibilityFlags(int n) -
mesh1
-
clear
-
clearMesh
-
initialize
-
setNormixes
-
getNormals
-
setLighting
public void setLighting(int lighting) -
setTranslucent
public void setTranslucent(boolean isTranslucent, float iLevel) -
sumVertexNormals
-
sumVertexNormals2
-
getMinDistance2ForVertexGrouping
protected float getMinDistance2ForVertexGrouping() -
getState
-
getRendering
-
getOffsetVertices
-
setShowWithin
-
checkWithin
-
getVertexIndexFromNumber
public int getVertexIndexFromNumber(int vertexIndex) -
getVisibleVertexBitSet
-
getVisibleVBS
-
setTokenProperty
public void setTokenProperty(int tokProp, boolean bProp) -
getInfo
-
getBoundingBox
-
getUnitCell
- Returns:
- unitcell
-
rotateTranslate
-
getNormalsTemp
-