org.jmol.g3d
class Cylinder3D extends Object
Draws shaded cylinders in 3D.
Cylinders are used to draw bonds.
Field Summary | |
---|---|
int | argbEndcap |
short | colixA |
short | colixB |
short | colixEndcap |
float | cosPhi |
float | cosTheta |
int | diameter |
boolean | drawBackside |
int | dxB |
float | dxBf |
int | dyB |
float | dyBf |
int | dzB |
float | dzBf |
byte | endcaps |
int[] | fp8IntensityUp |
Graphics3D | g3d |
int | intensityEndcap |
boolean | isScreenedA |
boolean | isScreenedB |
Line3D | line3d |
boolean | notClipped |
float | radius |
float | radius2 |
int | rasterCount |
int[] | shadesA |
int[] | shadesB |
float | sinPhi |
boolean | tEndcapOpen |
boolean | tEvenDiameter |
float[] | tRaster |
float[] | txRaster |
float[] | tyRaster |
float[] | tzRaster |
int | xA |
float | xAf |
int | xEndcap |
int | xMax |
int | xMin |
int[] | xRaster |
float | xTip |
int | yA |
float | yAf |
int | yEndcap |
int | yMax |
int | yMin |
int[] | yRaster |
float | yTip |
int | zA |
float | zAf |
int | zEndcap |
int[] | zRaster |
int | zShift |
float | zTip |
int | zXMax |
int | zXMin |
Constructor Summary | |
---|---|
Cylinder3D(Graphics3D g3d) |
Method Summary | |
---|---|
int | allocRaster(boolean isPrecision) |
void | calcArgbEndcap(boolean tCylinder, boolean isFloat) |
void | calcRotatedPoint(float t, int i, boolean isPrecision) |
void | findMinMaxX(int y) |
void | findMinMaxY() |
void | generateBaseEllipse() |
void | generateBaseEllipsePrecisely() |
void | interpolate(int iLower, int iUpper) |
void | interpolatePrecisely(int iLower, int iUpper) |
void | plotRaster(int i) |
void | plotRasterBits(int i) |
void | plotRasterCone(int i, boolean doFill) |
int[] | realloc(int[] a) |
float[] | realloc(float[] a) |
void | render(short colixA, short colixB, boolean isScreenedA, boolean isScreenedB, byte endcaps, int diameter, int xA, int yA, int zA, int xB, int yB, int zB) |
void | renderBits(short colixA, short colixB, boolean isScreenedA, boolean isScreenedB, byte endcaps, int diameter, float xA, float yA, float zA, float xB, float yB, float zB) |
void | renderCone(short colix, boolean isScreened, byte endcap, int diameter, float xA, float yA, float zA, float xTip, float yTip, float zTip, boolean doFill) |
void | renderFlatEndcap(boolean tCylinder) |
void | renderFlatEndcapPrecisely(boolean tCylinder) |
void | renderSphericalEndcaps() |