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

Stores supplemental information about an executed mutation strategy. More...

#include <mitsuba/bidir/mutator.h>

Public Member Functions

 MutationRecord ()
 
 MutationRecord (Mutator::EMutationType type, int l, int m, int ka, const Spectrum &weight)
 
MutationRecord reverse () const
 
std::string toString () const
 

Public Attributes

Mutator::EMutationType type
 Type of executed mutation. More...
 
int l
 Left vertex of the affected range. More...
 
int m
 Right vertex of the affected range. More...
 
int ka
 Size of the insertion. More...
 
Spectrum weight
 Spectral weight of the unchanged portion. More...
 
int extra [5]
 

Detailed Description

Stores supplemental information about an executed mutation strategy.

These records are filled in by Mutator::sampleMutation().

Constructor & Destructor Documentation

mitsuba::MutationRecord::MutationRecord ( )
inline
mitsuba::MutationRecord::MutationRecord ( Mutator::EMutationType  type,
int  l,
int  m,
int  ka,
const Spectrum weight 
)
inline

Member Function Documentation

MutationRecord mitsuba::MutationRecord::reverse ( ) const
inline
std::string mitsuba::MutationRecord::toString ( ) const

Member Data Documentation

int mitsuba::MutationRecord::extra[5]
int mitsuba::MutationRecord::ka

Size of the insertion.

int mitsuba::MutationRecord::l

Left vertex of the affected range.

int mitsuba::MutationRecord::m

Right vertex of the affected range.

Mutator::EMutationType mitsuba::MutationRecord::type

Type of executed mutation.

Spectrum mitsuba::MutationRecord::weight

Spectral weight of the unchanged portion.


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