SoPickMethodElement Class Reference
[Elements]

Stores the current pick method. More...

#include <Inventor/elements/SoPickMethodElement.h>

Inheritance diagram for SoPickMethodElement:
SoInt32Element SoElement SoTypedObject

List of all members.

Public Types

enum  Method {
  AUTO,
  GPU,
  CPU
}

Public Member Functions

virtual void print (FILE *fp) const

Static Public Member Functions

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

Detailed Description

Stores the current pick method.

This element stores the current pick method.

SEE ALSO

SoPickMethod


Member Enumeration Documentation

These are the available pick methods.

Enumerator:
AUTO 

OIV is in charge of selecting the best method to use when picking a shape.

GPU 

Force using GPU picking if the shape supports it.

CPU 

Force using CPU picking, even if shape supports other picking method.


Member Function Documentation

static Method SoPickMethodElement::get ( SoState state  )  [inline, static]

Returns current pick method from the state.

static int SoPickMethodElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoInt32Element.

static SoType SoPickMethodElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoInt32Element.

static Method SoPickMethodElement::getDefault (  )  [inline, static]

Returns the default pick method.

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

Prints element (for debugging).

Reimplemented from SoInt32Element.

static void SoPickMethodElement::set ( SoState state,
SoNode ,
Method  method 
) [inline, static]

Sets the current pick method in the state.

static void SoPickMethodElement::set ( SoState state,
Method  method 
) [inline, static]

Sets the current pick method in the state.


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

Open Inventor Toolkit reference manual, generated on 16 Sep 2021
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/