Open Inventor Reference
SoPickStyle Class Reference

Picking style node. More...

#include <Inventor/nodes/SoPickStyle.h>

Inheritance diagram for SoPickStyle:
SoNode SoFieldContainer SoBase

List of all members.

Public Types

enum  Style { SHAPE = SoPickStyleElement::SHAPE, BOUNDING_BOX = SoPickStyleElement::BOUNDING_BOX, UNPICKABLE = SoPickStyleElement::UNPICKABLE }
 Picking style: More...

Public Member Functions

 SoPickStyle ()
 Creates a pick style node with default settings.
virtual void doAction (SoAction *action)
 This method performs the "typical" operation of a node for any action.
virtual void callback (SoCallbackAction *action)
virtual void pick (SoPickAction *action)

Static Public Member Functions

static void initClass ()
 Initializes base node class.

Public Attributes

Fields
SoSFEnum style
 Picking style.

Protected Member Functions

virtual ~SoPickStyle ()

Detailed Description

This node determines how subsequent geometry nodes in the scene graph are to be picked, as indicated by the style field.

Note that this is the only way to change the pick behavior of shapes; drawing style, complexity, and other rendering-related properties have no effect on picking.

File Format/Default
PickStyle {
  style SHAPE
}
Action Behavior
SoRayPickAction, SoCallbackAction
Sets the current pick style in the state.
See Also
SoComplexity, SoDrawStyle, SoRayPickAction

Definition at line 96 of file SoPickStyle.h.


Member Enumeration Documentation

Enumerator:
SHAPE 
BOUNDING_BOX 
UNPICKABLE 

Definition at line 102 of file SoPickStyle.h.


Constructor & Destructor Documentation

SoPickStyle::SoPickStyle ( )
virtual SoPickStyle::~SoPickStyle ( ) [protected, virtual]

Member Function Documentation

virtual void SoPickStyle::callback ( SoCallbackAction action) [virtual]

Reimplemented from SoNode.

virtual void SoPickStyle::doAction ( SoAction action) [virtual]

The default implementation does nothing.

Reimplemented from SoNode.

static void SoPickStyle::initClass ( ) [static]

Reimplemented from SoNode.

virtual void SoPickStyle::pick ( SoPickAction action) [virtual]

Reimplemented from SoNode.


Member Data Documentation

Definition at line 112 of file SoPickStyle.h.


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