CylindricalMapping2D Class Reference

#include <texture.h>

Inheritance diagram for CylindricalMapping2D:
TextureMapping2D

List of all members.

Public Member Functions

 CylindricalMapping2D (const Transform &toCyl)
void Map (const DifferentialGeometry &dg, float *s, float *t, float *dsdx, float *dtdx, float *dsdy, float *dtdy) const

Private Member Functions

void cylinder (const Point &p, float *s, float *t) const

Private Attributes

Transform WorldToTexture

Detailed Description

Definition at line 75 of file texture.h.


Constructor & Destructor Documentation

CylindricalMapping2D::CylindricalMapping2D ( const Transform toCyl  )  [inline]

Definition at line 78 of file texture.h.


Member Function Documentation

void CylindricalMapping2D::cylinder ( const Point p,
float *  s,
float *  t 
) const [inline, private]

Definition at line 85 of file texture.h.

References M_PI, Normalize(), WorldToTexture, Vector::x, Vector::y, and Vector::z.

Referenced by Map().

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

Member Data Documentation

Definition at line 90 of file texture.h.

Referenced by cylinder().


The documentation for this class was generated from the following files:
Generated on Sat Aug 28 20:00:13 2010 for pbrt by  doxygen 1.6.3