Public Member Functions | |
ImageLayer () | |
ImageLayer (const ImageLayer &imageLayer, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_Object (osgTerrain, ImageLayer) | |
void | setFileName (const std::string &filename) |
virtual const std::string & | getFileName () const |
virtual bool | transform (float offset, float scale) |
void | setImage (osg::Image *image) |
osg::Image * | getImage () |
const osg::Image * | getImage () 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 | ~ImageLayer () |
Protected Attributes | |
osg::ref_ptr < osg::Image > | _image |
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] |
osgTerrain::ImageLayer::META_Object | ( | osgTerrain | , | |
ImageLayer | ||||
) |
void osgTerrain::ImageLayer::setFileName | ( | const std::string & | filename | ) | [inline, virtual] |
Reimplemented from osgTerrain::Layer.
virtual const std::string& osgTerrain::ImageLayer::getFileName | ( | ) | const [inline, virtual] |
Reimplemented from osgTerrain::Layer.
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.
virtual void osgTerrain::ImageLayer::dirty | ( | ) | [virtual] |
virtual void osgTerrain::ImageLayer::setModifiedCount | ( | unsigned int | ) | [virtual] |
virtual unsigned int osgTerrain::ImageLayer::getModifiedCount | ( | ) | const [virtual] |
osg::ref_ptr<osg::Image> osgTerrain::ImageLayer::_image [protected] |