MeVisLab Toolbox Reference
SoFocusElement Class Reference

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

#include <SoFocusElement.h>

Inheritance diagram for SoFocusElement:

Public Member Functions

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

Static Public Member Functions

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

Protected Attributes

SbFocusInfo _focusInfo
 Stores the current focus state. More...
 

Detailed Description

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

Definition at line 62 of file SoFocusElement.h.

Member Function Documentation

◆ get()

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!

◆ getDefault()

SbFocusInfo SoFocusElement::getDefault ( )

Returns a default SbFocusInfo.

◆ init()

void SoFocusElement::init ( SoState *  state)
override

See inventor element documentation. Not to be called directly.

◆ initClass()

static void SoFocusElement::initClass ( )
static

Initializes the class.

◆ set()

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

◆ _focusInfo

SbFocusInfo SoFocusElement::_focusInfo
protected

Stores the current focus state.

Definition at line 86 of file SoFocusElement.h.


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