abstract class FontLineShapeRenderer extends ShapeRenderer
Modifier and Type | Field and Description |
---|---|
protected Point3fi |
atomA |
protected Point3fi |
atomB |
protected Point3fi |
atomC |
protected Point3fi |
atomD |
protected boolean |
draw000 |
protected byte |
endcap |
protected Font3D |
font3d |
protected float |
imageFontScaling |
protected javax.vecmath.Point3f |
pointT |
protected javax.vecmath.Point3f |
pointT2 |
protected javax.vecmath.Point3f |
pointT3 |
protected javax.vecmath.Point3i |
pt0 |
protected javax.vecmath.Point3i |
pt1 |
protected javax.vecmath.Point3i |
pt2 |
protected TickInfo |
tickInfo |
protected javax.vecmath.Vector3f |
vectorT |
protected javax.vecmath.Vector3f |
vectorT2 |
protected javax.vecmath.Vector3f |
vectorT3 |
colix, exportType, g3d, isExport, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
Constructor and Description |
---|
FontLineShapeRenderer() |
Modifier and Type | Method and Description |
---|---|
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) |
initRenderer, render, render, setViewerG3dShapeID
protected float imageFontScaling
protected Point3fi atomA
protected Point3fi atomB
protected Point3fi atomC
protected Point3fi atomD
protected Font3D font3d
protected final javax.vecmath.Point3i pt0
protected final javax.vecmath.Point3i pt1
protected final javax.vecmath.Point3i pt2
protected final javax.vecmath.Point3f pointT
protected final javax.vecmath.Point3f pointT2
protected final javax.vecmath.Point3f pointT3
protected final javax.vecmath.Vector3f vectorT
protected final javax.vecmath.Vector3f vectorT2
protected final javax.vecmath.Vector3f vectorT3
protected TickInfo tickInfo
protected boolean draw000
protected byte endcap
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)
private void drawTicks(Point3fi ptA, Point3fi ptB, float dx, int length, int diameter, java.lang.String[] formats)
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)