Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mitsuba::IrradianceCache::Record Struct Reference

#include <mitsuba/render/irrcache.h>

Public Member Functions

 Record ()
 Dummy constructor. More...
 
 Record (const Record *rec)
 Copy constructor. More...
 
 Record (Stream *stream)
 Unserialize from a binary data stream. More...
 
void serialize (Stream *stream) const
 Serialize to a binary data stream. More...
 
Float getWeight (const Point &p2, const Normal &n2, Float kappa) const
 

Public Attributes

Point p
 
Normal n
 
Float R0
 
Float originalR0
 
Float R0_min
 
Float R0_max
 
Spectrum E
 
RotationalGradient rGrad
 
TranslationalGradient tGrad
 

Constructor & Destructor Documentation

mitsuba::IrradianceCache::Record::Record ( )
inline

Dummy constructor.

mitsuba::IrradianceCache::Record::Record ( const Record rec)
inline

Copy constructor.

mitsuba::IrradianceCache::Record::Record ( Stream stream)
inline

Unserialize from a binary data stream.

Member Function Documentation

Float mitsuba::IrradianceCache::Record::getWeight ( const Point p2,
const Normal n2,
Float  kappa 
) const
inline

Calculate contribution of this sample if it were used to calculate an interpolated value at the given position

void mitsuba::IrradianceCache::Record::serialize ( Stream stream) const
inline

Serialize to a binary data stream.

Member Data Documentation

Spectrum mitsuba::IrradianceCache::Record::E
Normal mitsuba::IrradianceCache::Record::n
Float mitsuba::IrradianceCache::Record::originalR0
Point mitsuba::IrradianceCache::Record::p
Float mitsuba::IrradianceCache::Record::R0
Float mitsuba::IrradianceCache::Record::R0_max
Float mitsuba::IrradianceCache::Record::R0_min
RotationalGradient mitsuba::IrradianceCache::Record::rGrad
TranslationalGradient mitsuba::IrradianceCache::Record::tGrad

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