MeVisLab Toolbox Reference
SoGLRenderState Class Reference

Class SoGLRenderState to manage the GL state in an Open Inventor node. More...

#include <SoGLRenderState.h>

Inheritance diagram for SoGLRenderState:

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. More...
 
void GLRender (SoGLRenderAction *action) override
 Add this node to element in state. More...
 

Static Public Member Functions

static void initClass ()
 Initialize class with runtime type system. More...
 

Public Attributes

SoSFEnum attribSaveMode
 
SoSFEnum cullMode
 
SoSFBool depthEnable
 
SoSFEnum depthFunction
 
SoSFBool writeMaskDepth
 
SoSFEnum polyFrontMode
 
SoSFEnum polyBackMode
 
SoSFFloat lineWidth
 
SoSFBool lineSmooth
 
SoSFBool pointSprites
 
SoSFBool blending
 
SoSFEnum blendMode
 

Detailed Description

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.

Member Enumeration Documentation

◆ AttribSaveMode

Enumerator
PUSH 
POP 

Definition at line 35 of file SoGLRenderState.h.

◆ BlendMode

Enumerator
BLEND_REPLACE 
BLEND_ADD 
BLEND_BLEND 
BLEND_PREMULTIPLIED_BLEND 

Definition at line 62 of file SoGLRenderState.h.

◆ CullMode

Enumerator
NONE 
FRONT 
BACK 
FRONT_AND_BACK 

Definition at line 40 of file SoGLRenderState.h.

◆ DepthFunction

Enumerator
NEVER 
LESS 
EQUAL 
LESS_EQUAL 
GREATER 
NOT_EQUAL 
GREATER_EQUAL 
ALWAYS 

Definition at line 46 of file SoGLRenderState.h.

◆ PolyMode

Enumerator
POINTS 
LINES 
FILL 

Definition at line 56 of file SoGLRenderState.h.

Constructor & Destructor Documentation

◆ SoGLRenderState()

SoGLRenderState::SoGLRenderState ( )

Constructor.

Member Function Documentation

◆ GLRender()

void SoGLRenderState::GLRender ( SoGLRenderAction *  action)
override

Add this node to element in state.

◆ initClass()

static void SoGLRenderState::initClass ( )
static

Initialize class with runtime type system.

Member Data Documentation

◆ attribSaveMode

SoSFEnum SoGLRenderState::attribSaveMode

Definition at line 69 of file SoGLRenderState.h.

◆ blending

SoSFBool SoGLRenderState::blending

Definition at line 79 of file SoGLRenderState.h.

◆ blendMode

SoSFEnum SoGLRenderState::blendMode

Definition at line 80 of file SoGLRenderState.h.

◆ cullMode

SoSFEnum SoGLRenderState::cullMode

Definition at line 70 of file SoGLRenderState.h.

◆ depthEnable

SoSFBool SoGLRenderState::depthEnable

Definition at line 71 of file SoGLRenderState.h.

◆ depthFunction

SoSFEnum SoGLRenderState::depthFunction

Definition at line 72 of file SoGLRenderState.h.

◆ lineSmooth

SoSFBool SoGLRenderState::lineSmooth

Definition at line 77 of file SoGLRenderState.h.

◆ lineWidth

SoSFFloat SoGLRenderState::lineWidth

Definition at line 76 of file SoGLRenderState.h.

◆ pointSprites

SoSFBool SoGLRenderState::pointSprites

Definition at line 78 of file SoGLRenderState.h.

◆ polyBackMode

SoSFEnum SoGLRenderState::polyBackMode

Definition at line 75 of file SoGLRenderState.h.

◆ polyFrontMode

SoSFEnum SoGLRenderState::polyFrontMode

Definition at line 74 of file SoGLRenderState.h.

◆ writeMaskDepth

SoSFBool SoGLRenderState::writeMaskDepth

Definition at line 73 of file SoGLRenderState.h.


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