public abstract class __CartesianExporter extends ___Exporter
Modifier and Type | Field and Description |
---|---|
protected javax.vecmath.Matrix4f |
sphereMatrix |
protected javax.vecmath.AxisAngle4f |
viewpoint |
aperatureAngle, 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 |
---|
__CartesianExporter() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
drawAtom(Atom atom) |
(package private) void |
drawCircle(int x,
int y,
int z,
int diameter,
short colix,
boolean doFill) |
(package private) void |
drawCylinder(javax.vecmath.Point3f ptA,
javax.vecmath.Point3f ptB,
short colix1,
short colix2,
byte endcaps,
int mad,
int bondOrder) |
(package private) boolean |
drawEllipse(javax.vecmath.Point3f ptCenter,
javax.vecmath.Point3f ptX,
javax.vecmath.Point3f ptY,
short colix,
boolean doFill) |
(package private) void |
drawPixel(short colix,
int x,
int y,
int z,
int scale) |
(package private) void |
drawTextPixel(int argb,
int x,
int y,
int z) |
(package private) void |
fillConeScreen(short colix,
byte endcap,
int screenDiameter,
javax.vecmath.Point3f screenBase,
javax.vecmath.Point3f screenTip,
boolean isBarb) |
(package private) void |
fillCylinderScreen(short colix,
byte endcaps,
int screenDiameter,
javax.vecmath.Point3f screenA,
javax.vecmath.Point3f screenB) |
(package private) void |
fillCylinderScreenMad(short colix,
byte endcaps,
int mad,
javax.vecmath.Point3f screenA,
javax.vecmath.Point3f screenB) |
(package private) void |
fillEllipsoid(javax.vecmath.Point3f center,
javax.vecmath.Point3f[] points,
short colix,
int x,
int y,
int z,
int diameter,
javax.vecmath.Matrix3f toEllipsoidal,
double[] coef,
javax.vecmath.Matrix4f deriv,
javax.vecmath.Point3i[] octantPoints) |
(package private) void |
fillSphere(short colix,
int diameter,
javax.vecmath.Point3f pt) |
protected void |
fillTriangle(short colix,
javax.vecmath.Point3f ptA,
javax.vecmath.Point3f ptB,
javax.vecmath.Point3f ptC,
boolean twoSided) |
protected javax.vecmath.Point3f |
getCameraPosition() |
protected int |
getCoordinateMap(javax.vecmath.Tuple3f[] vertices,
int[] coordMap,
java.util.BitSet bsValid) |
protected javax.vecmath.Point3f |
getModelCenter() |
protected int[] |
getNormalMap(javax.vecmath.Tuple3f[] normals,
int nNormals,
java.util.BitSet bsValid,
java.util.List<java.lang.String> vNormals) |
protected abstract void |
outputCircle(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
float radius,
short colix,
boolean doFill) |
protected abstract void |
outputCone(javax.vecmath.Point3f ptBase,
javax.vecmath.Point3f ptTip,
float radius,
short colix) |
protected abstract boolean |
outputCylinder(javax.vecmath.Point3f ptCenter,
javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
short colix1,
byte endcaps,
float radius,
javax.vecmath.Point3f ptX,
javax.vecmath.Point3f ptY,
boolean checkRadius) |
protected abstract void |
outputEllipsoid(javax.vecmath.Point3f center,
javax.vecmath.Point3f[] points,
short colix) |
protected abstract void |
outputFace(int[] is,
int[] coordMap,
int faceVertexMax) |
protected void |
outputIndices(int[][] indices,
int[] map,
int nPolygons,
java.util.BitSet bsPolygons,
int faceVertexMax) |
protected abstract void |
outputSphere(javax.vecmath.Point3f ptAtom2,
float f,
short colix,
boolean checkRadius) |
protected abstract void |
outputTextPixel(javax.vecmath.Point3f pt,
int argb) |
protected abstract void |
outputTriangle(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
javax.vecmath.Point3f pt3,
short colix) |
(package private) void |
plotImage(int x,
int y,
int z,
java.awt.Image image,
short bgcolix,
int width,
int height) |
(package private) void |
plotText(int x,
int y,
int z,
short colix,
java.lang.String text,
Font3D font3d) |
protected void |
setSphereMatrix(javax.vecmath.Point3f center,
float rx,
float ry,
float rz,
javax.vecmath.AxisAngle4f a,
javax.vecmath.Matrix4f sphereMatrix) |
private void |
setTempPoints(javax.vecmath.Point3f ptA,
javax.vecmath.Point3f ptB,
boolean isCartesian) |
drawFilledCircle, drawSurface, finalizeOutput, getColorList, getConeMesh, getExportDate, getJmolPerspective, getRotationMatrix, getRotationMatrix, initializeOutput, opacityFractionalFromArgb, opacityFractionalFromColix, output, output, outputComment, outputFooter, outputHeader, outputJmolPerspective, outputSurface, outputVertex, outputVertices, rgbFractionalFromArgb, rgbFractionalFromColix, round, round, setRenderer, setTempVertex, translucencyFractionalFromColix
protected javax.vecmath.AxisAngle4f viewpoint
protected javax.vecmath.Matrix4f sphereMatrix
protected javax.vecmath.Point3f getModelCenter()
protected javax.vecmath.Point3f getCameraPosition()
private void setTempPoints(javax.vecmath.Point3f ptA, javax.vecmath.Point3f ptB, boolean isCartesian)
protected int getCoordinateMap(javax.vecmath.Tuple3f[] vertices, int[] coordMap, java.util.BitSet bsValid)
protected int[] getNormalMap(javax.vecmath.Tuple3f[] normals, int nNormals, java.util.BitSet bsValid, java.util.List<java.lang.String> vNormals)
protected void outputIndices(int[][] indices, int[] map, int nPolygons, java.util.BitSet bsPolygons, int faceVertexMax)
protected abstract void outputFace(int[] is, int[] coordMap, int faceVertexMax)
protected abstract void outputCircle(javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, float radius, short colix, boolean doFill)
protected abstract void outputCone(javax.vecmath.Point3f ptBase, javax.vecmath.Point3f ptTip, float radius, short colix)
protected abstract boolean outputCylinder(javax.vecmath.Point3f ptCenter, javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, short colix1, byte endcaps, float radius, javax.vecmath.Point3f ptX, javax.vecmath.Point3f ptY, boolean checkRadius)
protected abstract void outputEllipsoid(javax.vecmath.Point3f center, javax.vecmath.Point3f[] points, short colix)
protected abstract void outputSphere(javax.vecmath.Point3f ptAtom2, float f, short colix, boolean checkRadius)
protected abstract void outputTextPixel(javax.vecmath.Point3f pt, int argb)
protected abstract void outputTriangle(javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, javax.vecmath.Point3f pt3, short colix)
void drawAtom(Atom atom)
drawAtom
in class ___Exporter
void drawCircle(int x, int y, int z, int diameter, short colix, boolean doFill)
drawCircle
in class ___Exporter
boolean drawEllipse(javax.vecmath.Point3f ptCenter, javax.vecmath.Point3f ptX, javax.vecmath.Point3f ptY, short colix, boolean doFill)
drawEllipse
in class ___Exporter
void drawPixel(short colix, int x, int y, int z, int scale)
drawPixel
in class ___Exporter
void drawTextPixel(int argb, int x, int y, int z)
drawTextPixel
in class ___Exporter
void fillConeScreen(short colix, byte endcap, int screenDiameter, javax.vecmath.Point3f screenBase, javax.vecmath.Point3f screenTip, boolean isBarb)
fillConeScreen
in class ___Exporter
void drawCylinder(javax.vecmath.Point3f ptA, javax.vecmath.Point3f ptB, short colix1, short colix2, byte endcaps, int mad, int bondOrder)
drawCylinder
in class ___Exporter
void fillCylinderScreenMad(short colix, byte endcaps, int mad, javax.vecmath.Point3f screenA, javax.vecmath.Point3f screenB)
fillCylinderScreenMad
in class ___Exporter
void fillCylinderScreen(short colix, byte endcaps, int screenDiameter, javax.vecmath.Point3f screenA, javax.vecmath.Point3f screenB)
fillCylinderScreen
in class ___Exporter
void fillEllipsoid(javax.vecmath.Point3f center, javax.vecmath.Point3f[] points, short colix, int x, int y, int z, int diameter, javax.vecmath.Matrix3f toEllipsoidal, double[] coef, javax.vecmath.Matrix4f deriv, javax.vecmath.Point3i[] octantPoints)
fillEllipsoid
in class ___Exporter
void fillSphere(short colix, int diameter, javax.vecmath.Point3f pt)
fillSphere
in class ___Exporter
protected void fillTriangle(short colix, javax.vecmath.Point3f ptA, javax.vecmath.Point3f ptB, javax.vecmath.Point3f ptC, boolean twoSided)
fillTriangle
in class ___Exporter
void plotImage(int x, int y, int z, java.awt.Image image, short bgcolix, int width, int height)
plotImage
in class ___Exporter
void plotText(int x, int y, int z, short colix, java.lang.String text, Font3D font3d)
plotText
in class ___Exporter
protected void setSphereMatrix(javax.vecmath.Point3f center, float rx, float ry, float rz, javax.vecmath.AxisAngle4f a, javax.vecmath.Matrix4f sphereMatrix)