jarp
Class MorphTarget

java.lang.Object
  extended by jarp.MorphTarget

public class MorphTarget
extends java.lang.Object

Definition of a morph-target, as an array of morph-sets, for a Java ARP avatar.


Constructor Summary
MorphTarget()
          Default constructor, with empty name.
MorphTarget(JAInputStream jins)
          Constructs this MorphTarget from the given stream.
MorphTarget(java.lang.String name)
          Default constructor with given name and an empty morph-set list.
 
Method Summary
 int getFourCCName()
          Returns the Four-CC name of this morph-target.
 MorphSet getMorphSet(int i)
          Returns the MorphSet with the given index.
 int getMorphSetCount()
          Returns the number of morph-sets for this morph-target.
 MorphSet[] getMorphSets()
          Returns the morph-sets array for this morph-target.
 void save(JAOutputStream jouts)
          Writes this MorphTarget to the given stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MorphTarget

public MorphTarget()
Default constructor, with empty name.


MorphTarget

public MorphTarget(java.lang.String name)
Default constructor with given name and an empty morph-set list.


MorphTarget

public MorphTarget(JAInputStream jins)
            throws java.io.IOException
Constructs this MorphTarget from the given stream.

Throws:
java.io.IOException
Method Detail

getFourCCName

public int getFourCCName()
Returns the Four-CC name of this morph-target.


getMorphSetCount

public int getMorphSetCount()
Returns the number of morph-sets for this morph-target.


getMorphSets

public MorphSet[] getMorphSets()
Returns the morph-sets array for this morph-target.


getMorphSet

public MorphSet getMorphSet(int i)
Returns the MorphSet with the given index.


save

public void save(JAOutputStream jouts)
          throws java.io.IOException
Writes this MorphTarget to the given stream.

Throws:
java.io.IOException