jarp
Class MorphHandler

java.lang.Object
  extended by jarp.MorphHandler

public class MorphHandler
extends java.lang.Object

A handler for a collection of morph-targets for a Java ARP avatar.


Constructor Summary
MorphHandler()
          Constructs an empty morph-handler.
MorphHandler(JAInputStream jins)
          Constructs this MorphHandler using morph-target definitions from the given stream.
 
Method Summary
 MorphTarget getMorphTarget(int fourcc)
          Returns the morph-target with the given Four-CC name.
 int getSize()
          Returns the size of this handler's morph-target collection.
 void save(JAOutputStream jouts)
          Saves the data for this morph handler to the given stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MorphHandler

public MorphHandler()
Constructs an empty morph-handler.


MorphHandler

public MorphHandler(JAInputStream jins)
             throws java.io.IOException
Constructs this MorphHandler using morph-target definitions from the given stream.

Throws:
java.io.IOException
Method Detail

getSize

public int getSize()
Returns the size of this handler's morph-target collection.


getMorphTarget

public MorphTarget getMorphTarget(int fourcc)
Returns the morph-target with the given Four-CC name.


save

public void save(JAOutputStream jouts)
          throws java.io.IOException
Saves the data for this morph handler to the given stream.

Throws:
java.io.IOException