public static class B3DModel.Node<K extends B3DModel.IKind<K>>
extends java.lang.Object
Constructor and Description |
---|
Node(java.lang.String name,
javax.vecmath.Vector3f pos,
javax.vecmath.Vector3f scale,
javax.vecmath.Quat4f rot,
java.util.List<B3DModel.Node<?>> nodes,
K kind) |
Modifier and Type | Method and Description |
---|---|
static <K extends B3DModel.IKind<K>> |
create(java.lang.String name,
javax.vecmath.Vector3f pos,
javax.vecmath.Vector3f scale,
javax.vecmath.Quat4f rot,
java.util.List<B3DModel.Node<?>> nodes,
K kind) |
B3DModel.Animation |
getAnimation() |
K |
getKind() |
java.lang.String |
getName() |
com.google.common.collect.ImmutableMap<java.lang.String,B3DModel.Node<?>> |
getNodes() |
B3DModel.Node<? extends B3DModel.IKind<?>> |
getParent() |
javax.vecmath.Vector3f |
getPos() |
javax.vecmath.Quat4f |
getRot() |
javax.vecmath.Vector3f |
getScale() |
void |
setAnimation(B3DModel.Animation animation) |
void |
setAnimation(org.apache.commons.lang3.tuple.Triple<java.lang.Integer,java.lang.Integer,java.lang.Float> animData,
com.google.common.collect.Table<java.lang.Integer,java.util.Optional<B3DModel.Node<?>>,B3DModel.Key> keyData) |
void |
setParent(B3DModel.Node<? extends B3DModel.IKind<?>> parent) |
java.lang.String |
toString() |
public Node(java.lang.String name, javax.vecmath.Vector3f pos, javax.vecmath.Vector3f scale, javax.vecmath.Quat4f rot, java.util.List<B3DModel.Node<?>> nodes, K kind)
public static <K extends B3DModel.IKind<K>> B3DModel.Node<K> create(java.lang.String name, javax.vecmath.Vector3f pos, javax.vecmath.Vector3f scale, javax.vecmath.Quat4f rot, java.util.List<B3DModel.Node<?>> nodes, K kind)
public void setAnimation(B3DModel.Animation animation)
public void setAnimation(org.apache.commons.lang3.tuple.Triple<java.lang.Integer,java.lang.Integer,java.lang.Float> animData, com.google.common.collect.Table<java.lang.Integer,java.util.Optional<B3DModel.Node<?>>,B3DModel.Key> keyData)
public java.lang.String getName()
public K getKind()
public javax.vecmath.Vector3f getPos()
public javax.vecmath.Vector3f getScale()
public javax.vecmath.Quat4f getRot()
public com.google.common.collect.ImmutableMap<java.lang.String,B3DModel.Node<?>> getNodes()
@Nullable public B3DModel.Animation getAnimation()
@Nullable public B3DModel.Node<? extends B3DModel.IKind<?>> getParent()
public void setParent(B3DModel.Node<? extends B3DModel.IKind<?>> parent)
public java.lang.String toString()
toString
in class java.lang.Object