class OSGTERRAIN_EXPORT osgTerrain::HeightFieldNode

Terrain provides a framework for loosly coupling height field data with height rendering algorithms.

Inheritance:


Public Methods

[more] HeightFieldNode()
[more] HeightFieldNode(const HeightFieldNode&, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
[more] META_Node(osgTerrain, HeightFieldNode)
[more]virtual void traverse(osg::NodeVisitor& nv)
[more]void setHeightField(osg::HeightField* heightField)
Set the HeightField for this HeightFieldNode.
[more]osg::HeightField* getHeightField()
Get the HeightField
[more]const osg::HeightField* getHeightField() const
Get the const HeightField
[more]void heightFieldHasBeenModified()
Tell the Renderer that the height field has been modified, so that any cached data will need updating
[more]void setRenderer(osgTerrain::HeightFieldRenderer* renderer)
Set the Renderer
[more]HeightFieldRenderer* getRenderer()
Get the Renderer
[more]const HeightFieldRenderer* getRenderer() const
Get the const Renderer
[more]void setBaseTextureImage(osg::Image* image)
[more]osg::Image* getBaseTextureImage()
[more]const osg::Image* getBaseTextureImage() const
[more]void setDetailTextureImage(osg::Image* image)
[more]osg::Image* getDetailTextureImage()
[more]const osg::Image* getDetailTextureImage() const
[more]void setCloudShadowTextureImage(osg::Image* image)
[more]osg::Image* getCloudShadowTextureImage()
[more]const osg::Image* getCloudShadowTextureImage() const
[more]void setNormalMapImage(osg::Image* image)
[more]osg::Image* getNormalMapImage()
[more]const osg::Image* getNormalMapImage() const
[more]void computeNormalMap()

Protected Fields

[more]osg::ref_ptr<osg::HeightField> _heightField
[more]osg::ref_ptr<HeightFieldRenderer> _renderer
[more]osg::ref_ptr<osg::Image> _baseTextureImage
[more]osg::ref_ptr<osg::Image> _detailTextureImage
[more]osg::ref_ptr<osg::Image> _cloudShadowTextureImage
[more]osg::ref_ptr<osg::Image> _normalMapImage

Protected Methods

[more]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.
o HeightFieldNode()

o HeightFieldNode(const HeightFieldNode&, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

o META_Node(osgTerrain, HeightFieldNode)

ovirtual void traverse(osg::NodeVisitor& nv)

ovoid setHeightField(osg::HeightField* heightField)
Set the HeightField for this HeightFieldNode. If a Renderer is attached then this will be notified.

oosg::HeightField* getHeightField()
Get the HeightField

oconst osg::HeightField* getHeightField() const
Get the const HeightField

ovoid heightFieldHasBeenModified()
Tell the Renderer that the height field has been modified, so that any cached data will need updating

ovoid setRenderer(osgTerrain::HeightFieldRenderer* renderer)
Set the Renderer

oHeightFieldRenderer* getRenderer()
Get the Renderer

oconst HeightFieldRenderer* getRenderer() const
Get the const Renderer

ovoid setBaseTextureImage(osg::Image* image)

oosg::Image* getBaseTextureImage()

oconst osg::Image* getBaseTextureImage() const

ovoid setDetailTextureImage(osg::Image* image)

oosg::Image* getDetailTextureImage()

oconst osg::Image* getDetailTextureImage() const

ovoid setCloudShadowTextureImage(osg::Image* image)

oosg::Image* getCloudShadowTextureImage()

oconst osg::Image* getCloudShadowTextureImage() const

ovoid setNormalMapImage(osg::Image* image)

oosg::Image* getNormalMapImage()

oconst osg::Image* getNormalMapImage() const

ovoid computeNormalMap()

ovirtual ~HeightFieldNode()

oosg::ref_ptr<osg::HeightField> _heightField

oosg::ref_ptr<HeightFieldRenderer> _renderer

oosg::ref_ptr<osg::Image> _baseTextureImage

oosg::ref_ptr<osg::Image> _detailTextureImage

oosg::ref_ptr<osg::Image> _cloudShadowTextureImage

oosg::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++.