EnergyCoatArch Class Reference

#include <EnergyCoatArch.h>

Inheritance diagram for EnergyCoatArch:

Architecture GRAObject List of all members.

Public Types

enum  CoatType { PARTIAL_ENERGY, IMPOSTER, LIGHT_MAP }

Public Member Functions

 EnergyCoatArch (EnergyCoatArch::Params &params)
virtual RendercreateRender (void)
virtual ShadercreateShader (void)

Protected Attributes

CoatType _coatType
int _meshDensity
unsigned _lightMapResolution
int * _pStopFlag
DiffuseBRDF * _pDefaultDiffuseBRDF
SpecularBRDF * _pDefaultSpecularBRDF

Classes

struct  Params

Detailed Description

Architecture visualizing energy coats computed by given shader instead of visializing objects themselves. This architecture uses the OpenGL library.

Definition at line 19 of file EnergyCoatArch.h.


Member Enumeration Documentation

enum CoatType
 

Enumerator:
PARTIAL_ENERGY  recognized nergy coats
IMPOSTER 
LIGHT_MAP 

Definition at line 21 of file EnergyCoatArch.h.


Constructor & Destructor Documentation

EnergyCoatArch EnergyCoatArch::Params params  )  [inline]
 

Contructor

Parameters:
params parametrs of the architecture

Definition at line 49 of file EnergyCoatArch.h.

References EnergyCoatArch::Params::coatType, EnergyCoatArch::Params::lightMapResolution, and EnergyCoatArch::Params::meshDensity.


Member Function Documentation

virtual Render* createRender void   )  [inline, virtual]
 

Returns:
render of this architecture

Implements Architecture.

Definition at line 58 of file EnergyCoatArch.h.

virtual Shader* createShader void   )  [inline, virtual]
 

Returns:
shader of this architecture

Implements Architecture.

Definition at line 65 of file EnergyCoatArch.h.


Member Data Documentation

CoatType _coatType [protected]
 

Definition at line 39 of file EnergyCoatArch.h.

unsigned _lightMapResolution [protected]
 

Definition at line 41 of file EnergyCoatArch.h.

int _meshDensity [protected]
 

Definition at line 40 of file EnergyCoatArch.h.

DiffuseBRDF* _pDefaultDiffuseBRDF [protected, inherited]
 

Definition at line 25 of file Architecture.h.

Referenced by RayTrArch::createShader(), and PhotonMappingArch::createShader().

SpecularBRDF* _pDefaultSpecularBRDF [protected, inherited]
 

Definition at line 26 of file Architecture.h.

Referenced by RayTrArch::createShader(), and PhotonMappingArch::createShader().

int* _pStopFlag [protected, inherited]
 

Definition at line 24 of file Architecture.h.

Referenced by RayTrArch::createRender(), and IrradCacheVisualizer::createRender().


The documentation for this class was generated from the following file:
Generated on Tue Nov 21 15:11:42 2006 for gra by  doxygen 1.4.6