PlanarMapping2D Class Reference

#include <texture.h>

Inheritance diagram for PlanarMapping2D:

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 78 of file texture.h.


Constructor & Destructor Documentation

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

Definition at line 132 of file texture.cpp.

References ds, dt, vs, and vt.


Member Function Documentation

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


Member Data Documentation

Definition at line 87 of file texture.h.

Referenced by Map(), and PlanarMapping2D().

Definition at line 87 of file texture.h.

Referenced by Map(), and PlanarMapping2D().

float PlanarMapping2D::ds [private]

Definition at line 88 of file texture.h.

Referenced by Map(), and PlanarMapping2D().

float PlanarMapping2D::dt [private]

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 Mon Jul 20 17:31:55 2009 for pbrt by  doxygen 1.5.6