Package org.jmol.shapesurface
Class PMeshWriter
- java.lang.Object
-
- org.jmol.shapesurface.PMeshWriter
-
public class PMeshWriter extends java.lang.ObjectA class called by reflection from IsosurfaceMesh from the Jmol command WRITE xxxx.pmesh (ascii) or WRITE xxxx.pmb (binary)
-
-
Field Summary
Fields Modifier and Type Field Description private javajs.util.BSbsPolygonsprivate booleancolorArrayedprivate booleancolorSolidprivate short[]contourColixesprivate shortcxprivate booleanhaveBsDisplayprivate inti0private int[]imapprivate IsosurfaceMeshimesh(package private) booleanisBinaryprivate booleannoColorprivate javajs.util.OCocprivate int[][]polygonIndexesprivate booleanselectedPolyOnlyprivate short[]vertexColixesprivate intvertexCountprivate float[]vertexValues
-
Constructor Summary
Constructors Constructor Description PMeshWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcheckPoints(javajs.util.BS bsVert)private voidcheckTriangles(boolean fill, javajs.util.BS bsPoly, javajs.util.BS bsVert)private voidoutputEdge(int iA, int iB, int color)private voidoutputInt(int i)private intoutputPoint(int iA, int color)private voidoutputPoints(javajs.util.BS bsPoints)private voidoutputTriangle(int iA, int iB, int iC, int color, int check)private voidoutputTriangles(boolean fill, javajs.util.BS bsPoly, javajs.util.BS bsDone)private voidoutputXYZ(javajs.util.T3 pt)private voidsetup(boolean fill)(package private) java.lang.Objectwrite(IsosurfaceMesh isosurfaceMesh, boolean isBinary)private voidwritePmeshHeader(int nV)
-
-
-
Field Detail
-
imesh
private IsosurfaceMesh imesh
-
isBinary
boolean isBinary
-
oc
private javajs.util.OC oc
-
i0
private int i0
-
polygonIndexes
private int[][] polygonIndexes
-
selectedPolyOnly
private boolean selectedPolyOnly
-
bsPolygons
private javajs.util.BS bsPolygons
-
haveBsDisplay
private boolean haveBsDisplay
-
colorSolid
private boolean colorSolid
-
colorArrayed
private boolean colorArrayed
-
cx
private short cx
-
vertexColixes
private short[] vertexColixes
-
noColor
private boolean noColor
-
contourColixes
private short[] contourColixes
-
vertexValues
private float[] vertexValues
-
vertexCount
private int vertexCount
-
imap
private int[] imap
-
-
Method Detail
-
write
java.lang.Object write(IsosurfaceMesh isosurfaceMesh, boolean isBinary)
-
outputPoints
private void outputPoints(javajs.util.BS bsPoints)
-
outputTriangles
private void outputTriangles(boolean fill, javajs.util.BS bsPoly, javajs.util.BS bsDone)
-
checkPoints
private void checkPoints(javajs.util.BS bsVert)
-
checkTriangles
private void checkTriangles(boolean fill, javajs.util.BS bsPoly, javajs.util.BS bsVert)
-
setup
private void setup(boolean fill)
-
writePmeshHeader
private void writePmeshHeader(int nV)
-
outputInt
private void outputInt(int i)
-
outputPoint
private int outputPoint(int iA, int color)
-
outputXYZ
private void outputXYZ(javajs.util.T3 pt)
-
outputEdge
private void outputEdge(int iA, int iB, int color)
-
outputTriangle
private void outputTriangle(int iA, int iB, int iC, int color, int check)
-
-