55 #ifndef _SO_PICK_ACTION_
56 #define _SO_PICK_ACTION_
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ACTION_HEADER(className)
Macros to be called within the class definition header for an action subclass:
Class for representing a viewport.
Abstract base class for all actions.
Abstract base class for all database nodes.
Abstract base class for picking objects in a scene.
SbViewportRegion vpRegion
Current viewport region.
void setViewportRegion(const SbViewportRegion &newRegion)
Sets current viewport region to use for action.
virtual ~SoPickAction()
Destructor.
SoPickAction(const SbViewportRegion &viewportRegion)
Constructor takes viewport region.
bool isCullingEnabled() const
const SbViewportRegion & getViewportRegion() const
Returns current viewport region to use for action.
void enableCulling(bool flag)
Setting this flag to FALSE disables any pick culling that might take place (as in SoSeparators).
virtual void beginTraversal(SoNode *node)
Initiates action on graph.