public class _IdtfExporter extends __CartesianExporter
Modifier and Type | Field and Description |
---|---|
private javax.vecmath.Matrix4f |
cylinderMatrix |
private boolean |
haveCircle |
private boolean |
haveCone |
private boolean |
haveCylinder |
private boolean |
haveCylinderIn |
private boolean |
haveSphere |
private java.util.Hashtable |
htDefs |
private java.util.Hashtable |
htNodes |
private int |
iObj |
private javax.vecmath.Matrix4f |
m |
private java.lang.StringBuffer |
models |
private java.lang.StringBuffer |
modifiers |
private javax.vecmath.Point3f |
ptMax |
private javax.vecmath.Point3f |
ptMin |
private java.lang.StringBuffer |
resources |
private java.lang.StringBuffer |
sbTemp |
private javax.vecmath.Matrix4f |
sphereMatrix |
private int[][] |
triangleFace |
viewpoint
aperatureAngle, backgroundColix, bw, cameraDistance, cameraPosition, center, commandLineOptions, commentChar, degreesPerRadian, depthZ, exportType, fileName, fixedRotationCenter, g3d, isToFile, jmolRenderer, lightSource, lineWidthMad, nBytes, output, referenceCenter, scalePixelsPerAngstrom, screenHeight, screenWidth, slabZ, tempA, tempP1, tempP2, tempP3, tempV1, tempV2, tempV3, viewer
Constructor and Description |
---|
_IdtfExporter() |
Modifier and Type | Method and Description |
---|---|
private void |
addColix(short colix,
boolean haveColors) |
private void |
addMeshData(java.lang.String key,
int nFaces,
int nCoord,
int nNormals,
int nColors,
java.lang.StringBuffer sbFaceCoordIndices,
java.lang.StringBuffer sbFaceNormalIndices,
java.lang.StringBuffer sbColorIndices,
java.lang.StringBuffer sbCoords,
java.lang.StringBuffer sbNormals,
java.lang.StringBuffer sbColors) |
private void |
addShader(java.lang.String key,
short colix) |
private void |
checkPoint(javax.vecmath.Tuple3f pt) |
(package private) java.lang.String |
finalizeOutput() |
private java.lang.String |
getAuxiliaryFileData() |
private java.lang.String |
getCircleResource() |
private java.lang.String |
getConeResource() |
private java.lang.String |
getCylinderResource(boolean inSide) |
private java.lang.String |
getMeshData(java.lang.String type,
int[][] indices,
javax.vecmath.Tuple3f[] vertexes,
javax.vecmath.Tuple3f[] normals) |
private void |
getMeshHeader(java.lang.String type,
int nFaces,
int vertexCount,
int normalCount,
int colorCount,
java.lang.StringBuffer sb) |
private java.lang.String |
getParentItem(java.lang.String name,
javax.vecmath.Matrix4f m) |
private java.lang.String |
getSphereResource() |
private java.lang.String |
getTriangleResource(java.lang.String key,
javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
javax.vecmath.Point3f pt3) |
protected void |
output(javax.vecmath.Tuple3f pt) |
private void |
output(javax.vecmath.Tuple3f pt,
java.lang.StringBuffer sb,
boolean checkpt) |
protected void |
outputCircle(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
float radius,
short colix,
boolean doFill) |
private void |
outputCircle(javax.vecmath.Point3f ptCenter,
javax.vecmath.Point3f ptPerp,
short colix,
float radius) |
protected void |
outputCone(javax.vecmath.Point3f ptBase,
javax.vecmath.Point3f ptTip,
float radius,
short colix) |
protected boolean |
outputCylinder(javax.vecmath.Point3f ptCenter,
javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
short colix,
byte endcaps,
float radius,
javax.vecmath.Point3f ptX,
javax.vecmath.Point3f ptY) |
private boolean |
outputEllipse(javax.vecmath.Point3f ptCenter,
javax.vecmath.Point3f ptZ,
javax.vecmath.Point3f ptX,
javax.vecmath.Point3f ptY,
short colix) |
private void |
outputEllipsoid(javax.vecmath.Point3f center,
float rx,
float ry,
float rz,
javax.vecmath.AxisAngle4f a,
short colix) |
protected void |
outputEllipsoid(javax.vecmath.Point3f center,
javax.vecmath.Point3f[] points,
short colix) |
protected void |
outputFace(int[] face,
int[] map,
int faceVertexMax) |
protected void |
outputFooter() |
protected void |
outputHeader() |
private void |
outputNodes() |
protected void |
outputSphere(javax.vecmath.Point3f center,
float radius,
short colix) |
protected void |
outputSurface(javax.vecmath.Point3f[] vertices,
javax.vecmath.Vector3f[] normals,
short[] colixes,
int[][] indices,
short[] polygonColixes,
int nVertices,
int nPolygons,
int nFaces,
java.util.BitSet bsFaces,
int faceVertexMax,
short colix,
java.util.List colorList,
java.util.Hashtable htColixes,
javax.vecmath.Point3f offset) |
protected void |
outputTextPixel(javax.vecmath.Point3f pt,
int argb) |
protected void |
outputTriangle(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
javax.vecmath.Point3f pt3,
short colix) |
drawAtom, drawCircle, drawCylinder, drawEllipse, drawPixel, drawTextPixel, fillConeScreen, fillCylinderScreen, fillCylinderScreenMad, fillEllipsoid, fillSphere, fillTriangle, getCameraPosition, getCoordinateMap, getModelCenter, getNormalMap, outputIndices, plotImage, plotText
drawFilledCircle, drawSurface, getColorList, getConeMesh, getExportDate, getJmolPerspective, getRotationMatrix, getRotationMatrix, initializeOutput, opacityFractionalFromArgb, opacityFractionalFromColix, output, outputComment, outputJmolPerspective, outputVertex, outputVertices, rgbFractionalFromArgb, rgbFractionalFromColix, round, round, setRenderer, setTempVertex, translucencyFractionalFromColix
private boolean haveSphere
private boolean haveCylinder
private boolean haveCylinderIn
private boolean haveCone
private boolean haveCircle
private javax.vecmath.Point3f ptMin
private javax.vecmath.Point3f ptMax
private int iObj
private java.util.Hashtable htDefs
private final javax.vecmath.Matrix4f m
private final java.lang.StringBuffer models
private final java.lang.StringBuffer resources
private final java.lang.StringBuffer modifiers
private java.util.Hashtable htNodes
private javax.vecmath.Matrix4f sphereMatrix
private javax.vecmath.Matrix4f cylinderMatrix
private java.lang.StringBuffer sbTemp
private int[][] triangleFace
protected void output(javax.vecmath.Tuple3f pt)
output
in class ___Exporter
private void output(javax.vecmath.Tuple3f pt, java.lang.StringBuffer sb, boolean checkpt)
private void checkPoint(javax.vecmath.Tuple3f pt)
protected void outputHeader()
outputHeader
in class ___Exporter
java.lang.String finalizeOutput()
finalizeOutput
in class ___Exporter
private java.lang.String getAuxiliaryFileData()
private java.lang.String getParentItem(java.lang.String name, javax.vecmath.Matrix4f m)
private void addColix(short colix, boolean haveColors)
private void addShader(java.lang.String key, short colix)
protected void outputFooter()
outputFooter
in class ___Exporter
private void outputNodes()
protected void outputEllipsoid(javax.vecmath.Point3f center, javax.vecmath.Point3f[] points, short colix)
outputEllipsoid
in class __CartesianExporter
private void outputEllipsoid(javax.vecmath.Point3f center, float rx, float ry, float rz, javax.vecmath.AxisAngle4f a, short colix)
private java.lang.String getSphereResource()
private java.lang.String getMeshData(java.lang.String type, int[][] indices, javax.vecmath.Tuple3f[] vertexes, javax.vecmath.Tuple3f[] normals)
private void getMeshHeader(java.lang.String type, int nFaces, int vertexCount, int normalCount, int colorCount, java.lang.StringBuffer sb)
protected boolean outputCylinder(javax.vecmath.Point3f ptCenter, javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, short colix, byte endcaps, float radius, javax.vecmath.Point3f ptX, javax.vecmath.Point3f ptY)
outputCylinder
in class __CartesianExporter
protected void outputCircle(javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, float radius, short colix, boolean doFill)
outputCircle
in class __CartesianExporter
private boolean outputEllipse(javax.vecmath.Point3f ptCenter, javax.vecmath.Point3f ptZ, javax.vecmath.Point3f ptX, javax.vecmath.Point3f ptY, short colix)
private void outputCircle(javax.vecmath.Point3f ptCenter, javax.vecmath.Point3f ptPerp, short colix, float radius)
private java.lang.String getCylinderResource(boolean inSide)
protected void outputFace(int[] face, int[] map, int faceVertexMax)
outputFace
in class __CartesianExporter
protected void outputSurface(javax.vecmath.Point3f[] vertices, javax.vecmath.Vector3f[] normals, short[] colixes, int[][] indices, short[] polygonColixes, int nVertices, int nPolygons, int nFaces, java.util.BitSet bsFaces, int faceVertexMax, short colix, java.util.List colorList, java.util.Hashtable htColixes, javax.vecmath.Point3f offset)
outputSurface
in class ___Exporter
private void addMeshData(java.lang.String key, int nFaces, int nCoord, int nNormals, int nColors, java.lang.StringBuffer sbFaceCoordIndices, java.lang.StringBuffer sbFaceNormalIndices, java.lang.StringBuffer sbColorIndices, java.lang.StringBuffer sbCoords, java.lang.StringBuffer sbNormals, java.lang.StringBuffer sbColors)
protected void outputCone(javax.vecmath.Point3f ptBase, javax.vecmath.Point3f ptTip, float radius, short colix)
outputCone
in class __CartesianExporter
private java.lang.String getConeResource()
private java.lang.String getCircleResource()
protected void outputSphere(javax.vecmath.Point3f center, float radius, short colix)
outputSphere
in class __CartesianExporter
protected void outputTextPixel(javax.vecmath.Point3f pt, int argb)
outputTextPixel
in class __CartesianExporter
protected void outputTriangle(javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, javax.vecmath.Point3f pt3, short colix)
outputTriangle
in class __CartesianExporter
private java.lang.String getTriangleResource(java.lang.String key, javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, javax.vecmath.Point3f pt3)