DifferentialGeometry Struct Reference

#include <shape.h>

List of all members.

Public Member Functions

 DifferentialGeometry ()
 DifferentialGeometry (const Point &P, const Vector &DPDU, const Vector &DPDV, const Vector &DNDU, const Vector &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 32 of file shape.h.


Constructor & Destructor Documentation

DifferentialGeometry::DifferentialGeometry (  )  [inline]

Definition at line 33 of file shape.h.

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


Member Function Documentation

void DifferentialGeometry::ComputeDifferentials ( const RayDifferential r  )  const


Member Data Documentation

Definition at line 44 of file shape.h.

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

float DifferentialGeometry::dudx [mutable]

float DifferentialGeometry::dvdx [mutable]

float DifferentialGeometry::dudy [mutable]

float DifferentialGeometry::dvdy [mutable]


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

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