MeVisLabToolboxReference
SoFocusElement Class Reference

Open Inventor Element defining if the currently rendered Graph has the focus. More...

#include <SoFocusElement.h>

List of all members.

Public Member Functions

virtual void init (SoState *state)
 See inventor element documentation. Not to be called directly.
SbFocusInfo getDefault ()
 Returns a default SbFocusInfo.

Static Public Member Functions

static const SbFocusInfoget (SoState *state)
 Returns focus state.
static void set (SoState *state, SoNode *node, const SbFocusInfo &focusInfo)
 Set element state. Usually called in action routines of self written inventor nodes.
static void initClass ()
 Initializes the class.

Protected Attributes

SbFocusInfo _focusInfo
 Stores the current focus state.

Detailed Description

Open Inventor Element defining if the currently rendered Graph has the focus.

Definition at line 61 of file SoFocusElement.h.


Member Function Documentation

static const SbFocusInfo& SoFocusElement::get ( SoState *  state) [static]

Returns focus state.

This is used by subsequent modules to determine if they are in a focused render graph!

SbFocusInfo SoFocusElement::getDefault ( )

Returns a default SbFocusInfo.

virtual void SoFocusElement::init ( SoState *  state) [virtual]

See inventor element documentation. Not to be called directly.

static void SoFocusElement::initClass ( ) [static]

Initializes the class.

static void SoFocusElement::set ( SoState *  state,
SoNode *  node,
const SbFocusInfo focusInfo 
) [static]

Set element state. Usually called in action routines of self written inventor nodes.


Member Data Documentation

Stores the current focus state.

Definition at line 85 of file SoFocusElement.h.


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