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::_VrmlExporter Class Reference

Inheritance diagram for org::jmol::export::_VrmlExporter:
Inheritance graph
Collaboration diagram for org::jmol::export::_VrmlExporter:
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 (Tuple3f pt)
void output (String data)
void outputAppearance (short colix, boolean isText)
void outputCircle (Point3f pt1, Point3f pt2, float radius, short colix, boolean doFill)
void outputColorIndices (int[][] indices, int nPolygons, BitSet bsFaces, int faceVertexMax, Hashtable htColixes, short[] colixes, short[] polygonColixes)
void outputColors (List colorList)
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 ptCenter, Point3f[] points, short colix)
void outputFace (int[] face, int[] map, int faceVertexMax)
void outputFooter ()
void outputHeader ()
void outputIndices (int[][] indices, int[] map, int nPolygons, BitSet bsFaces, int faceVertexMax)
void outputJmolPerspective ()
void outputNormals (List vNormals)
void outputQuaternionFrame (Point3f ptCenter, Point3f ptX, Point3f ptY, Point3f ptZ, float yScale, String pre, String post)
void outputSphere (Point3f ptCenter, float radius, short colix)
void outputSphereChild (Point3f ptCenter, 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 outputTransRot (Point3f pt1, Point3f pt2, int x, int y, int z, String pre, String post)
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 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()
UseTable useTable
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 outputCylinderChild (Point3f pt1, Point3f pt2, short colix, byte endcaps, float radius)
void outputTransRot (Point3f pt1, Point3f pt2, int x, int y, int z)

Private Attributes

Hashtable htSpheresRendered = new Hashtable()
Point3f tempQ1 = new Point3f()
Point3f tempQ2 = new Point3f()

Detailed Description

Definition at line 44 of file _VrmlExporter.java.

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

Generated by  Doxygen 1.6.0   Back to index