Open Inventor Reference
|
Element that stores the current pick style.
#include <Inventor/elements/SoPickStyleElement.h>
Public Types | |
enum | Style { SHAPE, BOUNDING_BOX, UNPICKABLE } |
These are the available pick styles: More... | |
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual void | print (FILE *fp) const |
Prints element (for debugging) | |
Static Public Member Functions | |
static void | set (SoState *state, Style style) |
Sets the current pick style in the state. | |
static void | set (SoState *state, SoNode *, Style style) |
static Style | get (SoState *state) |
Returns current pick style from the state. | |
static Style | getDefault () |
Returns the default pick style. | |
static void | initClass () |
Initializes the SoPickStyleElement class. | |
Protected Member Functions | |
virtual | ~SoPickStyleElement () |
Definition at line 69 of file SoPickStyleElement.h.
SHAPE |
Points on surface of shape may be picked. |
BOUNDING_BOX |
Points on bounding boxes may be picked. |
UNPICKABLE |
Picks go through objects. |
Definition at line 75 of file SoPickStyleElement.h.
virtual SoPickStyleElement::~SoPickStyleElement | ( | ) | [protected, virtual] |
Definition at line 94 of file SoPickStyleElement.h.
References SoInt32Element::get().
static Style SoPickStyleElement::getDefault | ( | ) | [inline, static] |
Definition at line 98 of file SoPickStyleElement.h.
static void SoPickStyleElement::initClass | ( | ) | [static] |
Reimplemented from SoInt32Element.
virtual void SoPickStyleElement::print | ( | FILE * | fp | ) | const [virtual] |
Reimplemented from SoInt32Element.
Definition at line 89 of file SoPickStyleElement.h.
Definition at line 85 of file SoPickStyleElement.h.
References SoInt32Element::set().