MeVisLab Toolbox Reference
|
Class SoGLRenderState to manage the GL state in an Open Inventor node. More...
#include <SoGLRenderState.h>
Public Types | |
enum | AttribSaveMode { PUSH = 1 , POP = 2 } |
enum | CullMode { NONE = 0 , FRONT = GL_FRONT , BACK = GL_BACK , FRONT_AND_BACK = GL_FRONT_AND_BACK } |
enum | DepthFunction { NEVER = GL_NEVER , LESS = GL_LESS , EQUAL = GL_EQUAL , LESS_EQUAL = GL_LEQUAL , GREATER = GL_GREATER , NOT_EQUAL = GL_NOTEQUAL , GREATER_EQUAL = GL_GEQUAL , ALWAYS = GL_ALWAYS } |
enum | PolyMode { POINTS = GL_POINT , LINES = GL_LINE , FILL = GL_FILL } |
enum | BlendMode { BLEND_REPLACE , BLEND_ADD , BLEND_BLEND , BLEND_PREMULTIPLIED_BLEND } |
Public Member Functions | |
SoGLRenderState () | |
Constructor. | |
void | GLRender (SoGLRenderAction *action) override |
Add this node to element in state. | |
Static Public Member Functions | |
static void | initClass () |
Initialize class with runtime type system. | |
Class SoGLRenderState to manage the GL state in an Open Inventor node.
Class SoGLRenderState to manage the GL state in an Open Inventor node.
Definition at line 27 of file SoGLRenderState.h.
Enumerator | |
---|---|
PUSH | |
POP |
Definition at line 35 of file SoGLRenderState.h.
Enumerator | |
---|---|
BLEND_REPLACE | |
BLEND_ADD | |
BLEND_BLEND | |
BLEND_PREMULTIPLIED_BLEND |
Definition at line 62 of file SoGLRenderState.h.
Enumerator | |
---|---|
NONE | |
FRONT | |
BACK | |
FRONT_AND_BACK |
Definition at line 40 of file SoGLRenderState.h.
Enumerator | |
---|---|
NEVER | |
LESS | |
EQUAL | |
LESS_EQUAL | |
GREATER | |
NOT_EQUAL | |
GREATER_EQUAL | |
ALWAYS |
Definition at line 46 of file SoGLRenderState.h.
Enumerator | |
---|---|
POINTS | |
LINES | |
FILL |
Definition at line 56 of file SoGLRenderState.h.
SoGLRenderState::SoGLRenderState | ( | ) |
Constructor.
|
override |
Add this node to element in state.
SoSFEnum SoGLRenderState::attribSaveMode |
Definition at line 69 of file SoGLRenderState.h.
SoSFBool SoGLRenderState::blending |
Definition at line 79 of file SoGLRenderState.h.
SoSFEnum SoGLRenderState::blendMode |
Definition at line 80 of file SoGLRenderState.h.
SoSFEnum SoGLRenderState::cullMode |
Definition at line 70 of file SoGLRenderState.h.
SoSFBool SoGLRenderState::depthEnable |
Definition at line 71 of file SoGLRenderState.h.
SoSFEnum SoGLRenderState::depthFunction |
Definition at line 72 of file SoGLRenderState.h.
SoSFBool SoGLRenderState::lineSmooth |
Definition at line 77 of file SoGLRenderState.h.
SoSFFloat SoGLRenderState::lineWidth |
Definition at line 76 of file SoGLRenderState.h.
SoSFBool SoGLRenderState::pointSprites |
Definition at line 78 of file SoGLRenderState.h.
SoSFEnum SoGLRenderState::polyBackMode |
Definition at line 75 of file SoGLRenderState.h.
SoSFEnum SoGLRenderState::polyFrontMode |
Definition at line 74 of file SoGLRenderState.h.
SoSFBool SoGLRenderState::writeMaskDepth |
Definition at line 73 of file SoGLRenderState.h.