Logo Search packages:      
Sourcecode: yafaray version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

biDirIntegrator_t Class Reference

Inheritance diagram for biDirIntegrator_t:
Inheritance graph
Collaboration diagram for biDirIntegrator_t:
Collaboration graph

List of all members.

Public Types


Public Member Functions

 biDirIntegrator_t (bool transpShad=false, int shadowDepth=4)
virtual void cleanup ()
virtual std::string getName () const
virtual std::string getSettings () const
virtual std::string getShortName () const
virtual colorA_t integrate (renderState_t &state, diffRay_t &ray) const
TYPE integratorType ()
virtual void precalcDepths ()
virtual void prePass (int samples, int offset, bool adaptive)
 Called before the proper rendering of all the tiles starts.
virtual bool preprocess ()
virtual void preRender ()
 Called before the render starts and after the minDepth and maxDepth are calculated.
virtual void preTile (renderArea_t &a, int n_samples, int offset, bool adaptive, int threadID)
 Called brfore each tile is rendered.
virtual bool render (imageFilm_t *imageFilm)
virtual bool renderPass (int samples, int offset, bool adaptive)
virtual bool renderTile (renderArea_t &a, int n_samples, int offset, bool adaptive, int threadID)
virtual void setProgressBar (progressBar_t *pb)
void setScene (scene_t *s)
 this MUST be called before any other member function!

Static Public Member Functions

static integrator_tfactory (paraMap_t &params, renderEnvironment_t &render)

Protected Member Functions

bool connectLPath (renderState_t &state, int t, pathData_t &pd, ray_t &lRay, color_t &lcol) const
bool connectPathE (renderState_t &state, int s, pathData_t &pd) const
bool connectPaths (renderState_t &state, int s, int t, pathData_t &pd) const
int createPath (renderState_t &state, ray_t &start, std::vector< pathVertex_t > &path, int maxLen) const
color_t evalLPath (renderState_t &state, int t, pathData_t &pd, ray_t &lRay, const color_t &lcol) const
color_t evalPath (renderState_t &state, int s, int t, pathData_t &pd) const
color_t evalPathE (renderState_t &state, int s, pathData_t &pd) const
CFLOAT pathWeight (renderState_t &state, int s, int t, pathData_t &pd) const
CFLOAT pathWeight_0t (renderState_t &state, int t, pathData_t &pd) const

Protected Attributes

int AA_inc_samples
int AA_passes
int AA_samples
float AA_threshold
int bounces
const camera_tcam
float fNumLights
float iAA_passes
 Inverse of AA_passes used for depth map.
bool ibl
 configuration; use background light, if available
bool include_bg
 determined on precrocess;
std::string integratorName
std::string integratorShortName
std::map< const light_t *, CFLOAT > invLightPowerD
std::vector< light_t * > lights
float maxDepth
 Inverse of max depth from camera within the scene boundaries.
float minDepth
 Distance between camera and the closest object on the scene.
int rDepth
int sDepth
std::string settings
std::vector< pathData_tthreadData
bool trShad
TYPE type
bool use_bg
 configuration; include background for GI

Detailed Description

Definition at line 115 of file bidirpath.cc.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index