de.jreality.scene.event
Class GeometryEvent
java.lang.Object
java.util.EventObject
de.jreality.scene.event.SceneEvent
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
GeometryEvent
public GeometryEvent(Geometry source,
Set<Attribute> chgVertexAttrKeys,
Set<Attribute> chgEdgeAttrKeys,
Set<Attribute> chgFaceAttrKeys,
Set<String> chgGeomAttrKeys)
- Parameters:
source
-
getChangedVertexAttributes
public Set<Attribute> getChangedVertexAttributes()
getChangedEdgeAttributes
public Set<Attribute> getChangedEdgeAttributes()
getChangedFaceAttributes
public Set<Attribute> getChangedFaceAttributes()
getChangedGeometryAttributes
public Set<String> getChangedGeometryAttributes()
getGeometry
public Geometry getGeometry()