org.web3d.vrml.nodes
Interface VRMLHAnimNodeType
- All Superinterfaces:
- FrameStateListener, VRMLNode, VRMLNodeType
- All Known Subinterfaces:
- VRMLHAnimHumanoidNodeType
- public interface VRMLHAnimNodeType
- extends VRMLNodeType
Denotes a node type that is part of the HAnim component.
The Hanim component is internally implemented using the abstract HAnim
system from the j3d.org Code Repository.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
|
Method Summary |
org.j3d.geom.hanim.HAnimObject |
getHAnimObject()
Get the HAnim implementation node. |
void |
setHAnimFactory(org.j3d.geom.hanim.HAnimFactory fac)
Set the current node factory to use. |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType |
addNodeListener, getFieldValue, getMetadataObject, getRefCount, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount |
| Methods inherited from interface org.web3d.vrml.lang.VRMLNode |
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion |
setHAnimFactory
public void setHAnimFactory(org.j3d.geom.hanim.HAnimFactory fac)
- Set the current node factory to use. If this is set again, replace the
current implementation node with a new one from this new instance. This
may be needed at times when the user makes a change that forces the old
way to be incompatible and thus needing a different implementation.
Nodes that have HAnim children, should recursively call this method on
the children.
- Parameters:
fac - The new factory instance to use
getHAnimObject
public org.j3d.geom.hanim.HAnimObject getHAnimObject()
- Get the HAnim implementation node. Since the HAnim class instance is not
the same as the basic geometry instance of the particular rendering API, we
need to fetch this higher-level construct so that the scene graph can be
constructed.
- Returns:
- The HAnimObject instance for this node
Copyright © 2001 - 2005 Web3D Consortium