Picking style node. More...
#include <Inventor/nodes/SoPickStyle.h>
Public Types | |
enum | Style { SHAPE = SoPickStyleElement::SHAPE, BOUNDING_BOX = SoPickStyleElement::BOUNDING_BOX, UNPICKABLE = SoPickStyleElement::UNPICKABLE } |
enum | Method { AUTO = SoPickMethodElement::AUTO, GPU = SoPickMethodElement::GPU, CPU = SoPickMethodElement::CPU } |
Public Member Functions | |
virtual SoType | getTypeId () const |
SoPickStyle () | |
virtual void | setOverride (const SbBool state) |
virtual SbBool | isOverride () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFEnum | style |
SoSFEnum | method |
Picking style node.
This node determines how subsequent geometry nodes in the scene graph are to be picked, as indicated by the style and method fields.
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.
style | SHAPE |
SoComplexity, SoDrawStyle, SoRayPickAction
enum SoPickStyle::Method |
Picking method.
Specifying a method will not change the result of picking but may affect performance. Some shapes like MoMeshSkin implement a fast GPU Picking technique that may be faster than CPU picking (depending on the case). When Method is AUTO, Open Inventor will automatically determine which picking method should be used. However you can force using CPU or GPU picking technique. Please refer to SoRayPickAction documentation for more details about GPU Picking.
enum SoPickStyle::Style |
SoPickStyle::SoPickStyle | ( | ) |
Creates a pick style node with default settings.
static SoType SoPickStyle::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
virtual SoType SoPickStyle::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
virtual SbBool SoPickStyle::isOverride | ( | ) | const [inline, virtual] |
Returns the state of the override field.
Reimplemented from SoNode.
virtual void SoPickStyle::setOverride | ( | const SbBool | state | ) | [inline, virtual] |
Specifies the method used to pick shapes.
Use enum Method. Default is AUTO.
Picking style.
Use enum Style. Default is SHAPE.