osgTerrain::ImageLayer Class Reference

Inheritance diagram for osgTerrain::ImageLayer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ImageLayer ()
 ImageLayer (const ImageLayer &imageLayer, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.
virtual bool transform (float offset, float scale)
void setImage (osg::Image *image)
osg::ImagegetImage ()
const osg::ImagegetImage () 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

Protected Member Functions

virtual ~ImageLayer ()

Protected Attributes

osg::ref_ptr< osg::Image_image

Constructor & Destructor Documentation

osgTerrain::ImageLayer::ImageLayer (  ) 

osgTerrain::ImageLayer::ImageLayer ( const ImageLayer imageLayer,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)

Copy constructor using CopyOp to manage deep vs shallow copy.

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


Member Function Documentation

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

Reimplemented from osgTerrain::Layer.

void osgTerrain::ImageLayer::setImage ( osg::Image image  ) 

osg::Image* osgTerrain::ImageLayer::getImage (  )  [inline]

const osg::Image* osgTerrain::ImageLayer::getImage (  )  const [inline]

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

Reimplemented from osgTerrain::Layer.

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

Reimplemented from osgTerrain::Layer.

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

Reimplemented from osgTerrain::Layer.

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

Reimplemented from osgTerrain::Layer.

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

Reimplemented from osgTerrain::Layer.

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

Reimplemented from osgTerrain::Layer.


Member Data Documentation

osg::ref_ptr<osg::Image> osgTerrain::ImageLayer::_image [protected]


The documentation for this class was generated from the following file:
Generated at Fri Nov 2 23:36:17 2007 for the OpenSceneGraph by doxygen 1.5.2.