osgTerrain::HeightFieldLayer Class Reference

Inheritance diagram for osgTerrain::HeightFieldLayer:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 HeightFieldLayer ()
 HeightFieldLayer (const HeightFieldLayer &hfLayer, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.
 META_Object (osgTerrain, HeightFieldLayer)
void setFileName (const std::string &filename)
virtual const
std::string & 
getFileName () const
virtual bool transform (float offset, float scale)
void setHeightField (osg::HeightField *hf)
osg::HeightFieldgetHeightField ()
const osg::HeightFieldgetHeightField () const
virtual unsigned int getNumColumns () const
virtual unsigned int getNumRows () const
virtual bool getValue (unsigned int i, unsigned int j, float &value) const
virtual bool getValue (unsigned int i, unsigned int j, osg::Vec2 &value) const
virtual bool getValue (unsigned int i, unsigned int j, osg::Vec3 &value) const
virtual bool getValue (unsigned int i, unsigned int j, osg::Vec4 &value) const
virtual void dirty ()
 increment the modified count.
virtual void setModifiedCount (unsigned int value)
 Set the modified count value.
virtual unsigned int getModifiedCount () const
 Get modified count value.

Protected Member Functions

virtual ~HeightFieldLayer ()

Protected Attributes

unsigned int _modifiedCount
osg::ref_ptr
< osg::HeightField
_heightField


Constructor & Destructor Documentation

osgTerrain::HeightFieldLayer::HeightFieldLayer (  ) 

osgTerrain::HeightFieldLayer::HeightFieldLayer ( const HeightFieldLayer hfLayer,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual osgTerrain::HeightFieldLayer::~HeightFieldLayer (  )  [inline, protected, virtual]


Member Function Documentation

osgTerrain::HeightFieldLayer::META_Object ( osgTerrain  ,
HeightFieldLayer   
)

void osgTerrain::HeightFieldLayer::setFileName ( const std::string &  filename  )  [inline, virtual]

Reimplemented from osgTerrain::Layer.

virtual const std::string& osgTerrain::HeightFieldLayer::getFileName (  )  const [inline, virtual]

Reimplemented from osgTerrain::Layer.

virtual bool osgTerrain::HeightFieldLayer::transform ( float  offset,
float  scale 
) [virtual]

Reimplemented from osgTerrain::Layer.

void osgTerrain::HeightFieldLayer::setHeightField ( osg::HeightField hf  ) 

osg::HeightField* osgTerrain::HeightFieldLayer::getHeightField (  )  [inline]

const osg::HeightField* osgTerrain::HeightFieldLayer::getHeightField (  )  const [inline]

virtual unsigned int osgTerrain::HeightFieldLayer::getNumColumns (  )  const [inline, virtual]

Reimplemented from osgTerrain::Layer.

virtual unsigned int osgTerrain::HeightFieldLayer::getNumRows (  )  const [inline, virtual]

Reimplemented from osgTerrain::Layer.

virtual bool osgTerrain::HeightFieldLayer::getValue ( unsigned int  i,
unsigned int  j,
float &  value 
) const [virtual]

Reimplemented from osgTerrain::Layer.

virtual bool osgTerrain::HeightFieldLayer::getValue ( unsigned int  i,
unsigned int  j,
osg::Vec2 value 
) const [virtual]

Reimplemented from osgTerrain::Layer.

virtual bool osgTerrain::HeightFieldLayer::getValue ( unsigned int  i,
unsigned int  j,
osg::Vec3 value 
) const [virtual]

Reimplemented from osgTerrain::Layer.

virtual bool osgTerrain::HeightFieldLayer::getValue ( unsigned int  i,
unsigned int  j,
osg::Vec4 value 
) const [virtual]

Reimplemented from osgTerrain::Layer.

virtual void osgTerrain::HeightFieldLayer::dirty (  )  [virtual]

increment the modified count.

"

Reimplemented from osgTerrain::Layer.

virtual void osgTerrain::HeightFieldLayer::setModifiedCount ( unsigned int   )  [virtual]

Set the modified count value.

Reimplemented from osgTerrain::Layer.

virtual unsigned int osgTerrain::HeightFieldLayer::getModifiedCount (  )  const [virtual]

Get modified count value.

Reimplemented from osgTerrain::Layer.


Member Data Documentation

unsigned int osgTerrain::HeightFieldLayer::_modifiedCount [protected]

osg::ref_ptr<osg::HeightField> osgTerrain::HeightFieldLayer::_heightField [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:47 2007 for the OpenSceneGraph by doxygen 1.5.3.