public abstract class __CartesianExporter extends ___Exporter
| Modifier and Type | Field and Description |
|---|---|
protected P3 |
ptScaled |
protected Matrix4f |
sphereMatrix |
protected AxisAngle4f |
viewpoint |
aperatureAngle, backgroundColix, bw, cameraDistance, cameraPosition, center, commandLineOptions, commentChar, degreesPerRadian, depthZ, exportScale, exportType, fileName, fixedRotationCenter, g3d, isCartesian, isToFile, jmolRenderer, lightSource, lineWidthMad, nBytes, output, privateKey, referenceCenter, scalePixelsPerAngstrom, screenHeight, screenWidth, slabZ, 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(P3 ptA,
P3 ptB,
short colix1,
short colix2,
byte endcaps,
int mad,
int bondOrder)
bond order -1 -- single bond, Cartesian
bond order -2 -- multiple bond, Cartesian
|
(package private) boolean |
drawEllipse(P3 ptCenter,
P3 ptX,
P3 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,
P3 screenBase,
P3 screenTip,
boolean isBarb) |
(package private) void |
fillCylinderScreen(short colix,
byte endcaps,
int screenDiameter,
P3 screenA,
P3 screenB) |
(package private) void |
fillCylinderScreenMad(short colix,
byte endcaps,
int mad,
P3 screenA,
P3 screenB) |
(package private) void |
fillEllipsoid(P3 center,
P3[] points,
short colix,
int x,
int y,
int z,
int diameter,
Matrix3f toEllipsoidal,
double[] coef,
Matrix4f deriv,
P3i[] octantPoints) |
(package private) void |
fillSphere(short colix,
int diameter,
P3 pt) |
protected void |
fillTriangle(short colix,
P3 ptA,
P3 ptB,
P3 ptC,
boolean twoSided) |
protected P3 |
getCameraPosition() |
protected int |
getCoordinateMap(Tuple3f[] vertices,
int[] coordMap,
BS bsValid) |
protected P3 |
getModelCenter() |
protected int[] |
getNormalMap(Tuple3f[] normals,
int nNormals,
BS bsValid,
JmolList<java.lang.String> vNormals) |
protected abstract void |
outputCircle(P3 pt1,
P3 pt2,
float radius,
short colix,
boolean doFill) |
protected abstract void |
outputCone(P3 ptBase,
P3 ptTip,
float radius,
short colix) |
protected abstract boolean |
outputCylinder(P3 ptCenter,
P3 pt1,
P3 pt2,
short colix1,
byte endcaps,
float radius,
P3 ptX,
P3 ptY,
boolean checkRadius) |
protected abstract void |
outputEllipsoid(P3 center,
P3[] points,
short colix) |
protected abstract void |
outputFace(int[] is,
int[] coordMap,
int faceVertexMax) |
protected void |
outputIndices(int[][] indices,
int[] map,
int nPolygons,
BS bsPolygons,
int faceVertexMax) |
protected abstract void |
outputSphere(P3 ptAtom2,
float f,
short colix,
boolean checkRadius) |
protected abstract void |
outputTextPixel(P3 pt,
int argb) |
protected abstract void |
outputTriangle(P3 pt1,
P3 pt2,
P3 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,
JmolFont font3d) |
protected float |
scale(float f)
used only for VRML and X3D; could be expanded
|
protected Tuple3f |
scalePt(Tuple3f pt)
used only for VRML and X3D; could be expanded
|
protected void |
setSphereMatrix(Tuple3f center,
float rx,
float ry,
float rz,
AxisAngle4f a,
Matrix4f sphereMatrix) |
private void |
setTempPoints(P3 ptA,
P3 ptB,
boolean isCartesian) |
drawFilledCircle, drawSurface, finalizeOutput, finalizeOutput2, getColorList, getConeMesh, getExportDate, getJmolPerspective, getRotationMatrix, getRotationMatrix, getTriad, initializeOutput, initOutput, opacityFractionalFromArgb, opacityFractionalFromColix, output, output, outputComment, outputFooter, outputHeader, outputJmolPerspective, outputSurface, outputVertex, outputVertices, rgbFractionalFromArgb, rgbFractionalFromColix, round, round, setRenderer, setTempVertex, translucencyFractionalFromColixprotected AxisAngle4f viewpoint
protected P3 ptScaled
protected Matrix4f sphereMatrix
protected P3 getModelCenter()
protected P3 getCameraPosition()
protected float scale(float f)
f - protected Tuple3f scalePt(Tuple3f pt)
pt - protected int[] getNormalMap(Tuple3f[] normals, int nNormals, BS bsValid, JmolList<java.lang.String> vNormals)
protected void outputIndices(int[][] indices,
int[] map,
int nPolygons,
BS bsPolygons,
int faceVertexMax)
protected abstract void outputFace(int[] is,
int[] coordMap,
int faceVertexMax)
protected abstract void outputCircle(P3 pt1, P3 pt2, float radius, short colix, boolean doFill)
protected abstract boolean outputCylinder(P3 ptCenter, P3 pt1, P3 pt2, short colix1, byte endcaps, float radius, P3 ptX, P3 ptY, boolean checkRadius)
protected abstract void outputSphere(P3 ptAtom2, float f, short colix, boolean checkRadius)
protected abstract void outputTextPixel(P3 pt, int argb)
void drawAtom(Atom atom)
drawAtom in class ___Exportervoid drawCircle(int x,
int y,
int z,
int diameter,
short colix,
boolean doFill)
drawCircle in class ___Exporterboolean drawEllipse(P3 ptCenter, P3 ptX, P3 ptY, short colix, boolean doFill)
drawEllipse in class ___Exportervoid drawPixel(short colix,
int x,
int y,
int z,
int scale)
drawPixel in class ___Exportervoid drawTextPixel(int argb,
int x,
int y,
int z)
drawTextPixel in class ___Exportervoid fillConeScreen(short colix,
byte endcap,
int screenDiameter,
P3 screenBase,
P3 screenTip,
boolean isBarb)
fillConeScreen in class ___Exportervoid drawCylinder(P3 ptA, P3 ptB, short colix1, short colix2, byte endcaps, int mad, int bondOrder)
drawCylinder in class ___Exportervoid fillCylinderScreenMad(short colix,
byte endcaps,
int mad,
P3 screenA,
P3 screenB)
fillCylinderScreenMad in class ___Exportervoid fillCylinderScreen(short colix,
byte endcaps,
int screenDiameter,
P3 screenA,
P3 screenB)
fillCylinderScreen in class ___Exportervoid fillEllipsoid(P3 center, P3[] points, short colix, int x, int y, int z, int diameter, Matrix3f toEllipsoidal, double[] coef, Matrix4f deriv, P3i[] octantPoints)
fillEllipsoid in class ___Exportervoid fillSphere(short colix,
int diameter,
P3 pt)
fillSphere in class ___Exporterprotected void fillTriangle(short colix,
P3 ptA,
P3 ptB,
P3 ptC,
boolean twoSided)
fillTriangle in class ___Exportervoid plotImage(int x,
int y,
int z,
java.awt.Image image,
short bgcolix,
int width,
int height)
plotImage in class ___Exportervoid plotText(int x,
int y,
int z,
short colix,
java.lang.String text,
JmolFont font3d)
plotText in class ___Exporterprotected void setSphereMatrix(Tuple3f center, float rx, float ry, float rz, AxisAngle4f a, Matrix4f sphereMatrix)