de.grogra.imp3d.objects
public class Instance3D extends ShadedNull implements Instantiator
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
static Node.NType.Field |
exportedTransformation$FIELD |
static int |
LOCAL |
static int |
MASTER |
static int |
MIN_UNUSED_SPECIAL_OF_SOURCE |
static int |
TERMINAL |
static int |
TERMINAL_TRANSLATION |
INFINITE_MASK, interior, interior$FIELD, shader, shader$FIELD, treatedAsInfinite$FIELD, USED_BITStransform, 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_TARGET, name$FIELDDEFAULT_VALUE, EMPTY_MAP| Constructor and Description |
|---|
Instance3D() |
Instance3D(Transform3D transform) |
Instance3D(Transform3D transform,
Shader shader) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getEdgesToInstance() |
int |
getExportedTransformation() |
protected Node |
getInstanceRootSetAttributes(GraphState gs) |
Instantiator |
getInstantiator() |
protected Node.NType |
getNTypeImpl()
This method returns the
Node.NType which describes the managed
fields of the class of this node. |
boolean |
instantiate(ArrayPath path,
Visitor v) |
protected Node |
newInstance()
This method returns a new instance of the class of this
node.
|
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 |
setExportedTransformation(int value) |
getInterior, getShader, getSurfaceArea, getSymbolColor, getVolume, isTreatedAsInfinite, setBackShader, setColor, setColor, setFrontShader, setInterior, setMaterial, setShader, setShaders, setTreatedAsInfinitegetLocalTransformation, getTransform, getTranslation, isTransforming, preTransform, 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, 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
public static final Node.NType.Field exportedTransformation$FIELD
public static final int LOCAL
public static final int MASTER
public static final int MIN_UNUSED_SPECIAL_OF_SOURCE
public static final int TERMINAL
public static final int TERMINAL_TRANSLATION
public Instance3D()
public Instance3D(Transform3D transform)
public Instance3D(Transform3D transform, Shader shader)
protected int getEdgesToInstance()
public int getExportedTransformation()
protected Node getInstanceRootSetAttributes(GraphState gs)
public Instantiator getInstantiator()
getInstantiator in class Nodeprotected Node.NType getNTypeImpl()
NodeNode.NType which describes the managed
fields of the class of this node. This method has to be implemented
in every concrete subclass.getNTypeImpl in class ShadedNullpublic boolean instantiate(ArrayPath path, Visitor v)
instantiate in interface Instantiatorprotected Node newInstance()
NodenewInstance in class ShadedNullpublic 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 setExportedTransformation(int value)