org.jmol.shape
Class FontLineShapeRenderer
java.lang.Object
org.jmol.shape.ShapeRenderer
org.jmol.shape.FontLineShapeRenderer
- Direct Known Subclasses:
- AxesRenderer, CageRenderer, MeasuresRenderer
abstract class FontLineShapeRenderer
- extends ShapeRenderer
Fields inherited from class org.jmol.shape.ShapeRenderer |
colix, exportType, g3d, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer |
Method Summary |
protected void |
clearBox()
|
protected int |
drawLine(int x1,
int y1,
int z1,
int x2,
int y2,
int z2,
int diameter)
|
protected void |
drawString(int x,
int y,
int z,
int radius,
boolean rightJustify,
boolean centerX,
boolean centerY,
int yRef,
java.lang.String sVal)
|
private void |
drawTicks(Point3fi ptA,
Point3fi ptB,
float dx,
int length,
int diameter,
java.lang.String[] formats)
|
protected void |
drawTicks(Point3fi pt1,
Point3fi pt2,
int diameter,
boolean withLabels)
|
protected int |
getDiameter(int z,
int madOrPixels)
|
protected void |
renderLine(javax.vecmath.Point3f p0,
javax.vecmath.Point3f p1,
int diameter,
javax.vecmath.Point3i pt0,
javax.vecmath.Point3i pt1,
boolean drawTicks)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
imageFontScaling
protected float imageFontScaling
atomA
protected Point3fi atomA
atomB
protected Point3fi atomB
atomC
protected Point3fi atomC
atomD
protected Point3fi atomD
font3d
protected Font3D font3d
pt0
protected final javax.vecmath.Point3i pt0
pt1
protected final javax.vecmath.Point3i pt1
pt2
protected final javax.vecmath.Point3i pt2
pointT
protected final javax.vecmath.Point3f pointT
pointT2
protected final javax.vecmath.Point3f pointT2
pointT3
protected final javax.vecmath.Point3f pointT3
vectorT
protected final javax.vecmath.Vector3f vectorT
vectorT2
protected final javax.vecmath.Vector3f vectorT2
vectorT3
protected final javax.vecmath.Vector3f vectorT3
box
final java.awt.Rectangle box
tickInfo
protected TickInfo tickInfo
draw000
protected boolean draw000
endcap
protected byte endcap
FontLineShapeRenderer
FontLineShapeRenderer()
clearBox
protected void clearBox()
getDiameter
protected int getDiameter(int z,
int madOrPixels)
renderLine
protected void renderLine(javax.vecmath.Point3f p0,
javax.vecmath.Point3f p1,
int diameter,
javax.vecmath.Point3i pt0,
javax.vecmath.Point3i pt1,
boolean drawTicks)
drawTicks
protected void drawTicks(Point3fi pt1,
Point3fi pt2,
int diameter,
boolean withLabels)
drawTicks
private void drawTicks(Point3fi ptA,
Point3fi ptB,
float dx,
int length,
int diameter,
java.lang.String[] formats)
drawLine
protected int drawLine(int x1,
int y1,
int z1,
int x2,
int y2,
int z2,
int diameter)
drawString
protected void drawString(int x,
int y,
int z,
int radius,
boolean rightJustify,
boolean centerX,
boolean centerY,
int yRef,
java.lang.String sVal)