Public Member Functions | Static Public Member Functions

hfield::Heightfield Class Reference
[Wavepacket Heightfield Library]

A logical heightfield. More...

#include <heightfield.h>

Inheritance diagram for hfield::Heightfield:
Inheritance graph
[legend]

List of all members.

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< Heightfieldcreate (IO nstream::Stream *stream)
 Create a heightfield from a named stream.

Detailed Description

A logical heightfield.

Definition at line 72 of file heightfield.h.


Constructor & Destructor Documentation

hfield::Heightfield::~Heightfield ( void   )  throw () [virtual]

Definition at line 41 of file heightfield.cpp.


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