Package org.jmol.render
Class FontLineShapeRenderer
java.lang.Object
org.jmol.render.ShapeRenderer
org.jmol.render.FontLineShapeRenderer
- Direct Known Subclasses:
CageRenderer
,LabelsRenderer
,SticksRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected short
protected short
protected int[]
protected static final int[]
protected boolean
protected boolean
protected byte
protected Font
protected static final int[]
protected static final int[]
protected float
protected static final int[]
protected final javajs.util.P3
protected final javajs.util.P3
protected final javajs.util.P3
protected javajs.util.P3
protected final javajs.util.P3i
protected javajs.util.P3
protected final javajs.util.P3i
protected final javajs.util.P3i
protected final javajs.util.P3i
protected static final int[]
protected javajs.util.P3
protected javajs.util.P3
protected javajs.util.P3
protected javajs.util.P3
protected TickInfo
protected static final int[]
protected final javajs.util.V3
protected final javajs.util.V3
protected final javajs.util.V3
protected int
Fields inherited from class org.jmol.render.ShapeRenderer
colix, exportType, g3d, isExport, mad, ms, myVisibilityFlag, shape, shapeID, tm, vwr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected static void
drawDashedCylinder
(JmolRendererInterface g3d, int xA, int yA, int zA, int xB, int yB, int zB, int[] array, int width, short colixA, short colixB, int renderD, boolean asLineOnly, javajs.util.P3i s1) protected int
drawLine
(int x1, int y1, int z1, int x2, int y2, int z2, int diameter) protected int
drawLine2
(JmolRendererInterface g3d, 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, String sVal) protected void
drawTicks
(int diameter, boolean withLabels) private void
drawTicks2
(float dx, int length, int diameter, String[] formats) protected static void
fillCylinder
(JmolRendererInterface g3d, short colixA, short colixB, byte endcaps, int xA, int yA, int zA, int xB, int yB, int zB, int diameter, boolean asLineOnly) protected int
getDiameter
(int z, int mad10OrPixels) protected void
renderLine
(javajs.util.P3 p0, javajs.util.P3 p1, int diameter, boolean drawTicks) Methods inherited from class org.jmol.render.ShapeRenderer
initRenderer, isVisibleForMe, render, renderShape, setup, setViewerG3dShapeID
-
Field Details
-
dashes
protected static final int[] dashes -
hDashes
protected static final int[] hDashes -
ndots
protected static final int[] ndots -
sixdots
protected static final int[] sixdots -
fourdots
protected static final int[] fourdots -
twodots
protected static final int[] twodots -
colixA
protected short colixA -
colixB
protected short colixB -
dotsOrDashes
protected boolean dotsOrDashes -
dashDots
protected int[] dashDots -
asLineOnly
protected boolean asLineOnly -
imageFontScaling
protected float imageFontScaling -
tickA
protected javajs.util.P3 tickA -
tickB
protected javajs.util.P3 tickB -
tickAs
protected javajs.util.P3 tickAs -
tickBs
protected javajs.util.P3 tickBs -
font3d
-
pt0i
protected final javajs.util.P3i pt0i -
pt2i
protected final javajs.util.P3i pt2i -
s1
protected final javajs.util.P3i s1 -
s2
protected final javajs.util.P3i s2 -
pointT
protected final javajs.util.P3 pointT -
pointT2
protected final javajs.util.P3 pointT2 -
pointT3
protected final javajs.util.P3 pointT3 -
vectorT
protected final javajs.util.V3 vectorT -
vectorT2
protected final javajs.util.V3 vectorT2 -
vectorT3
protected final javajs.util.V3 vectorT3 -
tickInfo
-
draw000
protected boolean draw000 -
width
protected int width -
endcap
protected byte endcap -
pt0
protected javajs.util.P3 pt0 -
pt1
protected javajs.util.P3 pt1
-
-
Constructor Details
-
FontLineShapeRenderer
public FontLineShapeRenderer()
-
-
Method Details
-
getDiameter
protected int getDiameter(int z, int mad10OrPixels) -
renderLine
protected void renderLine(javajs.util.P3 p0, javajs.util.P3 p1, int diameter, boolean drawTicks) -
checkTickTemps
protected void checkTickTemps() -
drawTicks
protected void drawTicks(int diameter, boolean withLabels) -
drawTicks2
-
drawLine
protected int drawLine(int x1, int y1, int z1, int x2, int y2, int z2, int diameter) -
drawLine2
protected int drawLine2(JmolRendererInterface g3d, 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, String sVal) -
drawDashedCylinder
protected static void drawDashedCylinder(JmolRendererInterface g3d, int xA, int yA, int zA, int xB, int yB, int zB, int[] array, int width, short colixA, short colixB, int renderD, boolean asLineOnly, javajs.util.P3i s1) -
fillCylinder
protected static void fillCylinder(JmolRendererInterface g3d, short colixA, short colixB, byte endcaps, int xA, int yA, int zA, int xB, int yB, int zB, int diameter, boolean asLineOnly)
-