SoPickStyleElement Class Reference
[Elements]

Stores the current pick style. More...

#include <Inventor/elements/SoPickStyleElement.h>

Inheritance diagram for SoPickStyleElement:
SoInt32Element SoElement SoTypedObject

List of all members.

Public Types

enum  Style {
  SHAPE,
  BOUNDING_BOX,
  UNPICKABLE
}

Public Member Functions

virtual void print (FILE *fp) const

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, Style style)
static void set (SoState *state, SoNode *, Style style)
static Style get (SoState *state)
static Style getDefault ()

Detailed Description

Stores the current pick style.

This element stores the current pick style.

SEE ALSO

SoPickStyle


Member Enumeration Documentation

These are the available pick styles.

Enumerator:
SHAPE 

Points on surface of shape may be picked.

BOUNDING_BOX 

Points on bounding boxes may be picked.

UNPICKABLE 

Picks go through objects.


Member Function Documentation

static Style SoPickStyleElement::get ( SoState state  )  [inline, static]

Returns current pick style from the state.

static int SoPickStyleElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoInt32Element.

static SoType SoPickStyleElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoInt32Element.

static Style SoPickStyleElement::getDefault (  )  [inline, static]

Returns the default pick style.

virtual void SoPickStyleElement::print ( FILE *  fp  )  const [virtual]

Prints element (for debugging).

Reimplemented from SoInt32Element.

static void SoPickStyleElement::set ( SoState state,
SoNode ,
Style  style 
) [inline, static]

Sets the current pick style in the state.

static void SoPickStyleElement::set ( SoState state,
Style  style 
) [inline, static]

Sets the current pick style in the state.


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

Open Inventor Toolkit reference manual, generated on 28 Oct 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/