vrml.eai.field
Class EventOutSFMatrix4f

java.lang.Object
  extended by vrml.eai.field.BaseField
      extended by vrml.eai.field.EventOut
          extended by vrml.eai.field.EventOutSFMatrix4f

public abstract class EventOutSFMatrix4f
extends EventOut

Reference to a SFMatrix4f event-out slot. Use this class to read values from SFMatrix4f event-out slots.


Field Summary
 
Fields inherited from class vrml.eai.field.BaseField
MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, MFVec3f, SFBool, SFColor, SFFloat, SFImage, SFInt32, SFMatrix4f, SFNode, SFRotation, SFString, SFTime, SFVec2f, SFVec3f
 
Constructor Summary
protected EventOutSFMatrix4f()
          Default Constructor.
 
Method Summary
abstract  float[] getValue()
          Returns the current value of the SFMatrix4f event-out slot.
abstract  void getValue(float[] value)
          Returns the current value of the SFMatrix4f event-out slot.
 
Methods inherited from class vrml.eai.field.EventOut
addVrmlEventListener, getUserData, removeVrmlEventListener, setUserData
 
Methods inherited from class vrml.eai.field.BaseField
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventOutSFMatrix4f

protected EventOutSFMatrix4f()
Default Constructor. This method is protected, i.e. you cannot create new instances of this class. The only way to get instances is via the Node.getEventOut(java.lang.String) method.

Method Detail

getValue

public abstract float[] getValue()
Returns the current value of the SFMatrix4f event-out slot.

Returns:
The vector as an array of 16 float elements.

getValue

public abstract void getValue(float[] value)
                       throws java.lang.ArrayIndexOutOfBoundsException
Returns the current value of the SFMatrix4f event-out slot.

Parameters:
value - An array of at least 16 float elements that gets filled with the components of the vector.
Throws:
java.lang.ArrayIndexOutOfBoundsException - when the value array has less then three elements.