Logo Search packages:      
Sourcecode: jmol version File versions  Download package

Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Package Functions | Package Attributes | Private Member Functions | Private Attributes

org::jmol::export::_MayaExporter Class Reference

Inheritance diagram for org::jmol::export::_MayaExporter:
Inheritance graph
Collaboration diagram for org::jmol::export::_MayaExporter:
Collaboration graph

List of all members.

Public Attributes

short lineWidthMad

Protected Member Functions

void fillTriangle (short colix, Point3f ptA, Point3f ptB, Point3f ptC, boolean twoSided)
Point3f getCameraPosition ()
List getColorList (int i00, short[] colixes, int nVertices, BitSet bsSelected, Hashtable htColixes)
int getCoordinateMap (Point3f[] vertices, int[] coordMap)
String getJmolPerspective ()
Point3f getModelCenter ()
int[] getNormalMap (Vector3f[] normals, int nNormals, List vNormals)
Matrix3f getRotationMatrix (Point3f pt1, Point3f pt2, float radius)
Matrix3f getRotationMatrix (Point3f pt1, Point3f ptZ, float radius, Point3f ptX, Point3f ptY)
void output (String data)
void output (Tuple3f pt)
void outputCircle (Point3f pt1, Point3f pt2, float radius, short colix, boolean doFill)
void outputComment (String comment)
void outputCone (Point3f ptBase, Point3f ptTip, float radius, short colix)
boolean outputCylinder (Point3f ptCenter, Point3f pt1, Point3f pt2, short colix, byte endcaps, float radius, Point3f ptX, Point3f ptY)
void outputEllipsoid (Point3f center, Point3f[] points, short colix)
void outputFace (int[] is, int[] coordMap, int faceVertexMax)
void outputFooter ()
void outputHeader ()
void outputIndices (int[][] indices, int[] map, int nPolygons, BitSet bsFaces, int faceVertexMax)
void outputJmolPerspective ()
void outputSphere (Point3f pt, float radius, short colix)
void outputSurface (Point3f[] vertices, Vector3f[] normals, short[] colixes, int[][] indices, short[] polygonColixes, int nVertices, int nPolygons, int nFaces, BitSet bsFaces, int faceVertexMax, short colix, List colorList, Hashtable htColixes, Point3f offset)
void outputTextPixel (Point3f pt, int argb)
void outputTriangle (Point3f pt1, Point3f pt2, Point3f pt3, short colix)
void outputVertex (Point3f pt, Point3f offset)
void outputVertices (Point3f[] vertices, int nVertices, Point3f offset)
String rgbFractionalFromColix (short colix, char sep)

Static Protected Member Functions

static MeshSurface getConeMesh (Point3f centerBase, Matrix3f matRotateScale, short colix)
static String getExportDate ()
static void getRotation (Vector3f v, Vector3f rot)
static String opacityFractionalFromArgb (int argb)
static String opacityFractionalFromColix (short colix)
static String rgbFractionalFromArgb (int argb, char sep)
static String round (double number)
static String round (Tuple3f pt)
static void setTempVertex (Point3f pt, Point3f offset, Point3f ptTemp)
static String translucencyFractionalFromColix (short colix)

Protected Attributes

float aperatureAngle
short backgroundColix
BufferedWriter bw
float cameraDistance
Point3f cameraPosition
final Point3f center = new Point3f()
String commandLineOptions
String commentChar
int depthZ
String fileName
Point3f fixedRotationCenter
Graphics3D g3d
boolean isToFile
JmolRendererInterface jmolRenderer
Point3f lightSource = Graphics3D.getLightSource()
int nBytes
StringBuffer output
Point3f referenceCenter
float scalePixelsPerAngstrom
int screenHeight
int screenWidth
int slabZ
final AxisAngle4f tempA = new AxisAngle4f()
final Point3f tempP1 = new Point3f()
final Point3f tempP2 = new Point3f()
final Point3f tempP3 = new Point3f()
final Vector3f tempV1 = new Vector3f()
final Vector3f tempV2 = new Vector3f()
final Vector3f tempV3 = new Vector3f()
Viewer viewer
AxisAngle4f viewpoint = new AxisAngle4f()

Static Protected Attributes

final static float degreesPerRadian = (float) (180 / Math.PI)

Package Functions

void drawAtom (Atom atom)
void drawCircle (int x, int y, int z, int diameter, short colix, boolean doFill)
void drawCylinder (Point3f ptA, Point3f ptB, short colix1, short colix2, byte endcaps, int mad, int bondOrder)
boolean drawEllipse (Point3f ptCenter, Point3f ptX, Point3f ptY, short colix, boolean doFill)
void drawFilledCircle (short colixRing, short colixFill, int diameter, int x, int y, int z)
void drawPixel (short colix, int x, int y, int z, int scale)
void drawSurface (int nVertices, int nPolygons, int faceVertexMax, Point3f[] vertices, Vector3f[] normals, short[] colixes, int[][] indices, short[] polygonColixes, BitSet bsFaces, short colix, Point3f offset)
void drawTextPixel (int argb, int x, int y, int z)
void fillConeScreen (short colix, byte endcap, int screenDiameter, Point3f screenBase, Point3f screenTip)
void fillCylinderScreen (short colix, byte endcaps, int screenDiameter, Point3f screenA, Point3f screenB)
void fillCylinderScreenMad (short colix, byte endcaps, int mad, Point3f screenA, Point3f screenB)
void fillEllipsoid (Point3f center, Point3f[] points, short colix, int x, int y, int z, int diameter, Matrix3f toEllipsoidal, double[] coef, Matrix4f deriv, Point3i[] octantPoints)
void fillSphere (short colix, int diameter, Point3f pt)
String finalizeOutput ()
boolean initializeOutput (Viewer viewer, Graphics3D g3d, Object output)
void plotImage (int x, int y, int z, Image image, short bgcolix, int width, int height)
void plotText (int x, int y, int z, short colix, String text, Font3D font3d)
void setRenderer (JmolRendererInterface jmolRenderer)

Package Attributes

int exportType

Private Member Functions

void addAttr ()
void addConnect ()
void setAttr (String attr, int val)
void setAttr (String attr, float val)
void setAttr (String attr, Tuple3f pt)

Private Attributes

String id
String name
int nBalls = 0
int nCyl = 0

Detailed Description

Definition at line 37 of file _MayaExporter.java.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index