Package org.jmol.render
Class FontLineShapeRenderer
java.lang.Object
org.jmol.render.ShapeRenderer
org.jmol.render.FontLineShapeRenderer
- Direct Known Subclasses:
AxesRenderer
,BbcageRenderer
,LabelsRenderer
,SticksRenderer
,UccageRenderer
-
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 P3
protected final P3
protected final P3
protected P3
protected final P3i
protected P3
protected final P3i
protected final P3i
protected final P3i
protected static final int[]
protected P3
protected P3
protected P3
protected P3
protected TickInfo
protected static final int[]
protected final V3
protected final V3
protected final 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, 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) 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
(P3 p0, 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
-
tickB
-
tickAs
-
tickBs
-
font3d
-
pt0i
-
pt2i
-
s1
-
s2
-
pointT
-
pointT2
-
pointT3
-
vectorT
-
vectorT2
-
vectorT3
-
tickInfo
-
draw000
protected boolean draw000 -
width
protected int width -
endcap
protected byte endcap -
pt0
-
pt1
-
-
Constructor Details
-
FontLineShapeRenderer
public FontLineShapeRenderer()
-
-
Method Details
-
getDiameter
protected int getDiameter(int z, int mad10OrPixels) -
renderLine
-
checkTickTemps
protected void checkTickTemps() -
drawTicks
protected void drawTicks(int diameter, boolean withLabels) -
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, 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)
-