de.grogra.imp3d.objects
public abstract class Axis extends AxisBase
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
protected float |
endPosition |
static Node.NType.Field |
endPosition$FIELD |
protected float |
length |
static Node.NType.Field |
length$FIELD |
protected float |
startPosition |
static Node.NType.Field |
startPosition$FIELD |
SCALE_V_MASK, scaleV$FIELD, USED_BITSINFINITE_MASK, interior, interior$FIELD, shader, shader$FIELD, treatedAsInfinite$FIELDtransform, transform$FIELD, TRANSFORMING_MASK, transforming$FIELDADDITIONAL_FIELDS, bits, DELETED, EXTENT_BIT, EXTENT_MASK, extentIndex$FIELD, extentTail$FIELD, HAS_OBSERVERS, IS_INTERPRETIVE, isInterpretive$FIELD, LAST_EXTENT_INDEX, layer$FIELD, MARK, mark$FIELD, MIME_TYPE, MIN_UNUSED_SPECIAL_OF_SOURCE, MIN_UNUSED_SPECIAL_OF_TARGET, name$FIELDDEFAULT_VALUE, EMPTY_MAP| Constructor and Description |
|---|
Axis() |
Axis(Transform3D transform) |
| Modifier and Type | Method and Description |
|---|---|
float |
getEndPosition() |
float |
getLength() |
protected float |
getPivotShift(java.lang.Object object,
boolean asNode,
GraphState gs) |
float |
getStartPosition() |
void |
postTransform(java.lang.Object object,
boolean asNode,
Matrix4d in,
Matrix4d out,
Matrix4d pre,
GraphState gs)
Implements the change from object's transformation
in
to the object's post-transformation out. |
void |
preTransform(java.lang.Object object,
boolean asNode,
Matrix4d in,
Matrix4d out,
GraphState gs)
Implements the change from the parent's post-transformation
in
to the object's transformation out. |
void |
setEndPoints(double xs,
double ys,
double zs,
double xe,
double ye,
double ze) |
void |
setEndPoints(Matrix4d coords,
Tuple3d target) |
void |
setEndPoints(Tuple3d start,
Tuple3d end) |
void |
setEndPosition(float value) |
void |
setLength(float value) |
void |
setStartPosition(float value) |
getInterior, getNTypeImpl, getShader, getSurfaceArea, getSymbolColor, getVolume, isTreatedAsInfinite, newInstance, setBackShader, setColor, setColor, setFrontShader, setInterior, setMaterial, setShader, setShaders, setTreatedAsInfinitegetLocalTransformation, getTransform, getTranslation, isTransforming, setRotation, setScale, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransforming, setTranslationaddEdgeBitsTo, addReference, appendBranchNode, appendBranchNode, appendReferencesTo, clone, clone, cloneGraph, dump, dumpTree, dup, dupUnmanagedFields, edgeChanged, fieldModified, findAdjacent, findRefinementType, get, getAccessor, getAccessor, getAttributes, getAxisParent, getBoolean, getBranch, getBranchLength, getBranchNode, getBranchTail, getByte, getChar, getCommonAncestor, getCurrentGraphState, getDirectChildCount, getDouble, getEdgeAttributeAccessor, getEdgeAttributes, getEdgeBitsTo, getEdgeTo, getExtentIndex, getFirst, getFirstEdge, getFloat, getGraph, getId, getIndex, getInstantiator, getInt, getLayer, getLong, getManageableType, getName, getNeighbor, getNext, getNType, getObject, getOrCreateEdgeTo, getOrNull, getPersistenceManager, getPredecessor, getProvider, getShort, getSource, getStamp, getSuccessor, getSymbol, getTarget, getTransaction, getUserField, getUserFieldCount, getXClass, getXData, hasName, initProvider, initXClass, insertBranchNode, insertBranchNode, instantiateGraph, isAncestorOf, isDirection, isEncoarseOf, isManagingInstance, isMarked, isRoot, isSource, isTarget, manageableReadResolve, manageableWriteReplace, paramString, removeAll, removeEdgeBitsTo, removeFromChain, removeFromChain, removeReference, setBranch, setBranch, setExtentIndex, setGraphForDeserialization, setLayer, setMark, setName, setSuccessor, setSuccessor, specialEdgeAdded, specialEdgeRefModified, specialEdgeRemoved, toString, writeReplaceaddEdgeBits, getBitMark, getEdgeBits, getObjectMark, getSpecialEdgeDescriptor, parseEdgeKeys, remove, removeEdgeBits, setBitMark, setEdgeBits, setObjectMark, testEdgeBitsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBitMark, getObjectMark, setBitMark, setObjectMarkpublic static final Node.NType $TYPE
protected float endPosition
public static final Node.NType.Field endPosition$FIELD
protected float length
public static final Node.NType.Field length$FIELD
protected float startPosition
public static final Node.NType.Field startPosition$FIELD
public Axis()
public Axis(Transform3D transform)
public float getEndPosition()
public float getLength()
protected float getPivotShift(java.lang.Object object,
boolean asNode,
GraphState gs)
public float getStartPosition()
public void postTransform(java.lang.Object object,
boolean asNode,
Matrix4d in,
Matrix4d out,
Matrix4d pre,
GraphState gs)
Transformationin
to the object's post-transformation out.postTransform in interface TransformationpostTransform in class Nullobject - the object for which the transformation is computedasNode - is object a node or an edge?in - the transformation of the objectout - the post-tranformation of the object to be computedpre - the post-transformation of the object's parentgs - the graph state in which the computation has to be donepublic void preTransform(java.lang.Object object,
boolean asNode,
Matrix4d in,
Matrix4d out,
GraphState gs)
Transformationin
to the object's transformation out.preTransform in interface TransformationpreTransform in class Nullobject - the object for which the transformation is computedasNode - is object a node or an edge?in - the post-transformation of the object's parentout - the tranformation of the object to be computedgs - the graph state in which the computation has to be donepublic void setEndPoints(double xs,
double ys,
double zs,
double xe,
double ye,
double ze)
public void setEndPosition(float value)
public void setLength(float value)
public void setStartPosition(float value)