de.jreality.scene.event
Class TransformationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by de.jreality.scene.event.SceneEvent
          extended by de.jreality.scene.event.TransformationEvent
All Implemented Interfaces:
Serializable

public class TransformationEvent
extends SceneEvent

Author:
holger
See Also:
Serialized Form

Constructor Summary
TransformationEvent(Transformation source)
          Constructor for TransformationEvent.
 
Method Summary
 void getMatrix(double[] target)
          Returns the matrix in the provided target array.
 Transformation getTransformation()
          Returns the sourceTransformation.
 double[] getTransformationMatrix()
           
 
Methods inherited from class de.jreality.scene.event.SceneEvent
getSourceNode
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransformationEvent

public TransformationEvent(Transformation source)
Constructor for TransformationEvent.

Parameters:
transformation -
Method Detail

getTransformation

public Transformation getTransformation()
Returns the sourceTransformation.

Returns:
Transformation

getTransformationMatrix

public double[] getTransformationMatrix()

getMatrix

public void getMatrix(double[] target)
Returns the matrix in the provided target array.

Parameters:
target - an array with at least 16 entries