CIvfPolyState Class Reference

#include <ivf/IvfPolyState.h>

Inheritance diagram for CIvfPolyState:

CIvfRenderState CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Types

enum  TTargetFace { TF_FRONT, TF_BACK, TF_FRONT_AND_BACK }
enum  TPolygonMode { PM_POINT, PM_LINE, PM_FILL }

Public Member Functions

 CIvfPolyState ()
virtual ~CIvfPolyState ()
 IvfClassInfo ("CIvfPolyState", CIvfRenderState)
void setFace (TTargetFace face)
TTargetFace getFace ()
void setMode (TPolygonMode mode)
TPolygonMode getMode ()
virtual void doRestoreState ()
virtual void doSaveState ()
virtual void doState ()

Detailed Description

Poly state class

This class encapsulates the OpenGL glPolygonMode() state function.

Definition at line 38 of file IvfPolyState.h.


Constructor & Destructor Documentation

CIvfPolyState::CIvfPolyState  ) 
 

CIvfPolyState constructor

virtual CIvfPolyState::~CIvfPolyState  )  [virtual]
 

CIvfPolyState destructor


Member Function Documentation

virtual void CIvfPolyState::doRestoreState  )  [virtual]
 

Restore state to previous state

Should be overidden by derived classes.

Reimplemented from CIvfRenderState.

virtual void CIvfPolyState::doSaveState  )  [virtual]
 

Save the current state

Should be overidden by derived classes.

Reimplemented from CIvfRenderState.

virtual void CIvfPolyState::doState  )  [virtual]
 

Apply new state

Should be overidden by derived classes.

Reimplemented from CIvfRenderState.

TTargetFace CIvfPolyState::getFace  ) 
 

Return target face

TPolygonMode CIvfPolyState::getMode  ) 
 

Return face rendering mode

void CIvfPolyState::setFace TTargetFace  face  ) 
 

Set target face

Parameters:
face can be TF_FRONT, TF_BACK and TF_FRONT_AND_BACK.

void CIvfPolyState::setMode TPolygonMode  mode  ) 
 

Set face rendering mode

Parameters:
mode can be PM_POINT, PM_LINE, and PM_FILL.


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