public abstract class FontLineShapeRenderer extends ShapeRenderer
Modifier and Type | Field and Description |
---|---|
protected boolean |
asLineOnly |
protected Point3fi |
atomA |
protected Point3fi |
atomB |
protected short |
colixA |
protected short |
colixB |
protected int[] |
dashDots |
protected static int[] |
dashes |
protected boolean |
dotsOrDashes |
protected boolean |
draw000 |
protected byte |
endcap |
protected javajs.awt.Font |
font3d |
protected static int[] |
fourdots |
protected static int[] |
hDashes |
protected float |
imageFontScaling |
protected static int[] |
ndots |
protected javajs.util.P3 |
pointT |
protected javajs.util.P3 |
pointT2 |
protected javajs.util.P3 |
pointT3 |
protected javajs.util.P3i |
pt0i |
protected javajs.util.P3i |
pt1i |
protected javajs.util.P3i |
pt2i |
protected javajs.util.P3i |
s1 |
protected javajs.util.P3i |
s2 |
protected static int[] |
sixdots |
protected TickInfo |
tickInfo |
protected static int[] |
twodots |
protected javajs.util.V3 |
vectorT |
protected javajs.util.V3 |
vectorT2 |
protected javajs.util.V3 |
vectorT3 |
protected int |
width |
colix, exportType, g3d, isExport, mad, madBeg, madEnd, madMid, ms, myVisibilityFlag, shape, shapeID, tm, vwr
Constructor and Description |
---|
FontLineShapeRenderer() |
Modifier and Type | Method and Description |
---|---|
protected void |
drawDashed(int xA,
int yA,
int zA,
int xB,
int yB,
int zB,
int[] array) |
protected int |
drawLine(int x1,
int y1,
int z1,
int x2,
int y2,
int z2,
int diameter) |
protected int |
drawLine2(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) |
protected void |
drawTicks(Point3fi pt1,
Point3fi pt2,
int diameter,
boolean withLabels) |
private void |
drawTicks2(Point3fi ptA,
Point3fi ptB,
float dx,
int length,
int diameter,
java.lang.String[] formats) |
protected void |
fillCylinder(short colixA,
short colixB,
byte endcaps,
int diameter,
int xA,
int yA,
int zA,
int xB,
int yB,
int zB) |
protected int |
getDiameter(int z,
int madOrPixels) |
protected void |
renderLine(javajs.util.P3 p0,
javajs.util.P3 p1,
int diameter,
javajs.util.P3i pt0,
javajs.util.P3i pt1,
boolean drawTicks) |
initRenderer, isVisibleForMe, render, renderShape, setViewerG3dShapeID
protected float imageFontScaling
protected Point3fi atomA
protected Point3fi atomB
protected javajs.awt.Font font3d
protected final javajs.util.P3i pt0i
protected final javajs.util.P3i pt1i
protected final javajs.util.P3i pt2i
protected final javajs.util.P3i s1
protected final javajs.util.P3i s2
protected final javajs.util.P3 pointT
protected final javajs.util.P3 pointT2
protected final javajs.util.P3 pointT3
protected final javajs.util.V3 vectorT
protected final javajs.util.V3 vectorT2
protected final javajs.util.V3 vectorT3
protected TickInfo tickInfo
protected boolean draw000
protected int width
protected byte endcap
protected static final int[] dashes
protected static final int[] hDashes
protected static final int[] ndots
protected static final int[] sixdots
protected static final int[] fourdots
protected static final int[] twodots
protected short colixA
protected short colixB
protected boolean dotsOrDashes
protected int[] dashDots
protected boolean asLineOnly
protected int getDiameter(int z, int madOrPixels)
protected void renderLine(javajs.util.P3 p0, javajs.util.P3 p1, int diameter, javajs.util.P3i pt0, javajs.util.P3i pt1, boolean drawTicks)
private void drawTicks2(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 int drawLine2(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)
protected void drawDashed(int xA, int yA, int zA, int xB, int yB, int zB, int[] array)
protected void fillCylinder(short colixA, short colixB, byte endcaps, int diameter, int xA, int yA, int zA, int xB, int yB, int zB)