Package org.jmol.shape
Class Axes
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.FontLineShape
org.jmol.shape.Axes
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal P3[]
[x, y, z, -x, -y, -z] or [a, b, c, -a, -b, -c]final P3
String[]
final P3
float
Fields inherited from class org.jmol.shape.FontLineShape
font3d, tickInfos
Fields inherited from class org.jmol.shape.Shape
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAxesState
(SB sb) getAxisPoint
(int i, boolean unscaled, P3 ptTemp) get actual point or 1/2 vector from origin to this pointgetProperty
(String property, int index) void
void
void
setPoints
(int axesMode) void
setProperty
(String propertyName, Object value, BS bs) Methods inherited from class org.jmol.shape.FontLineShape
getShapeState, setPropFLS
Methods inherited from class org.jmol.shape.Shape
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, checkObjectHovered, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColixA, getColixB, getColixI, getColorCommand, getColorCommandUnk, getFontCommand, getIndexFromName, getPropertyData, getPropShape, getShapeDetail, getSize, getSizeG, getTranslucentLabel, initializeShape, initModelSet, replaceGroup, setAtomClickability, setModelSet, setModelVisibilityFlags, setProperties, setPropS, setShapeSizeRD, setSize, setSizeRD, wasClicked
-
Field Details
-
axisXY
-
scale
public float scale -
fixedOrigin
-
originPoint
-
axisPoints
[x, y, z, -x, -y, -z] or [a, b, c, -a, -b, -c] -
labels
-
axisType
-
axes2
-
fixedOriginUC
-
-
Constructor Details
-
Axes
public Axes()
-
-
Method Details
-
setProperty
- Specified by:
setProperty
in classShape
-
initShape
public void initShape()- Overrides:
initShape
in classFontLineShape
-
setPoints
public void setPoints(int axesMode) -
reinitShape
public void reinitShape() -
getAxisPoint
get actual point or 1/2 vector from origin to this point- Parameters:
i
-unscaled
-ptTemp
-- Returns:
- actual point if not a data frame and not an XY request; otherwise return 1/2 vector along unit cell
-
getProperty
- Overrides:
getProperty
in classShape
- Parameters:
property
-index
-- Returns:
- true if serviced
-
getAxesState
-