de.grogra.gpuflux.scene.filter
Class ObjectFilter

java.lang.Object
  extended by de.grogra.persistence.ShareableBase
      extended by de.grogra.gpuflux.scene.filter.ObjectFilter
All Implemented Interfaces:
Manageable, Shareable
Direct Known Subclasses:
AllFilter, NoneFilter

public abstract class ObjectFilter
extends ShareableBase

Since:
2011.0824 The ObjectFilter interface filters objects while traversing the scene graph. For each object the filter method is called. The enter and leave callback methods are called when entering or leaving a subtree.
Author:
Dietger van Antwerpen

Field Summary
static Node.NType $TYPE
           
 
Constructor Summary
ObjectFilter()
           
 
Method Summary
abstract  void enter(java.lang.Object obj)
           
abstract  boolean filter(java.lang.Object obj)
           
abstract  void leave(java.lang.Object obj)
           
 
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.grogra.persistence.Manageable
getManageableType
 

Field Detail

$TYPE

public static final Node.NType $TYPE
Constructor Detail

ObjectFilter

public ObjectFilter()
Method Detail

enter

public abstract void enter(java.lang.Object obj)

filter

public abstract boolean filter(java.lang.Object obj)

leave

public abstract void leave(java.lang.Object obj)