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

Stores the diagonal blocks of a spherical harmonic rotation matrix. More...

#include <mitsuba/core/shvector.h>

Public Types

typedef Eigen::Matrix< Float,
Eigen::Dynamic, Eigen::Dynamic > 
Matrix
 

Public Member Functions

 SHRotation (int bands)
 Construct a new rotation storage for the given number of bands. More...
 
void operator() (const SHVector &source, SHVector &target) const
 Transform a coefficient vector and store the result into the given target vector. More...
 

Public Attributes

std::vector< Matrixblocks
 

Detailed Description

Stores the diagonal blocks of a spherical harmonic rotation matrix.

Member Typedef Documentation

typedef Eigen::Matrix<Float, Eigen::Dynamic, Eigen::Dynamic> mitsuba::SHRotation::Matrix

Constructor & Destructor Documentation

mitsuba::SHRotation::SHRotation ( int  bands)
inline

Construct a new rotation storage for the given number of bands.

Member Function Documentation

void mitsuba::SHRotation::operator() ( const SHVector source,
SHVector target 
) const

Transform a coefficient vector and store the result into the given target vector.

The source and target must have the same number of bands.

Member Data Documentation

std::vector<Matrix> mitsuba::SHRotation::blocks

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