A logical heightfield. More...
#include <heightfield.h>
Public Member Functions | |
virtual | ~Heightfield (void) throw () |
virtual void | dump (IN const char *txt) const =0 throw () |
virtual int | getWidth (void) const =0 throw () |
virtual int | getLength (void) const =0 throw () |
virtual float | getXZScale (void) const =0 throw () |
virtual float | getYScale (void) const =0 throw () |
virtual short | getMinHeight (void) const =0 throw () |
virtual short | getMaxHeight (void) const =0 throw () |
virtual const short * | getHeightArray (void) const =0 throw () |
returns raw height values, NOT multipled by yScale yet | |
virtual smart_ptr < nstream::Manager > | getStreamManager (void)=0 throw () |
virtual const char * | getHeightfieldPath (void) const =0 throw () |
virtual const char * | getTexturePath (void) const =0 throw () |
virtual float | getHeight (IN float x, IN float z) const =0 throw () |
returns true height values, already multiplied by yScale | |
Static Public Member Functions | |
static smart_ptr< Heightfield > | create (IO nstream::Stream *stream) |
Create a heightfield from a named stream. |
A logical heightfield.
Definition at line 72 of file heightfield.h.
hfield::Heightfield::~Heightfield | ( | void | ) | throw () [virtual] |
Definition at line 41 of file heightfield.cpp.