OpenSceneGraph
3.0.1
|
Public Member Functions | |
ContourLayer (osg::TransferFunction1D *tf=0) | |
ContourLayer (const ContourLayer &tfLayer, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_Object (osgTerrain, ContourLayer) | |
virtual bool | transform (float offset, float scale) |
void | setTransferFunction (osg::TransferFunction1D *tf) |
osg::TransferFunction1D * | getTransferFunction () |
const osg::TransferFunction1D * | getTransferFunction () const |
virtual osg::Image * | getImage () |
Return image associated with layer. | |
virtual const osg::Image * | getImage () const |
Return const image associated with layer. | |
virtual unsigned int | getNumColumns () const |
Get the number of columns. | |
virtual unsigned int | getNumRows () const |
Get the number of rows. | |
virtual bool | getValue (unsigned int i, unsigned int j, float &value) const |
Get the layer value at position i,j. | |
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 | ~ContourLayer () |
Protected Attributes | |
osg::ref_ptr < osg::TransferFunction1D > | _tf |
osgTerrain::ContourLayer::ContourLayer | ( | osg::TransferFunction1D * | tf = 0 | ) |
osgTerrain::ContourLayer::ContourLayer | ( | const ContourLayer & | tfLayer, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osgTerrain::ContourLayer::~ContourLayer | ( | ) | [inline, protected, virtual] |
virtual void osgTerrain::ContourLayer::dirty | ( | ) | [virtual] |
virtual osg::Image* osgTerrain::ContourLayer::getImage | ( | ) | [inline, virtual] |
Return image associated with layer.
Reimplemented from osgTerrain::Layer.
References osg::Image::valid().
virtual const osg::Image* osgTerrain::ContourLayer::getImage | ( | ) | const [inline, virtual] |
Return const image associated with layer.
Reimplemented from osgTerrain::Layer.
References osg::Image::valid().
virtual unsigned int osgTerrain::ContourLayer::getModifiedCount | ( | ) | const [virtual] |
Get modified count value.
Reimplemented from osgTerrain::Layer.
virtual unsigned int osgTerrain::ContourLayer::getNumColumns | ( | ) | const [inline, virtual] |
Get the number of columns.
Reimplemented from osgTerrain::Layer.
virtual unsigned int osgTerrain::ContourLayer::getNumRows | ( | ) | const [inline, virtual] |
Get the number of rows.
Reimplemented from osgTerrain::Layer.
osg::TransferFunction1D* osgTerrain::ContourLayer::getTransferFunction | ( | ) | [inline] |
const osg::TransferFunction1D* osgTerrain::ContourLayer::getTransferFunction | ( | ) | const [inline] |
virtual bool osgTerrain::ContourLayer::getValue | ( | unsigned int | , |
unsigned int | , | ||
float & | |||
) | const [virtual] |
Get the layer value at position i,j.
[in] | i | X-axis (or column) index. |
[in] | j | Y-axis (or row) index. |
[out] | value | Returned layer value. |
Reimplemented from osgTerrain::Layer.
virtual bool osgTerrain::ContourLayer::getValue | ( | unsigned int | i, |
unsigned int | j, | ||
osg::Vec2 & | value | ||
) | const [virtual] |
Reimplemented from osgTerrain::Layer.
virtual bool osgTerrain::ContourLayer::getValue | ( | unsigned int | i, |
unsigned int | j, | ||
osg::Vec3 & | value | ||
) | const [virtual] |
Reimplemented from osgTerrain::Layer.
virtual bool osgTerrain::ContourLayer::getValue | ( | unsigned int | i, |
unsigned int | j, | ||
osg::Vec4 & | value | ||
) | const [virtual] |
Reimplemented from osgTerrain::Layer.
osgTerrain::ContourLayer::META_Object | ( | osgTerrain | , |
ContourLayer | |||
) |
virtual void osgTerrain::ContourLayer::setModifiedCount | ( | unsigned int | ) | [virtual] |
Set the modified count value.
Reimplemented from osgTerrain::Layer.
void osgTerrain::ContourLayer::setTransferFunction | ( | osg::TransferFunction1D * | tf | ) |
virtual bool osgTerrain::ContourLayer::transform | ( | float | offset, |
float | scale | ||
) | [virtual] |
Reimplemented from osgTerrain::Layer.
![]() | Generated at Mon Oct 3 2011 12:39:49 for the OpenSceneGraph by doxygen 1.7.5. |