shout3d.hanim
Class Humanoid

java.lang.Object
  |
  +--shout3d.core.Node
        |
        +--shout3d.core.Group
              |
              +--shout3d.core.Transform
                    |
                    +--shout3d.hanim.Humanoid

public class Humanoid
extends Transform
implements FieldObserver

Humanoid. The Humanoid class extends Transform. However, all management of children is handled by the Transform based on the fields added here. Hence, the inherited children field should be treated as private. The children field is maintained to contain the superset of the humanoidBody and the viewpoints fields, and will be reinitialized to that superset whenever either of those fields change values. The children field should not be modified directly; use the humanoidBody field instead.


Field Summary
 FloatArrayField bboxCenter
           
 FloatArrayField bboxSize
           
static float[] defaultBBoxCenter
           
static float[] defaultBBoxSize
           
static Joint[] defaultHumanoidBody
           
static java.lang.String[] defaultInfo
           
static Joint[] defaultJoints
           
static java.lang.String defaultName
           
static Segment[] defaultSegments
           
static Site[] defaultSites
           
static java.lang.String defaultVersion
           
static Viewpoint[] defaultViewpoints
           
 NodeArrayField humanoidBody
           
 StringArrayField info
           
 NodeArrayField joints
           
 StringField name
           
 NodeArrayField segments
           
 NodeArrayField sites
           
 StringField version
           
 NodeArrayField viewpoints
           
 
Fields inherited from class shout3d.core.Transform
center, rotation, scale, scaleOrientation, translation
 
Fields inherited from class shout3d.core.Group
children, defaultChildArray, hidden
 
Constructor Summary
Humanoid()
           
 
Method Summary
 void onFieldChange(Field field, java.lang.Object data)
           
 
Methods inherited from class shout3d.core.Transform
getInverseMatrix, getMatrix
 
Methods inherited from class shout3d.core.Group
addChildren, getCameraBBoxMax, getCameraBBoxMin, getLocalBBoxMax, getLocalBBoxMin, getWorldBBoxMax, getWorldBBoxMin, removeChildren
 
Methods inherited from class shout3d.core.Node
cleanUp, getDEFName, getField, getFieldByIndex, getFieldName, getNumFields, getTypeName, getViewer, isOfType, setDEFName, setViewer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultBBoxCenter

public static final float[] defaultBBoxCenter

defaultBBoxSize

public static final float[] defaultBBoxSize

defaultHumanoidBody

public static final Joint[] defaultHumanoidBody

defaultInfo

public static final java.lang.String[] defaultInfo

defaultJoints

public static final Joint[] defaultJoints

defaultName

public static final java.lang.String defaultName

defaultSegments

public static final Segment[] defaultSegments

defaultSites

public static final Site[] defaultSites

defaultVersion

public static final java.lang.String defaultVersion

defaultViewpoints

public static final Viewpoint[] defaultViewpoints

bboxCenter

public final FloatArrayField bboxCenter

bboxSize

public final FloatArrayField bboxSize

humanoidBody

public final NodeArrayField humanoidBody

info

public final StringArrayField info

joints

public final NodeArrayField joints

name

public final StringField name

segments

public final NodeArrayField segments

sites

public final NodeArrayField sites

version

public final StringField version

viewpoints

public final NodeArrayField viewpoints
Constructor Detail

Humanoid

public Humanoid()
Method Detail

onFieldChange

public void onFieldChange(Field field,
                          java.lang.Object data)
Specified by:
onFieldChange in interface FieldObserver
Overrides:
onFieldChange in class Transform