org.jmol.export

Class _Exporter

public abstract class _Exporter extends Object implements JmolExportInterface

Field Summary
protected BufferedWriterbw
protected Point3fcenter
protected StringcommandLineOptions
protected static floatdegreesPerRadian
protected intdepthZ
protected StringfileName
protected Graphics3Dg3d
protected booleanisToFile
protected JmolRendererInterfacejmolRenderer
FileOutputStreamos
protected StringBufferoutput
protected intscreenHeight
protected intscreenWidth
protected intslabZ
protected AxisAngle4ftempA
protected Point3ftempP1
protected Point3ftempP2
protected Point3ftempP3
protected Vector3ftempV1
protected Vector3ftempV2
protected Vector3ftempV3
booleanuse2dBondOrderCalculation
protected Viewerviewer
Constructor Summary
_Exporter()
Method Summary
StringfinalizeOutput()
protected AxisAngle4fgetAxisAngle(Vector3f v)
protected StringgetExportDate()
protected Vector3fgetRotation(Vector3f v)
booleaninitializeOutput(Viewer viewer, Graphics3D g3d, Object output)
protected StringrgbFractionalFromArgb(int argb, char sep)
protected StringrgbFractionalFromColix(short colix, char sep)
protected StringrgbFromColix(short colix, char sep)
voidsetRenderer(JmolRendererInterface jmolRenderer)
protected StringtranslucencyFractionalFromColix(short colix)

Field Detail

bw

protected BufferedWriter bw

center

protected Point3f center

commandLineOptions

protected String commandLineOptions

degreesPerRadian

protected static final float degreesPerRadian

depthZ

protected int depthZ

fileName

protected String fileName

g3d

protected Graphics3D g3d

isToFile

protected boolean isToFile

jmolRenderer

protected JmolRendererInterface jmolRenderer

os

private FileOutputStream os

output

protected StringBuffer output

screenHeight

protected int screenHeight

screenWidth

protected int screenWidth

slabZ

protected int slabZ

tempA

protected AxisAngle4f tempA

tempP1

protected Point3f tempP1

tempP2

protected Point3f tempP2

tempP3

protected Point3f tempP3

tempV1

protected Vector3f tempV1

tempV2

protected Vector3f tempV2

tempV3

protected Vector3f tempV3

use2dBondOrderCalculation

boolean use2dBondOrderCalculation

viewer

protected Viewer viewer

Constructor Detail

_Exporter

public _Exporter()

Method Detail

finalizeOutput

public String finalizeOutput()

getAxisAngle

protected AxisAngle4f getAxisAngle(Vector3f v)

getExportDate

protected String getExportDate()

getRotation

protected Vector3f getRotation(Vector3f v)

initializeOutput

public boolean initializeOutput(Viewer viewer, Graphics3D g3d, Object output)

rgbFractionalFromArgb

protected String rgbFractionalFromArgb(int argb, char sep)

rgbFractionalFromColix

protected String rgbFractionalFromColix(short colix, char sep)

rgbFromColix

protected String rgbFromColix(short colix, char sep)

setRenderer

public void setRenderer(JmolRendererInterface jmolRenderer)

translucencyFractionalFromColix

protected String translucencyFractionalFromColix(short colix)