Terrain provides a framework for loosly coupling height field data with height rendering algorithms.
Inheritance:
Public Methods
-
HeightFieldNode()
-
HeightFieldNode(const HeightFieldNode&, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
- Copy constructor using CopyOp to manage deep vs shallow copy
-
META_Node(osgTerrain, HeightFieldNode)
-
virtual void traverse(osg::NodeVisitor& nv)
-
void setHeightField(osg::HeightField* heightField)
- Set the HeightField for this HeightFieldNode.
-
osg::HeightField* getHeightField()
- Get the HeightField
-
const osg::HeightField* getHeightField() const
- Get the const HeightField
-
void heightFieldHasBeenModified()
- Tell the Renderer that the height field has been modified, so that any cached data will need updating
-
void setRenderer(osgTerrain::HeightFieldRenderer* renderer)
- Set the Renderer
-
HeightFieldRenderer* getRenderer()
- Get the Renderer
-
const HeightFieldRenderer* getRenderer() const
- Get the const Renderer
-
void setBaseTextureImage(osg::Image* image)
-
osg::Image* getBaseTextureImage()
-
const osg::Image* getBaseTextureImage() const
-
void setDetailTextureImage(osg::Image* image)
-
osg::Image* getDetailTextureImage()
-
const osg::Image* getDetailTextureImage() const
-
void setCloudShadowTextureImage(osg::Image* image)
-
osg::Image* getCloudShadowTextureImage()
-
const osg::Image* getCloudShadowTextureImage() const
-
void setNormalMapImage(osg::Image* image)
-
osg::Image* getNormalMapImage()
-
const osg::Image* getNormalMapImage() const
-
void computeNormalMap()
Protected Fields
-
osg::ref_ptr<osg::HeightField> _heightField
-
osg::ref_ptr<HeightFieldRenderer> _renderer
-
osg::ref_ptr<osg::Image> _baseTextureImage
-
osg::ref_ptr<osg::Image> _detailTextureImage
-
osg::ref_ptr<osg::Image> _cloudShadowTextureImage
-
osg::ref_ptr<osg::Image> _normalMapImage
Protected Methods
-
virtual ~HeightFieldNode()
Documentation
Terrain provides a framework for loosly coupling height field data with height rendering algorithms.
This allows renderer's to be pluged in at runtime.
- HeightFieldNode()
- HeightFieldNode(const HeightFieldNode&, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
- Copy constructor using CopyOp to manage deep vs shallow copy
- META_Node(osgTerrain, HeightFieldNode)
- virtual void traverse(osg::NodeVisitor& nv)
- void setHeightField(osg::HeightField* heightField)
- Set the HeightField for this HeightFieldNode.
If a Renderer is attached then this will be notified.
- osg::HeightField* getHeightField()
- Get the HeightField
- const osg::HeightField* getHeightField() const
- Get the const HeightField
- void heightFieldHasBeenModified()
- Tell the Renderer that the height field has been modified, so
that any cached data will need updating
- void setRenderer(osgTerrain::HeightFieldRenderer* renderer)
- Set the Renderer
- HeightFieldRenderer* getRenderer()
- Get the Renderer
- const HeightFieldRenderer* getRenderer() const
- Get the const Renderer
- void setBaseTextureImage(osg::Image* image)
- osg::Image* getBaseTextureImage()
- const osg::Image* getBaseTextureImage() const
- void setDetailTextureImage(osg::Image* image)
- osg::Image* getDetailTextureImage()
- const osg::Image* getDetailTextureImage() const
- void setCloudShadowTextureImage(osg::Image* image)
- osg::Image* getCloudShadowTextureImage()
- const osg::Image* getCloudShadowTextureImage() const
- void setNormalMapImage(osg::Image* image)
- osg::Image* getNormalMapImage()
- const osg::Image* getNormalMapImage() const
- void computeNormalMap()
- virtual ~HeightFieldNode()
- osg::ref_ptr<osg::HeightField> _heightField
- osg::ref_ptr<HeightFieldRenderer> _renderer
- osg::ref_ptr<osg::Image> _baseTextureImage
- osg::ref_ptr<osg::Image> _detailTextureImage
- osg::ref_ptr<osg::Image> _cloudShadowTextureImage
- osg::ref_ptr<osg::Image> _normalMapImage
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.