PathTrArch Class Reference

#include <PathTrArch.h>

Inheritance diagram for PathTrArch:

RayTrArch Architecture GRAObject List of all members.

Public Member Functions

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

Protected Attributes

Intersector * _pIntersector
RayTracing_pRTReflection
Color3f _background
RTRender::PixelRend _pixelRendering
unsigned _raysPerPixel
RTRender::FBWriteMode _fbWriteMode
unsigned _fbWriteElements
int * _pStopFlag
DiffuseBRDF * _pDefaultDiffuseBRDF
SpecularBRDF * _pDefaultSpecularBRDF

Classes

struct  Params

Detailed Description

Graphics architecture implementing Monte Carlo ray tracing, so called path tracing.

Definition at line 23 of file PathTrArch.h.


Constructor & Destructor Documentation

PathTrArch PathTrArch::Params params  ) 
 

Constructor.

Parameters:
params parameters of the architecture

Definition at line 5 of file PathTrArch.cc.

References RayTrArch::_background, RayTrArch::_pIntersector, RayTrArch::_pRTReflection, RayTrArch::Params::cacheDepth, RayTrArch::Params::maxRecDepth, RayTrArch::Params::minRecWeight, PathTrArch::Params::nRaysDiff, LocalReflection::SD_GEOMETRY_SAMPLING, and RayTrArch::Params::shadowRays.


Member Function Documentation

Render * createRender void   )  [virtual, inherited]
 

Returns:
render of this architecture

Implements Architecture.

Reimplemented in IrradCacheVisualizer, and PhotonMapVisualizer.

Definition at line 45 of file RayTrArch.cc.

References RayTrArch::_background, RayTrArch::_fbWriteElements, RayTrArch::_fbWriteMode, RayTrArch::_pIntersector, RayTrArch::_pixelRendering, Architecture::_pStopFlag, and RayTrArch::_raysPerPixel.

Shader * createShader void   )  [virtual, inherited]
 

Returns:
shader of this architecture

Implements Architecture.

Reimplemented in PhotonMappingArch.

Definition at line 52 of file RayTrArch.cc.

References Architecture::_pDefaultDiffuseBRDF, Architecture::_pDefaultSpecularBRDF, and RayTrArch::_pRTReflection.


Member Data Documentation

Color3f _background [protected, inherited]
 

Definition at line 51 of file RayTrArch.h.

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

unsigned _fbWriteElements [protected, inherited]
 

Definition at line 55 of file RayTrArch.h.

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

RTRender::FBWriteMode _fbWriteMode [protected, inherited]
 

Definition at line 54 of file RayTrArch.h.

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

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().

Intersector* _pIntersector [protected, inherited]
 

Definition at line 49 of file RayTrArch.h.

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

RTRender::PixelRend _pixelRendering [protected, inherited]
 

Definition at line 52 of file RayTrArch.h.

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

RayTracing* _pRTReflection [protected, inherited]
 

Definition at line 50 of file RayTrArch.h.

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

int* _pStopFlag [protected, inherited]
 

Definition at line 24 of file Architecture.h.

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

unsigned _raysPerPixel [protected, inherited]
 

Definition at line 53 of file RayTrArch.h.

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


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