lux::UVMapping2D Class Reference

#include <texture.h>

Inheritance diagram for lux::UVMapping2D:
[legend]
Collaboration diagram for lux::UVMapping2D:
[legend]

List of all members.

Public Member Functions

 UVMapping2D (float su=1, float sv=1, float du=0, float dv=0)
virtual ~UVMapping2D ()
virtual 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 42 of file texture.h.


Constructor & Destructor Documentation

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

Definition at line 67 of file texture.cpp.

References du, dv, su, and sv.

virtual lux::UVMapping2D::~UVMapping2D (  )  [inline, virtual]

Definition at line 47 of file texture.h.


Member Function Documentation

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

Member Data Documentation

float lux::UVMapping2D::du [private]

Definition at line 52 of file texture.h.

Referenced by Map(), and UVMapping2D().

float lux::UVMapping2D::dv [private]

Definition at line 52 of file texture.h.

Referenced by Map(), and UVMapping2D().

float lux::UVMapping2D::su [private]

Definition at line 52 of file texture.h.

Referenced by Map(), and UVMapping2D().

float lux::UVMapping2D::sv [private]

Definition at line 52 of file texture.h.

Referenced by Map(), and UVMapping2D().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208