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 booleanprotected shortprotected shortprotected int[]protected static final int[]protected booleanprotected booleanprotected byteprotected Fontprotected static final int[]protected static final int[]protected floatprotected static final int[]protected final P3protected final P3protected final P3protected P3protected final P3iprotected P3protected final P3iprotected static final int[]protected final P3iprotected final P3iprotected static final int[]protected P3protected P3protected P3protected P3protected TickInfoprotected static final int[]protected final V3protected final V3protected final V3protected intFields inherited from class org.jmol.render.ShapeRenderer
colix, exportType, flags, g3d, isExport, mad, ms, myVisibilityFlag, shape, shapeID, tm, vwr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected static voiddrawDashedCylinder(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 intdrawLine(int x1, int y1, int z1, int x2, int y2, int z2, int diameter) protected intdrawLine2(JmolRendererInterface g3d, int x1, int y1, int z1, int x2, int y2, int z2, int diameter) protected voiddrawString(int x, int y, int z, int radius, boolean rightJustify, boolean centerX, boolean centerY, int yRef, String sVal) protected voiddrawTicks(int diameter, boolean withLabels) protected static voidfillCylinder(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 intgetDiameter(int z, int mad10OrPixels) protected voidrenderLine(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 -
pymoldashes
protected static final int[] pymoldashes -
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)
-