UVMapping2D Class Reference

#include <texture.h>

Inheritance diagram for UVMapping2D:

TextureMapping2D

List of all members.

Public Member Functions

 UVMapping2D (float su=1, float sv=1, 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

float su
float sv
float du
float dv


Detailed Description

Definition at line 40 of file texture.h.


Constructor & Destructor Documentation

UVMapping2D::UVMapping2D ( float  su = 1,
float  sv = 1,
float  du = 0,
float  dv = 0 
)

Definition at line 63 of file texture.cpp.

References du, dv, su, and sv.


Member Function Documentation

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


Member Data Documentation

float UVMapping2D::su [private]

Definition at line 49 of file texture.h.

Referenced by Map(), and UVMapping2D().

float UVMapping2D::sv [private]

Definition at line 49 of file texture.h.

Referenced by Map(), and UVMapping2D().

float UVMapping2D::du [private]

Definition at line 49 of file texture.h.

Referenced by Map(), and UVMapping2D().

float UVMapping2D::dv [private]

Definition at line 49 of file texture.h.

Referenced by Map(), and UVMapping2D().


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

Generated on Mon Jul 20 17:31:56 2009 for pbrt by  doxygen 1.5.6