public class _TachyonExporter extends __RayTracerExporter
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
lighting |
(package private) java.lang.String |
phong |
private java.lang.String |
textureCode |
(package private) UseTable |
textures |
(package private) boolean |
wasPerspectiveDepth |
isSlabEnabled, minScreenDimensionaperatureAngle, 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 |
|---|
_TachyonExporter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillConicalCylinder(javax.vecmath.Point3f screenA,
javax.vecmath.Point3f screenB,
int madBond,
short colix,
byte endcaps) |
private void |
getLightingInfo() |
(package private) boolean |
initializeOutput(Viewer viewer,
double privateKey,
Graphics3D g3d,
java.lang.Object output) |
protected void |
output(javax.vecmath.Tuple3f pt) |
protected void |
outputCircle(int x,
int y,
int z,
float radius,
short colix,
boolean doFill) |
protected void |
outputCone(javax.vecmath.Point3f screenBase,
javax.vecmath.Point3f screenTip,
float radius,
short colix,
boolean isBarb) |
protected void |
outputCylinder(javax.vecmath.Point3f screenA,
javax.vecmath.Point3f screenB,
float radius,
short colix,
boolean withCaps) |
protected void |
outputCylinderConical(javax.vecmath.Point3f screenA,
javax.vecmath.Point3f screenB,
float radius1,
float radius2,
short colix) |
protected void |
outputEllipsoid(javax.vecmath.Point3f center,
float radius,
double[] coef,
short colix) |
protected void |
outputFooter() |
protected void |
outputHeader() |
private void |
outputRing(int x,
int y,
int z,
javax.vecmath.Vector3f tempV1,
float radius,
short colix,
boolean doFill) |
protected void |
outputSphere(float x,
float y,
float z,
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(int x,
int y,
int z,
int argb) |
private void |
outputTexture(int argb,
boolean useTexDef) |
private void |
outputTexture(short colix,
boolean useTexDef) |
private void |
outputTexture2(java.lang.String rgb,
java.lang.String opacity,
boolean useTexDef) |
private void |
outputTextureCode() |
protected void |
outputTriangle(javax.vecmath.Point3f ptA,
javax.vecmath.Point3f ptB,
javax.vecmath.Point3f ptC,
short colix) |
private java.lang.String |
triad(float x,
float y,
float z) |
private java.lang.String |
triad(javax.vecmath.Tuple3f pt) |
drawAtom, drawCircle, drawCylinder, drawEllipse, drawPixel, drawTextPixel, fillConeScreen, fillCylinderScreen, fillCylinderScreenMad, fillEllipsoid, fillSphere, fillTriangle, getScreenNormal, outputVertexdrawFilledCircle, drawSurface, finalizeOutput, getColorList, getConeMesh, getExportDate, getJmolPerspective, getRotationMatrix, getRotationMatrix, opacityFractionalFromArgb, opacityFractionalFromColix, output, outputComment, outputJmolPerspective, outputVertices, plotImage, plotText, rgbFractionalFromArgb, rgbFractionalFromColix, round, round, setRenderer, setTempVertex, translucencyFractionalFromColixboolean wasPerspectiveDepth
java.lang.String lighting
java.lang.String phong
UseTable textures
private java.lang.String textureCode
boolean initializeOutput(Viewer viewer, double privateKey, Graphics3D g3d, java.lang.Object output)
initializeOutput in class ___Exporterprivate void getLightingInfo()
protected void outputHeader()
outputHeader in class __RayTracerExporterprotected void outputFooter()
outputFooter in class ___Exporterprotected void output(javax.vecmath.Tuple3f pt)
output in class ___Exporterprivate java.lang.String triad(float x,
float y,
float z)
private java.lang.String triad(javax.vecmath.Tuple3f pt)
private void outputTextureCode()
private void outputTexture(short colix,
boolean useTexDef)
private void outputTexture(int argb,
boolean useTexDef)
private void outputTexture2(java.lang.String rgb,
java.lang.String opacity,
boolean useTexDef)
protected void outputCircle(int x,
int y,
int z,
float radius,
short colix,
boolean doFill)
outputCircle in class __RayTracerExporterprivate void outputRing(int x,
int y,
int z,
javax.vecmath.Vector3f tempV1,
float radius,
short colix,
boolean doFill)
protected void outputCone(javax.vecmath.Point3f screenBase,
javax.vecmath.Point3f screenTip,
float radius,
short colix,
boolean isBarb)
outputCone in class __RayTracerExporterprotected void outputCylinder(javax.vecmath.Point3f screenA,
javax.vecmath.Point3f screenB,
float radius,
short colix,
boolean withCaps)
outputCylinder in class __RayTracerExporterprotected void fillConicalCylinder(javax.vecmath.Point3f screenA,
javax.vecmath.Point3f screenB,
int madBond,
short colix,
byte endcaps)
fillConicalCylinder in class __RayTracerExporterprotected void outputCylinderConical(javax.vecmath.Point3f screenA,
javax.vecmath.Point3f screenB,
float radius1,
float radius2,
short colix)
outputCylinderConical in class __RayTracerExporterprotected void outputEllipsoid(javax.vecmath.Point3f center,
float radius,
double[] coef,
short colix)
outputEllipsoid in class __RayTracerExporterprotected 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 ___Exportervertices - 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 outputSphere(float x,
float y,
float z,
float radius,
short colix)
outputSphere in class __RayTracerExporterprotected void outputTextPixel(int x,
int y,
int z,
int argb)
outputTextPixel in class __RayTracerExporterprotected void outputTriangle(javax.vecmath.Point3f ptA,
javax.vecmath.Point3f ptB,
javax.vecmath.Point3f ptC,
short colix)
outputTriangle in class __RayTracerExporter