Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoExtSelection::PreFilterEventArg Struct Reference

Structure given to callback when an event is raised. More...

#include <Inventor/nodes/SoExtSelection.h>

+ Inheritance diagram for SoExtSelection::PreFilterEventArg:

Public Member Functions

 PreFilterEventArg (SoPath *path, SoExtSelection *source)
 constructor
 
 ~PreFilterEventArg ()
 Destructor.
 
SoExtSelectiongetSource () const
 Returns the ExtSelection.
 
const SoNodegetNode () const
 Returns node that will be traversed just after event is called.
 
const SoPathgetPath () const
 Returns path to node that will be traversed just after event is called.
 
void skipNode ()
 Don't traverse the node returned by getNode().
 
SbBool isNodeSkipped () const
 Returns if node must be skipped for traversal.
 

Detailed Description

Structure given to callback when an event is raised.

Please refer to onPreFilter event.

Definition at line 521 of file SoExtSelection.h.

Constructor & Destructor Documentation

◆ PreFilterEventArg()

SoExtSelection::PreFilterEventArg::PreFilterEventArg ( SoPath path,
SoExtSelection source 
)
inline

constructor

Definition at line 525 of file SoExtSelection.h.

◆ ~PreFilterEventArg()

SoExtSelection::PreFilterEventArg::~PreFilterEventArg ( )
inline

Destructor.

Definition at line 530 of file SoExtSelection.h.

Member Function Documentation

◆ getNode()

const SoNode * SoExtSelection::PreFilterEventArg::getNode ( ) const
inline

Returns node that will be traversed just after event is called.

This is equivalent to calling getPath()->getTail()

Definition at line 537 of file SoExtSelection.h.

◆ getPath()

const SoPath * SoExtSelection::PreFilterEventArg::getPath ( ) const
inline

Returns path to node that will be traversed just after event is called.

Definition at line 540 of file SoExtSelection.h.

◆ getSource()

SoExtSelection * SoExtSelection::PreFilterEventArg::getSource ( ) const
inline

Returns the ExtSelection.

Definition at line 533 of file SoExtSelection.h.

◆ isNodeSkipped()

SbBool SoExtSelection::PreFilterEventArg::isNodeSkipped ( ) const
inline

Returns if node must be skipped for traversal.

Definition at line 546 of file SoExtSelection.h.

◆ skipNode()

void SoExtSelection::PreFilterEventArg::skipNode ( )
inline

Don't traverse the node returned by getNode().

Definition at line 543 of file SoExtSelection.h.


The documentation for this struct was generated from the following file: