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

Simple tangent space storage for surfaces. More...

#include <mitsuba/render/trimesh.h>

Public Member Functions

 TangentSpace ()
 
 TangentSpace (const Vector &dpdu, const Vector &dpdv)
 
 TangentSpace (Stream *stream)
 
void serialize (Stream *stream)
 
std::string toString () const
 

Public Attributes

Vector dpdu
 Position partial with respect to the U parameter of the local chart. More...
 
Vector dpdv
 Position partial with respect to the V parameter of the local chart. More...
 

Detailed Description

Simple tangent space storage for surfaces.

Note that the dpdu and dpdv vectors are not necessarily orthogonal.

Constructor & Destructor Documentation

mitsuba::TangentSpace::TangentSpace ( )
inline
mitsuba::TangentSpace::TangentSpace ( const Vector dpdu,
const Vector dpdv 
)
inline
mitsuba::TangentSpace::TangentSpace ( Stream stream)
inline

Member Function Documentation

void mitsuba::TangentSpace::serialize ( Stream stream)
inline
std::string mitsuba::TangentSpace::toString ( ) const
inline

Member Data Documentation

Vector mitsuba::TangentSpace::dpdu

Position partial with respect to the U parameter of the local chart.

Vector mitsuba::TangentSpace::dpdv

Position partial with respect to the V parameter of the local chart.


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