org.jmol.export
Class _X3dExporter

java.lang.Object
  extended by org.jmol.export.___Exporter
      extended by org.jmol.export.__CartesianExporter
          extended by org.jmol.export._VrmlExporter
              extended by org.jmol.export._X3dExporter

public class _X3dExporter
extends _VrmlExporter


Field Summary
 
Fields inherited from class org.jmol.export._VrmlExporter
useTable
 
Fields inherited from class org.jmol.export.__CartesianExporter
viewpoint
 
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
 
Constructor Summary
_X3dExporter()
           
 
Method Summary
protected  void outputAppearance(short colix, boolean isText)
           
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)
           
private  void outputCylinderChild(javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, short colix, byte endcaps, float radius)
           
protected  void outputEllipsoid(javax.vecmath.Point3f center, javax.vecmath.Point3f[] points, short colix)
           
protected  void outputFooter()
           
protected  void outputHeader()
           
protected  void outputSphereChild(javax.vecmath.Point3f center, 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)
           
private  void outputTransRot(javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, int x, int y, int z)
           
protected  void outputTriangle(javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, javax.vecmath.Point3f pt3, short colix)
           
(package private)  void plotText(int x, int y, int z, short colix, java.lang.String text, Font3D font3d)
           
 
Methods inherited from class org.jmol.export._VrmlExporter
output, outputColorIndices, outputColors, outputFace, outputNormals, outputQuaternionFrame, outputSphere, outputTransRot
 
Methods inherited from class org.jmol.export.__CartesianExporter
drawAtom, drawCircle, drawCylinder, drawEllipse, drawPixel, drawTextPixel, fillConeScreen, fillCylinderScreen, fillCylinderScreenMad, fillEllipsoid, fillSphere, fillTriangle, getCameraPosition, getCoordinateMap, getModelCenter, getNormalMap, outputIndices, plotImage
 
Methods inherited from class org.jmol.export.___Exporter
drawFilledCircle, drawSurface, finalizeOutput, getColorList, getConeMesh, getExportDate, getJmolPerspective, getRotationMatrix, getRotationMatrix, initializeOutput, opacityFractionalFromArgb, opacityFractionalFromColix, output, outputComment, 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
 

Constructor Detail

_X3dExporter

public _X3dExporter()
Method Detail

outputHeader

protected void outputHeader()
Overrides:
outputHeader in class _VrmlExporter

outputFooter

protected void outputFooter()
Overrides:
outputFooter in class _VrmlExporter

outputAppearance

protected void outputAppearance(short colix,
                                boolean isText)
Overrides:
outputAppearance in class _VrmlExporter

outputTransRot

private void outputTransRot(javax.vecmath.Point3f pt1,
                            javax.vecmath.Point3f pt2,
                            int x,
                            int y,
                            int z)

outputCircle

protected void outputCircle(javax.vecmath.Point3f pt1,
                            javax.vecmath.Point3f pt2,
                            float radius,
                            short colix,
                            boolean doFill)
Overrides:
outputCircle in class _VrmlExporter

outputCone

protected void outputCone(javax.vecmath.Point3f ptBase,
                          javax.vecmath.Point3f ptTip,
                          float radius,
                          short colix)
Overrides:
outputCone in class _VrmlExporter

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)
Overrides:
outputCylinder in class _VrmlExporter

outputCylinderChild

private void outputCylinderChild(javax.vecmath.Point3f pt1,
                                 javax.vecmath.Point3f pt2,
                                 short colix,
                                 byte endcaps,
                                 float radius)

outputEllipsoid

protected void outputEllipsoid(javax.vecmath.Point3f center,
                               javax.vecmath.Point3f[] points,
                               short colix)
Overrides:
outputEllipsoid in class _VrmlExporter

outputSphereChild

protected void outputSphereChild(javax.vecmath.Point3f center,
                                 float radius,
                                 short colix)
Overrides:
outputSphereChild in class _VrmlExporter

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)
Overrides:
outputSurface in class _VrmlExporter

outputTriangle

protected void outputTriangle(javax.vecmath.Point3f pt1,
                              javax.vecmath.Point3f pt2,
                              javax.vecmath.Point3f pt3,
                              short colix)
Overrides:
outputTriangle in class _VrmlExporter

outputTextPixel

protected void outputTextPixel(javax.vecmath.Point3f pt,
                               int argb)
Overrides:
outputTextPixel in class _VrmlExporter

plotText

void plotText(int x,
              int y,
              int z,
              short colix,
              java.lang.String text,
              Font3D font3d)
Overrides:
plotText in class _VrmlExporter