public class _X3dExporter extends _VrmlExporter
useTablesphereMatrix, viewpointaperatureAngle, backgroundColix, bw, cameraDistance, cameraPosition, center, commandLineOptions, commentChar, degreesPerRadian, depthZ, exportType, fileName, fixedRotationCenter, g3d, isToFile, jmolRenderer, lightSource, lineWidthMad, nBytes, output, privateKey, referenceCenter, scalePixelsPerAngstrom, screenHeight, screenWidth, slabZ, tempA, tempP1, tempP2, tempP3, tempV1, tempV2, tempV3, viewer| Constructor and Description |
|---|
_X3dExporter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
outputAppearance(short colix,
boolean isText) |
protected void |
outputCircle(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
float radius,
short colix,
boolean doFill) |
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,
boolean checkRadius) |
private void |
outputCylinderChild(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
short colix,
byte endcaps,
float radius) |
protected void |
outputEllipsoid(javax.vecmath.Point3f center,
javax.vecmath.Point3f[] points,
short colix) |
protected void |
outputFooter() |
protected void |
outputHeader() |
protected void |
outputSphereChild(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 bsPolygons,
int faceVertexMax,
short colix,
java.util.List<java.lang.Short> colorList,
java.util.Map<java.lang.Short,java.lang.Integer> htColixes,
javax.vecmath.Point3f offset) |
protected void |
outputTextPixel(javax.vecmath.Point3f pt,
int argb) |
private void |
outputTransRot(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
int x,
int y,
int z) |
protected void |
outputTriangle(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
javax.vecmath.Point3f pt3,
short colix) |
(package private) void |
plotText(int x,
int y,
int z,
short colix,
java.lang.String text,
Font3D font3d) |
output, outputColorIndices, outputColors, outputFace, outputNormals, outputQuaternionFrame, outputSphere, outputTransRotdrawAtom, drawCircle, drawCylinder, drawEllipse, drawPixel, drawTextPixel, fillConeScreen, fillCylinderScreen, fillCylinderScreenMad, fillEllipsoid, fillSphere, fillTriangle, getCameraPosition, getCoordinateMap, getModelCenter, getNormalMap, outputIndices, plotImage, setSphereMatrixdrawFilledCircle, drawSurface, finalizeOutput, getColorList, getConeMesh, getExportDate, getJmolPerspective, getRotationMatrix, getRotationMatrix, initializeOutput, opacityFractionalFromArgb, opacityFractionalFromColix, output, outputComment, outputJmolPerspective, outputVertex, outputVertices, rgbFractionalFromArgb, rgbFractionalFromColix, round, round, setRenderer, setTempVertex, translucencyFractionalFromColixprotected void outputHeader()
outputHeader in class _VrmlExporterprotected void outputFooter()
outputFooter in class _VrmlExporterprotected void outputAppearance(short colix,
boolean isText)
outputAppearance in class _VrmlExporterprivate void outputTransRot(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
int x,
int y,
int z)
protected void outputCircle(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
float radius,
short colix,
boolean doFill)
outputCircle in class _VrmlExporterprotected void outputCone(javax.vecmath.Point3f ptBase,
javax.vecmath.Point3f ptTip,
float radius,
short colix)
outputCone in class _VrmlExporterprotected 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,
boolean checkRadius)
outputCylinder in class _VrmlExporterprivate void outputCylinderChild(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
short colix,
byte endcaps,
float radius)
protected void outputEllipsoid(javax.vecmath.Point3f center,
javax.vecmath.Point3f[] points,
short colix)
outputEllipsoid in class _VrmlExporterprotected void outputSphereChild(javax.vecmath.Point3f center,
float radius,
short colix)
outputSphereChild in class _VrmlExporterprotected 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 bsPolygons,
int faceVertexMax,
short colix,
java.util.List<java.lang.Short> colorList,
java.util.Map<java.lang.Short,java.lang.Integer> htColixes,
javax.vecmath.Point3f offset)
outputSurface in class _VrmlExportervertices - generally unique vertices [0:nVertices)normals - one per vertexcolixes - one per vertex, or nullindices - one per triangular or quad polygon;
may have additional elements beyond vertex indices if faceVertexMax = 3
triangular if faceVertexMax == 3; 3 or 4 if face VertexMax = 4polygonColixes - face-based colixesnVertices - vertices[nVertices-1] is last vertexnPolygons - indices[nPolygons - 1] is last polygonnFaces - number of triangular faces requiredbsPolygons - number of polygons (triangles or quads)faceVertexMax - (3) triangles only, indices[][i] may have more elements
(4) triangles and quads; indices[][i].length determinescolix - overall (solid) color indexcolorList - list of unique color IDshtColixes - map of color IDs to colorListprotected void outputTriangle(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
javax.vecmath.Point3f pt3,
short colix)
outputTriangle in class _VrmlExporterprotected void outputTextPixel(javax.vecmath.Point3f pt,
int argb)
outputTextPixel in class _VrmlExportervoid plotText(int x,
int y,
int z,
short colix,
java.lang.String text,
Font3D font3d)
plotText in class _VrmlExporter