org.jmol.export
Class _MayaExporter
java.lang.Object
org.jmol.export.___Exporter
org.jmol.export.__CartesianExporter
org.jmol.export._MayaExporter
public class _MayaExporter
- extends __CartesianExporter
|
Field Summary |
private java.lang.String |
id
|
private java.lang.String |
name
|
private int |
nBalls
|
private int |
nCyl
|
| Fields inherited from class org.jmol.export.___Exporter |
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 |
|
Method Summary |
private void |
addAttr()
|
private void |
addConnect()
|
(package private) void |
drawTextPixel(int argb,
int x,
int y,
int z)
|
protected static void |
getRotation(javax.vecmath.Vector3f v,
javax.vecmath.Vector3f rot)
|
protected void |
output(javax.vecmath.Tuple3f pt)
|
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)
|
protected void |
outputEllipsoid(javax.vecmath.Point3f center,
javax.vecmath.Point3f[] points,
short colix)
|
protected void |
outputFace(int[] is,
int[] coordMap,
int faceVertexMax)
|
protected void |
outputHeader()
|
protected void |
outputSphere(javax.vecmath.Point3f pt,
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)
|
private void |
setAttr(java.lang.String attr,
float val)
|
private void |
setAttr(java.lang.String attr,
int val)
|
private void |
setAttr(java.lang.String attr,
javax.vecmath.Tuple3f pt)
|
| Methods inherited from class org.jmol.export.__CartesianExporter |
drawAtom, drawCircle, drawCylinder, drawEllipse, drawPixel, fillConeScreen, fillCylinderScreen, fillCylinderScreenMad, fillEllipsoid, fillSphere, fillTriangle, getCameraPosition, getCoordinateMap, getModelCenter, getNormalMap, outputIndices, plotImage, plotText |
| Methods inherited from class org.jmol.export.___Exporter |
drawFilledCircle, drawSurface, finalizeOutput, getColorList, getConeMesh, getExportDate, getJmolPerspective, getRotationMatrix, getRotationMatrix, initializeOutput, opacityFractionalFromArgb, opacityFractionalFromColix, output, outputComment, outputFooter, outputJmolPerspective, outputVertex, outputVertices, rgbFractionalFromArgb, rgbFractionalFromColix, round, round, setRenderer, setTempVertex, translucencyFractionalFromColix |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nBalls
private int nBalls
nCyl
private int nCyl
name
private java.lang.String name
id
private java.lang.String id
_MayaExporter
public _MayaExporter()
outputHeader
protected void outputHeader()
- Specified by:
outputHeader in class ___Exporter
addAttr
private void addAttr()
addConnect
private void addConnect()
setAttr
private void setAttr(java.lang.String attr,
float val)
setAttr
private void setAttr(java.lang.String attr,
int val)
setAttr
private void setAttr(java.lang.String attr,
javax.vecmath.Tuple3f pt)
outputCylinder
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)
- Specified by:
outputCylinder in class __CartesianExporter
getRotation
protected static void getRotation(javax.vecmath.Vector3f v,
javax.vecmath.Vector3f rot)
outputSphere
protected void outputSphere(javax.vecmath.Point3f pt,
float radius,
short colix)
- Specified by:
outputSphere in class __CartesianExporter
drawTextPixel
void drawTextPixel(int argb,
int x,
int y,
int z)
- Overrides:
drawTextPixel in class __CartesianExporter
outputTextPixel
protected void outputTextPixel(javax.vecmath.Point3f pt,
int argb)
- Specified by:
outputTextPixel in class __CartesianExporter
outputSurface
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)
- Specified by:
outputSurface in class ___Exporter
outputTriangle
protected void outputTriangle(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
javax.vecmath.Point3f pt3,
short colix)
- Specified by:
outputTriangle in class __CartesianExporter
outputCircle
protected void outputCircle(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
float radius,
short colix,
boolean doFill)
- Specified by:
outputCircle in class __CartesianExporter
outputCone
protected void outputCone(javax.vecmath.Point3f ptBase,
javax.vecmath.Point3f ptTip,
float radius,
short colix)
- Specified by:
outputCone in class __CartesianExporter
outputEllipsoid
protected void outputEllipsoid(javax.vecmath.Point3f center,
javax.vecmath.Point3f[] points,
short colix)
- Specified by:
outputEllipsoid in class __CartesianExporter
outputFace
protected void outputFace(int[] is,
int[] coordMap,
int faceVertexMax)
- Specified by:
outputFace in class __CartesianExporter
output
protected void output(javax.vecmath.Tuple3f pt)
- Specified by:
output in class ___Exporter