MeVisLab Toolbox 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>
Public Types | |
enum | RenderMode { RenderSlices3D = 1 , RenderExtensions3D = 2 } |
different internal flags More... | |
Public Member Functions | |
void | init (SoState *state) override |
Initializes element. | |
Static Public Member Functions | |
static void | initClass () |
Initializes the SoView2DHintElement class. | |
static void | set (SoState *state, int renderHint) |
Returns the current flag from the state. | |
static int | get (SoState *state) |
Returns the current flag from the state. | |
static bool | renderSlices3D (SoState *state) |
check if slices should be rendered in 3D | |
static bool | renderExtensions3D (SoState *state) |
check if extensions should be rendered in full 3D | |
static int | getDefault () |
Returns the default. | |
Protected Member Functions | |
~SoView2DHintElement () override | |
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.
different internal flags
Enumerator | |
---|---|
RenderSlices3D | |
RenderExtensions3D |
Definition at line 32 of file SoView2DHintElement.h.
|
overrideprotected |
Returns the current flag from the state.
Referenced by renderExtensions3D(), and renderSlices3D().
Returns the default.
Definition at line 56 of file SoView2DHintElement.h.
Initializes the SoView2DHintElement class.
check if extensions should be rendered in full 3D
Definition at line 53 of file SoView2DHintElement.h.
References get(), and RenderExtensions3D.
check if slices should be rendered in 3D
Definition at line 50 of file SoView2DHintElement.h.
References get(), and RenderSlices3D.
Returns the current flag from the state.