Heightfield Class Reference

#include <heightfield.h>

Inheritance diagram for Heightfield:
Shape ReferenceCounted

List of all members.

Public Member Functions

 Heightfield (const Transform *o2, const Transform *w2o, bool ro, int nu, int nv, const float *zs)
 ~Heightfield ()
bool CanIntersect () const
void Refine (vector< Reference< Shape > > &refined) const
BBox ObjectBound () const

Private Attributes

float * z
int nx
int ny

Detailed Description

Definition at line 35 of file heightfield.h.


Constructor & Destructor Documentation

Heightfield::Heightfield ( const Transform o2,
const Transform w2o,
bool  ro,
int  nu,
int  nv,
const float *  zs 
)

Definition at line 32 of file heightfield.cpp.

References nx, ny, and z.

Heightfield::~Heightfield (  ) 

Definition at line 42 of file heightfield.cpp.

References z.


Member Function Documentation

bool Heightfield::CanIntersect (  )  const [virtual]

Reimplemented from Shape.

Definition at line 57 of file heightfield.cpp.

BBox Heightfield::ObjectBound (  )  const [virtual]

Implements Shape.

Definition at line 47 of file heightfield.cpp.

References nx, ny, and z.

void Heightfield::Refine ( vector< Reference< Shape > > &  refined  )  const [virtual]

Member Data Documentation

int Heightfield::nx [private]

Definition at line 46 of file heightfield.h.

Referenced by Heightfield(), ObjectBound(), and Refine().

int Heightfield::ny [private]

Definition at line 46 of file heightfield.h.

Referenced by Heightfield(), ObjectBound(), and Refine().

float* Heightfield::z [private]

Definition at line 45 of file heightfield.h.

Referenced by Heightfield(), ObjectBound(), Refine(), and ~Heightfield().


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