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:
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, Set<Attribute> chgVertexAttrKeys, Set<Attribute> chgEdgeAttrKeys, Set<Attribute> chgFaceAttrKeys, Set<String> chgGeomAttrKeys)
           
 
Method Summary
 Set<Attribute> getChangedEdgeAttributes()
           
 Set<Attribute> getChangedFaceAttributes()
           
 Set<String> getChangedGeometryAttributes()
           
 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,
                     Set<Attribute> chgVertexAttrKeys,
                     Set<Attribute> chgEdgeAttrKeys,
                     Set<Attribute> chgFaceAttrKeys,
                     Set<String> chgGeomAttrKeys)
Parameters:
source -
Method Detail

getChangedVertexAttributes

public Set<Attribute> getChangedVertexAttributes()

getChangedEdgeAttributes

public Set<Attribute> getChangedEdgeAttributes()

getChangedFaceAttributes

public Set<Attribute> getChangedFaceAttributes()

getChangedGeometryAttributes

public Set<String> getChangedGeometryAttributes()

getGeometry

public Geometry getGeometry()