MeVisLab Toolbox Reference
SoView2DHintElement Class Reference

SoView2DHintElement is read by the SoView2D and influences it's rendering mode The SoView2DHintElement is typically set by the SoView2DHint node. More...

#include <SoView2DHintElement.h>

Inheritance diagram for SoView2DHintElement:

Public Types

enum  RenderMode { RenderSlices3D = 1 , RenderExtensions3D = 2 }
 different internal flags More...
 

Public Member Functions

void init (SoState *state) override
 Initializes element. More...
 

Static Public Member Functions

static void initClass ()
 Initializes the SoView2DHintElement class. More...
 
static void set (SoState *state, int renderHint)
 Returns the current flag from the state. More...
 
static int get (SoState *state)
 Returns the current flag from the state. More...
 
static bool renderSlices3D (SoState *state)
 check if slices should be rendered in 3D More...
 
static bool renderExtensions3D (SoState *state)
 check if extensions should be rendered in full 3D More...
 
static int getDefault ()
 Returns the default. More...
 

Protected Member Functions

 ~SoView2DHintElement () override
 

Detailed Description

SoView2DHintElement is read by the SoView2D and influences it's rendering mode The SoView2DHintElement is typically set by the SoView2DHint node.

SoView2DHintElement is read by the SoView2D and influences it's rendering mode

The SoView2DHintElement is typically set by the SoView2DHint Node.

Definition at line 25 of file SoView2DHintElement.h.

Member Enumeration Documentation

◆ RenderMode

different internal flags

Enumerator
RenderSlices3D 
RenderExtensions3D 

Definition at line 32 of file SoView2DHintElement.h.

Constructor & Destructor Documentation

◆ ~SoView2DHintElement()

SoView2DHintElement::~SoView2DHintElement ( )
overrideprotected

Member Function Documentation

◆ get()

static int SoView2DHintElement::get ( SoState *  state)
static

Returns the current flag from the state.

Referenced by renderExtensions3D(), and renderSlices3D().

◆ getDefault()

static int SoView2DHintElement::getDefault ( )
inlinestatic

Returns the default.

Definition at line 56 of file SoView2DHintElement.h.

◆ init()

void SoView2DHintElement::init ( SoState *  state)
override

Initializes element.

◆ initClass()

static void SoView2DHintElement::initClass ( )
static

Initializes the SoView2DHintElement class.

◆ renderExtensions3D()

static bool SoView2DHintElement::renderExtensions3D ( SoState *  state)
inlinestatic

check if extensions should be rendered in full 3D

Definition at line 53 of file SoView2DHintElement.h.

References get(), and RenderExtensions3D.

◆ renderSlices3D()

static bool SoView2DHintElement::renderSlices3D ( SoState *  state)
inlinestatic

check if slices should be rendered in 3D

Definition at line 50 of file SoView2DHintElement.h.

References get(), and RenderSlices3D.

◆ set()

static void SoView2DHintElement::set ( SoState *  state,
int  renderHint 
)
static

Returns the current flag from the state.


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