public class Axes extends FontLineShape
Modifier and Type | Field and Description |
---|---|
javajs.util.P3[] |
axisPoints
[x, y, z, -x, -y, -z] or [a, b, c, -a, -b, -c]
|
String |
axisType |
javajs.util.P3 |
axisXY |
(package private) javajs.util.V3 |
corner |
javajs.util.P3 |
fixedOrigin |
javajs.util.P3 |
fixedOriginUC |
String[] |
labels |
private static float |
MIN_AXIS_LEN |
javajs.util.P3 |
originPoint |
private javajs.util.P3 |
pt0 |
(package private) javajs.util.P3 |
ptTemp |
float |
scale |
font3d, tickInfos
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr
Constructor and Description |
---|
Axes() |
Modifier and Type | Method and Description |
---|---|
javajs.util.P3 |
getAxisPoint(int i,
boolean isDataFrame)
get actual point or 1/2 vector from origin to this point
|
Object |
getProperty(String property,
int index) |
void |
initShape() |
void |
reinitShape() |
void |
setProperty(String propertyName,
Object value,
BS bs) |
(package private) void |
setScale(float scale) |
getShapeState, setPropFLS
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, setPropS, setShapeSizeRD, setSize, setSizeRD, wasClicked
public javajs.util.P3 axisXY
public float scale
public javajs.util.P3 fixedOrigin
public final javajs.util.P3 originPoint
public final javajs.util.P3[] axisPoints
public String[] labels
public String axisType
private static final float MIN_AXIS_LEN
private final javajs.util.P3 pt0
public final javajs.util.P3 fixedOriginUC
final javajs.util.P3 ptTemp
javajs.util.V3 corner
public void setProperty(String propertyName, Object value, BS bs)
setProperty
in class Shape
public void initShape()
initShape
in class FontLineShape
public void reinitShape()
public javajs.util.P3 getAxisPoint(int i, boolean isDataFrame)
i
- isDataFrame
- public Object getProperty(String property, int index)
getProperty
in class Shape
void setScale(float scale)