MeVisLabToolboxReference
SoGLRenderState Class Reference

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

#include <SoGLRenderState.h>

List of all members.

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 }

Public Member Functions

 SoGLRenderState ()
 Constructor.
virtual void GLRender (SoGLRenderAction *action)
 Add this node to element in state.

Static Public Member Functions

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

Public Attributes

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

Detailed Description

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

Definition at line 19 of file SoGLRenderState.h.


Member Enumeration Documentation

Enumerator:
PUSH 
POP 

Definition at line 27 of file SoGLRenderState.h.

Enumerator:
NONE 
FRONT 
BACK 
FRONT_AND_BACK 

Definition at line 32 of file SoGLRenderState.h.

Enumerator:
NEVER 
LESS 
EQUAL 
LESS_EQUAL 
GREATER 
NOT_EQUAL 
GREATER_EQUAL 
ALWAYS 

Definition at line 38 of file SoGLRenderState.h.

Enumerator:
POINTS 
LINES 
FILL 

Definition at line 48 of file SoGLRenderState.h.


Constructor & Destructor Documentation

SoGLRenderState::SoGLRenderState ( )

Constructor.


Member Function Documentation

virtual void SoGLRenderState::GLRender ( SoGLRenderAction *  action) [virtual]

Add this node to element in state.

static void SoGLRenderState::initClass ( ) [static]

Initialize class with runtime type system.


Member Data Documentation

Definition at line 54 of file SoGLRenderState.h.

Definition at line 55 of file SoGLRenderState.h.

Definition at line 56 of file SoGLRenderState.h.

Definition at line 57 of file SoGLRenderState.h.

Definition at line 62 of file SoGLRenderState.h.

Definition at line 61 of file SoGLRenderState.h.

Definition at line 63 of file SoGLRenderState.h.

Definition at line 60 of file SoGLRenderState.h.

Definition at line 59 of file SoGLRenderState.h.

Definition at line 58 of file SoGLRenderState.h.


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