|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.model.config.ArticulatedConfig.Node
public static class ArticulatedConfig.Node
A node within an Articulated model.
| Field Summary | |
|---|---|
ArticulatedConfig.Node[] |
children
The children of the node. |
Transform3D |
invRefTransform
The inverse of the reference space transform. |
String |
name
The name of the node. |
Transform3D |
transform
The initial transform of the node. |
| Constructor Summary | |
|---|---|
ArticulatedConfig.Node()
|
|
ArticulatedConfig.Node(String name,
Transform3D transform,
ArticulatedConfig.Node[] children)
|
|
| Method Summary | |
|---|---|
void |
getArticulatedNodes(GlContext ctx,
Scope scope,
IdentityHashMap<ArticulatedConfig.Node,Articulated.Node> onodes,
ArrayList<Articulated.Node> nnodes,
Transform3D parentWorldTransform,
Transform3D parentViewTransform)
(Re)creates the list of articulated nodes for this config. |
Box |
getBounds()
Returns the bounds of the node's geometry. |
void |
getNames(ArrayList<String> names)
Populates the supplied list with the names of all nodes. |
void |
getTextures(TreeSet<String> textures)
Populates the supplied set with the names of all textures. |
void |
getTextureTagPairs(TreeSet<ComparableTuple<String,String>> pairs)
Populates the supplied set with the names of all texture/tag pairs. |
void |
updateRefTransforms(Transform3D parentRefTransform)
Updates the nodes' reference transforms. |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String name
public Transform3D transform
public ArticulatedConfig.Node[] children
public transient Transform3D invRefTransform
| Constructor Detail |
|---|
public ArticulatedConfig.Node(String name,
Transform3D transform,
ArticulatedConfig.Node[] children)
public ArticulatedConfig.Node()
| Method Detail |
|---|
public void getNames(ArrayList<String> names)
public void getTextures(TreeSet<String> textures)
public void getTextureTagPairs(TreeSet<ComparableTuple<String,String>> pairs)
public Box getBounds()
public void updateRefTransforms(Transform3D parentRefTransform)
public void getArticulatedNodes(GlContext ctx,
Scope scope,
IdentityHashMap<ArticulatedConfig.Node,Articulated.Node> onodes,
ArrayList<Articulated.Node> nnodes,
Transform3D parentWorldTransform,
Transform3D parentViewTransform)
onodes - the existing nodes to reuse.nnodes - the list to contain the new nodes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||