DifferentialGeometry Struct Reference

#include <diffgeom.h>

List of all members.

Public Member Functions

 DifferentialGeometry ()
 DifferentialGeometry (const Point &P, const Vector &DPDU, const Vector &DPDV, const Normal &DNDU, const Normal &DNDV, float uu, float vv, const Shape *sh)
void ComputeDifferentials (const RayDifferential &r) const

Public Attributes

Point p
Normal nn
float u
float v
const Shapeshape
Vector dpdu
Vector dpdv
Normal dndu
Normal dndv
Vector dpdx
Vector dpdy
float dudx
float dvdx
float dudy
float dvdy

Detailed Description

Definition at line 36 of file diffgeom.h.


Constructor & Destructor Documentation

DifferentialGeometry::DifferentialGeometry (  )  [inline]

Definition at line 37 of file diffgeom.h.

References shape, u, and v.

DifferentialGeometry::DifferentialGeometry ( const Point P,
const Vector DPDU,
const Vector DPDV,
const Normal DNDU,
const Normal DNDV,
float  uu,
float  vv,
const Shape sh 
)

Member Function Documentation

void DifferentialGeometry::ComputeDifferentials ( const RayDifferential r  )  const

Member Data Documentation

float DifferentialGeometry::dudx [mutable]
float DifferentialGeometry::dudy [mutable]
float DifferentialGeometry::dvdx [mutable]
float DifferentialGeometry::dvdy [mutable]

Definition at line 49 of file diffgeom.h.

Referenced by Material::Bump(), DifferentialGeometry(), and Triangle::GetShadingGeometry().


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