Package com.openinventor.inventor.nodes
Class SoExtSelection.PreFilterEventArg
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.nodes.SoExtSelection.PreFilterEventArg
-
- All Implemented Interfaces:
SbEventArg
- Enclosing class:
- SoExtSelection
public static class SoExtSelection.PreFilterEventArg extends Inventor implements SbEventArg
Structure given to callback when an event is raised. Please refer toonPreFilter
event.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PreFilterEventArg(SoPath path, SoExtSelection source)
constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoNode
getNode()
Returns node that will be traversed just after event is called.SoPath
getPath()
Returns path to node that will be traversed just after event is called.SoExtSelection
getSource()
Returns the ExtSelection.boolean
isNodeSkipped()
Returns if node must be skipped for traversal.void
setValue(SoExtSelection.PreFilterEventArg copyFrom)
void
skipNode()
Don't traverse the node returned bygetNode()
.-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Constructor Detail
-
PreFilterEventArg
public PreFilterEventArg(SoPath path, SoExtSelection source)
constructor
-
-
Method Detail
-
getPath
public SoPath getPath()
Returns path to node that will be traversed just after event is called.
-
setValue
public void setValue(SoExtSelection.PreFilterEventArg copyFrom)
-
skipNode
public void skipNode()
Don't traverse the node returned bygetNode()
.
-
getNode
public SoNode getNode()
Returns node that will be traversed just after event is called. This is equivalent to callinggetPath()
->getTail()
-
isNodeSkipped
public boolean isNodeSkipped()
Returns if node must be skipped for traversal.
-
getSource
public SoExtSelection getSource()
Returns the ExtSelection.- Specified by:
getSource
in interfaceSbEventArg
-
-