List of all members.
Constructor & Destructor Documentation
osgVolume::ImageLayer::ImageLayer |
( |
osg::Image * |
image = 0 | ) |
|
osgVolume::ImageLayer::ImageLayer |
( |
const ImageLayer & |
imageLayer, |
|
|
const osg::CopyOp & |
copyop = osg::CopyOp::SHALLOW_COPY |
|
) |
| |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osgVolume::ImageLayer::~ImageLayer |
( |
| ) |
[inline, protected, virtual] |
Member Function Documentation
Compute the min and max pixel colors.
virtual void osgVolume::ImageLayer::dirty |
( |
| ) |
[virtual] |
virtual const std::string& osgVolume::ImageLayer::getFileName |
( |
| ) |
const [inline, virtual] |
virtual osg::Image* osgVolume::ImageLayer::getImage |
( |
| ) |
[inline, virtual] |
virtual const osg::Image* osgVolume::ImageLayer::getImage |
( |
| ) |
const [inline, virtual] |
virtual unsigned int osgVolume::ImageLayer::getModifiedCount |
( |
| ) |
const [virtual] |
const osg::Vec4& osgVolume::ImageLayer::getTexelOffset |
( |
| ) |
const [inline] |
const osg::Vec4& osgVolume::ImageLayer::getTexelScale |
( |
| ) |
const [inline] |
osgVolume::ImageLayer::META_Object |
( |
osgVolume |
, |
|
|
ImageLayer |
|
|
) |
| |
void osgVolume::ImageLayer::offsetAndScaleImage |
( |
const osg::Vec4 & |
offset, |
|
|
const osg::Vec4 & |
scale |
|
) |
| |
Apply color transformation to pixels using c' = offset + c * scale .
virtual bool osgVolume::ImageLayer::requiresUpdateTraversal |
( |
| ) |
const [virtual] |
void osgVolume::ImageLayer::rescaleToZeroToOneRange |
( |
| ) |
|
Compute the min max range of the image, and then remap this to a 0 to 1 range.
void osgVolume::ImageLayer::setFileName |
( |
const std::string & |
filename | ) |
[inline, virtual] |
Set the file name of the data associated with this layer.
Reimplemented from osgVolume::Layer.
void osgVolume::ImageLayer::setImage |
( |
osg::Image * |
image | ) |
|
virtual void osgVolume::ImageLayer::setModifiedCount |
( |
unsigned int |
| ) |
[virtual] |
void osgVolume::ImageLayer::setTexelOffset |
( |
const osg::Vec4 & |
offset | ) |
[inline] |
void osgVolume::ImageLayer::setTexelScale |
( |
const osg::Vec4 & |
scale | ) |
[inline] |
void osgVolume::ImageLayer::translateMinToZero |
( |
| ) |
|
Compute the min color component of the image and then translate and pixels by this offset to make the new min component 0.
Member Data Documentation
The documentation for this class was generated from the following file: