de.grogra.imp3d.objects
public final class GlobalTransformation extends ObjectTreeAttribute<Matrix34dPair>
ObjectAttribute.IdentityAccessor| Modifier and Type | Field and Description |
|---|---|
static GlobalTransformation |
ATTRIBUTE |
ATTRIBUTE_0, attrType, quantityACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOn(Attribute[] a) |
protected Matrix34dPair |
derive(java.lang.Object object,
boolean asNode,
Matrix34dPair parentValue,
Matrix34dPair placeIn,
GraphState gs) |
static Matrix34d |
get(java.lang.Object object,
boolean asNode,
GraphState gs,
boolean post)
Returns the global coordinate system of
object. |
protected Matrix34dPair |
getInitialValue(GraphState gs) |
static Matrix34d |
getParentValue(java.lang.Object object,
boolean asNode,
GraphState gs,
boolean post)
Returns the global coordinate system of the parent of
object. |
getDerived, getParentAttribute, getParentValue, isDerivedget, set, setDerived, setObject, setSubfield, toType, valueOfcompareTo, find, forName, getAttributeState, getDescription, getId, getKey, getQuantity, getSimpleName, getType, hashCode, initializeI18N, initializeName, isContained, isWritable, setAttributeState, toArray, toStringpublic static final GlobalTransformation ATTRIBUTE
public boolean dependsOn(Attribute[] a)
dependsOn in class ObjectTreeAttribute<Matrix34dPair>protected Matrix34dPair derive(java.lang.Object object, boolean asNode, Matrix34dPair parentValue, Matrix34dPair placeIn, GraphState gs)
derive in class ObjectTreeAttribute<Matrix34dPair>public static Matrix34d get(java.lang.Object object, boolean asNode, GraphState gs, boolean post)
object.
If post is true, the coordinate system
behind the object is returned, which is the basis for the coordinate
system of children, otherwise the method returns the coordinate system
in which the shape of the object is defined.
The returned matrix must not be modified.
object - an object in the scene graphasNode - is object a node or an edge?gs - the current graph statepost - include the post-transformation (behind the object)?protected Matrix34dPair getInitialValue(GraphState gs)
getInitialValue in class ObjectTreeAttribute<Matrix34dPair>public static Matrix34d getParentValue(java.lang.Object object, boolean asNode, GraphState gs, boolean post)
object.
If post is true, the coordinate system
behind the parent is returned, which is the basis for the coordinate
system of object, otherwise the method returns the coordinate system
in which the shape of the parent is defined.
The returned matrix must not be modified.
object - an object in the scene graphasNode - is object a node or an edge?gs - the current graph statepost - include the post-transformation (behind the parent)?