|
openscenegraph
|
Protected Member Functions | |
| virtual | ~ImageLayer () |
Protected Member Functions inherited from osgVolume::Layer | |
| virtual | ~Layer () |
Protected Member Functions inherited from osg::Object | |
| virtual | ~Object () |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes | |
| osg::Vec4 | _texelOffset |
| osg::Vec4 | _texelScale |
| osg::ref_ptr< osg::Image > | _image |
Protected Attributes inherited from osgVolume::Layer | |
| std::string | _filename |
| osg::ref_ptr< Locator > | _locator |
| osg::Vec4 | _defaultValue |
| osg::Texture::FilterMode | _minFilter |
| osg::Texture::FilterMode | _magFilter |
| osg::ref_ptr< Property > | _property |
Protected Attributes inherited from osg::Object | |
| std::string | _name |
| DataVariance | _dataVariance |
| osg::UserDataContainer * | _userDataContainer |
Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
Public Types inherited from osg::Object | |
| enum | DataVariance { DYNAMIC, STATIC, UNSPECIFIED } |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
| 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.
|
inlineprotectedvirtual |
Compute the min and max pixel colors.
|
virtual |
increment the modified count."
Reimplemented from osgVolume::Layer.
|
inlinevirtual |
Get the file name of the layer.
Reimplemented from osgVolume::Layer.
|
inlinevirtual |
Return image associated with layer.
Reimplemented from osgVolume::Layer.
|
inlinevirtual |
Return const image associated with layer.
Reimplemented from osgVolume::Layer.
|
virtual |
Get modified count value.
Reimplemented from osgVolume::Layer.
|
inline |
|
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 |
Specify whether ImageLayer requires update traversal.
Reimplemented from osgVolume::Layer.
| void osgVolume::ImageLayer::rescaleToZeroToOneRange | ( | ) |
Compute the min max range of the image, and then remap this to a 0 to 1 range.
|
inlinevirtual |
Set the file name of the data associated with this layer.
Reimplemented from osgVolume::Layer.
| void osgVolume::ImageLayer::setImage | ( | osg::Image * | image | ) |
|
virtual |
Set the modified count value.
Reimplemented from osgVolume::Layer.
|
inline |
|
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.
|
virtual |
Call update on the Layer.
Reimplemented from osgVolume::Layer.
|
protected |
|
protected |
|
protected |
1.8.1.2