de.jreality.scene.event
Class GeometryEvent

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

public class GeometryEvent
extends SceneEvent

The event object containing information about the changed geometry data. The event contains the attribute keys of changed geometry features. The key can be used to query the actual values from the source geometry.

Author:
pietsch
See Also:
Serialized Form

Constructor Summary
GeometryEvent(Geometry source, java.util.Set<Attribute> chgVertexAttrKeys, java.util.Set<Attribute> chgEdgeAttrKeys, java.util.Set<Attribute> chgFaceAttrKeys, java.util.Set<java.lang.String> chgGeomAttrKeys)
           
 
Method Summary
 java.util.Set<Attribute> getChangedEdgeAttributes()
           
 java.util.Set<Attribute> getChangedFaceAttributes()
           
 java.util.Set<java.lang.String> getChangedGeometryAttributes()
           
 java.util.Set<Attribute> getChangedVertexAttributes()
           
 Geometry getGeometry()
           
 
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

GeometryEvent

public GeometryEvent(Geometry source,
                     java.util.Set<Attribute> chgVertexAttrKeys,
                     java.util.Set<Attribute> chgEdgeAttrKeys,
                     java.util.Set<Attribute> chgFaceAttrKeys,
                     java.util.Set<java.lang.String> chgGeomAttrKeys)
Parameters:
source -
Method Detail

getChangedVertexAttributes

public java.util.Set<Attribute> getChangedVertexAttributes()

getChangedEdgeAttributes

public java.util.Set<Attribute> getChangedEdgeAttributes()

getChangedFaceAttributes

public java.util.Set<Attribute> getChangedFaceAttributes()

getChangedGeometryAttributes

public java.util.Set<java.lang.String> getChangedGeometryAttributes()

getGeometry

public Geometry getGeometry()