lux::PlanarMapping2D Class Reference

#include <texture.h>

Inheritance diagram for lux::PlanarMapping2D:

lux::TextureMapping2D

List of all members.

Public Member Functions

 PlanarMapping2D (const Vector &v1, const Vector &v2, float du=0, float dv=0)
void Map (const DifferentialGeometry &dg, float *s, float *t, float *dsdx, float *dtdx, float *dsdy, float *dtdy) const

Private Attributes

Vector vs
Vector vt
float ds
float dt


Detailed Description

Definition at line 79 of file texture.h.


Constructor & Destructor Documentation

lux::PlanarMapping2D::PlanarMapping2D ( const Vector v1,
const Vector v2,
float  du = 0,
float  dv = 0 
)

Definition at line 136 of file texture.cpp.

References ds, dt, vs, and vt.


Member Function Documentation

void lux::PlanarMapping2D::Map ( const DifferentialGeometry dg,
float *  s,
float *  t,
float *  dsdx,
float *  dtdx,
float *  dsdy,
float *  dtdy 
) const [virtual]


Member Data Documentation

float lux::PlanarMapping2D::ds [private]

Definition at line 89 of file texture.h.

Referenced by Map(), and PlanarMapping2D().

float lux::PlanarMapping2D::dt [private]

Definition at line 89 of file texture.h.

Referenced by Map(), and PlanarMapping2D().

Definition at line 88 of file texture.h.

Referenced by Map(), and PlanarMapping2D().

Definition at line 88 of file texture.h.

Referenced by Map(), and PlanarMapping2D().


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

Generated on Tue Nov 10 01:36:40 2009 for lux by  doxygen 1.5.9