CIvfLightingState Class Reference

#include <ivf/IvfLightingState.h>

Inheritance diagram for CIvfLightingState:

CIvfRenderState CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfLightingState ()
virtual ~CIvfLightingState ()
 IvfClassInfo ("CIvfLightingState", CIvfRenderState)
void setLighting (bool flag)
bool getLighting ()
virtual void doRestoreState ()
virtual void doSaveState ()
virtual void doState ()

Detailed Description

Lighting state class

Disables and enables the OpenGL lighting state

Author:
Jonas Lindemann
Examples:

lighting.cpp.

Definition at line 40 of file IvfLightingState.h.


Constructor & Destructor Documentation

CIvfLightingState::CIvfLightingState  ) 
 

CIvfLightingState constructor

virtual CIvfLightingState::~CIvfLightingState  )  [virtual]
 

CIvfLightingState destructor


Member Function Documentation

virtual void CIvfLightingState::doRestoreState  )  [virtual]
 

Restore state to previous state

Should be overidden by derived classes.

Reimplemented from CIvfRenderState.

virtual void CIvfLightingState::doSaveState  )  [virtual]
 

Save the current state

Should be overidden by derived classes.

Reimplemented from CIvfRenderState.

virtual void CIvfLightingState::doState  )  [virtual]
 

Apply new state

Should be overidden by derived classes.

Reimplemented from CIvfRenderState.

bool CIvfLightingState::getLighting  ) 
 

Return lighting flag

void CIvfLightingState::setLighting bool  flag  ) 
 

Lighting flag (enabled = true)


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