CIvfCullState Class Reference

#include <ivf/IvfCullState.h>

Inheritance diagram for CIvfCullState:

CIvfRenderState CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Types

enum  TCullFace { CF_FRONT, CF_BACK, CF_FRONT_AND_BACK }

Public Member Functions

 CIvfCullState ()
virtual ~CIvfCullState ()
 IvfClassInfo ("CIvfCullState", CIvfRenderState)
void setCullFace (TCullFace face)
void setCulling (bool flag)
virtual void doSaveState ()
virtual void doState ()
virtual void doRestoreState ()

Detailed Description

Culling state class

Sets the polygon culling state for objects

Definition at line 37 of file IvfCullState.h.


Constructor & Destructor Documentation

CIvfCullState::CIvfCullState  ) 
 

CIvfCullState constructor

virtual CIvfCullState::~CIvfCullState  )  [virtual]
 

CIvfCullState destructor


Member Function Documentation

virtual void CIvfCullState::doRestoreState  )  [virtual]
 

Restore state to previous state

Should be overidden by derived classes.

Reimplemented from CIvfRenderState.

virtual void CIvfCullState::doSaveState  )  [virtual]
 

Save the current state

Should be overidden by derived classes.

Reimplemented from CIvfRenderState.

virtual void CIvfCullState::doState  )  [virtual]
 

Apply new state

Should be overidden by derived classes.

Reimplemented from CIvfRenderState.

void CIvfCullState::setCullFace TCullFace  face  ) 
 

Sets the face to be culled

void CIvfCullState::setCulling bool  flag  ) 
 

Enable and disable polygon culling


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