GLVolumesArch Class Reference

#include <GLVolumesArch.h>

Inheritance diagram for GLVolumesArch:

GLArch Architecture GRAObject List of all members.

Public Member Functions

 GLVolumesArch (GLVolumesArch::Params &params)
virtual RendercreateRender (void)
virtual ShadercreateShader (void)
void setMeshMode (GLShader::MeshMode m)
void setShadingMode (GLShader::ShadingMode m)
void setFacetMode (GLShader::FacetMode m)
GLShader::MeshMode getMeshMode () const
GLShader::ShadingMode getShadingMode () const
GLShader::FacetMode getFacetMode () const

Protected Attributes

bool _showSubVolumes
bool _showObjects
Vector3 _volumesColor
float _volumesTransp
GLShader::MeshMode _meshMode
GLShader::ShadingMode _shadingMode
GLShader::FacetMode _facetMode
bool _useDisplayList
int _meshDensity
int * _pStopFlag
DiffuseBRDF * _pDefaultDiffuseBRDF
SpecularBRDF * _pDefaultSpecularBRDF

Classes

struct  Params

Detailed Description

Architecture based on the OpenGL, which shows bounding volumes instead of or together with original polygons.

Definition at line 15 of file GLVolumesArch.h.


Constructor & Destructor Documentation

GLVolumesArch GLVolumesArch::Params params  )  [inline]
 

Constructor

Parameters:
params parametrs of the architecture

Definition at line 42 of file GLVolumesArch.h.

References GLVolumesArch::Params::showObjects, GLVolumesArch::Params::showSubVolumes, and GLVolumesArch::Params::volumesColor.


Member Function Documentation

virtual Render* createRender void   )  [inline, virtual]
 

Returns:
render of this architecture

Reimplemented from GLArch.

Definition at line 52 of file GLVolumesArch.h.

virtual Shader* createShader void   )  [inline, virtual, inherited]
 

Returns:
shader of this architecture

Implements Architecture.

Definition at line 71 of file GLArch.h.

GLShader::FacetMode getFacetMode  )  const [inline, inherited]
 

Returns:
mesh mode

Definition at line 106 of file GLArch.h.

GLShader::MeshMode getMeshMode  )  const [inline, inherited]
 

Returns:
mesh mode

Definition at line 96 of file GLArch.h.

GLShader::ShadingMode getShadingMode  )  const [inline, inherited]
 

Returns:
mesh mode

Definition at line 101 of file GLArch.h.

void setFacetMode GLShader::FacetMode  m  )  [inline, inherited]
 

Parameters:
m facet mode

Definition at line 91 of file GLArch.h.

void setMeshMode GLShader::MeshMode  m  )  [inline, inherited]
 

Parameters:
m mesh mode

Definition at line 81 of file GLArch.h.

void setShadingMode GLShader::ShadingMode  m  )  [inline, inherited]
 

Parameters:
m shading mode

Definition at line 86 of file GLArch.h.


Member Data Documentation

GLShader::FacetMode _facetMode [protected, inherited]
 

Definition at line 26 of file GLArch.h.

int _meshDensity [protected, inherited]
 

Definition at line 28 of file GLArch.h.

GLShader::MeshMode _meshMode [protected, inherited]
 

Definition at line 24 of file GLArch.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().

GLShader::ShadingMode _shadingMode [protected, inherited]
 

Definition at line 25 of file GLArch.h.

bool _showObjects [protected]
 

Definition at line 18 of file GLVolumesArch.h.

bool _showSubVolumes [protected]
 

Definition at line 17 of file GLVolumesArch.h.

bool _useDisplayList [protected, inherited]
 

Definition at line 27 of file GLArch.h.

Vector3 _volumesColor [protected]
 

Definition at line 19 of file GLVolumesArch.h.

float _volumesTransp [protected]
 

Definition at line 20 of file GLVolumesArch.h.


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