CIvfRenderState Class Reference

#include <ivf/IvfRenderState.h>

Inheritance diagram for CIvfRenderState:

CIvfBase CIvfRefCountBase CIvfRTTIBase CIvfBlendState CIvfCompositeState CIvfCullState CIvfDepthBufferState CIvfLightingState CIvfPolyState List of all members.

Public Member Functions

 CIvfRenderState ()
virtual ~CIvfRenderState ()
 IvfClassInfo ("CIvfRenderState", CIvfBase)
void remove ()
void apply ()
virtual void doSaveState ()
virtual void doState ()
virtual void doRestoreState ()

Detailed Description

Render state class

This class manages a OpenGL state change. This class is an abstract class, and should not be used directly.

Definition at line 39 of file IvfRenderState.h.


Constructor & Destructor Documentation

CIvfRenderState::CIvfRenderState  ) 
 

CIvfRenderState constructor

virtual CIvfRenderState::~CIvfRenderState  )  [virtual]
 

CIvfRenderState destructor


Member Function Documentation

void CIvfRenderState::apply  ) 
 

Removes previously applied state

This method calls the virtual method doRestoreState() to remove the previously applied state. This method will be called by the render() method of CIvfObject.

virtual void CIvfRenderState::doRestoreState  )  [virtual]
 

Restore state to previous state

Should be overidden by derived classes.

Reimplemented in CIvfBlendState, CIvfCompositeState, CIvfCullState, CIvfDepthBufferState, CIvfLightingState, and CIvfPolyState.

virtual void CIvfRenderState::doSaveState  )  [virtual]
 

Save the current state

Should be overidden by derived classes.

Reimplemented in CIvfBlendState, CIvfCompositeState, CIvfCullState, CIvfDepthBufferState, CIvfLightingState, and CIvfPolyState.

virtual void CIvfRenderState::doState  )  [virtual]
 

Apply new state

Should be overidden by derived classes.

Reimplemented in CIvfBlendState, CIvfCompositeState, CIvfCullState, CIvfDepthBufferState, CIvfLightingState, and CIvfPolyState.

void CIvfRenderState::remove  ) 
 

Applies state

This method first calls the virtual doSaveState() method to save the current state. Then it calls doState() to apply the new state. This method will be called by the render() method of CIvfObject.


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:56 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO