OpenSceneGraph
3.0.1
|
Public Member Functions | |
FadeText () | |
FadeText (const Text &text, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
META_Object (osgText, FadeText) void setFadeSpeed(float fadeSpeed) | |
Set the speed that the alpha value changes as the text is occluded or becomes visible. | |
float | getFadeSpeed () const |
Get the speed that the alpha value changes. | |
virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
Draw the text. | |
Protected Types | |
typedef std::map< osg::View *, osg::Vec4 > | ViewBlendColourMap |
Protected Member Functions | |
virtual | ~FadeText () |
void | init () |
ViewBlendColourMap & | getViewBlendColourMap () |
const ViewBlendColourMap & | getViewBlendColourMap () const |
Protected Attributes | |
float | _fadeSpeed |
ViewBlendColourMap | _viewBlendColourMap |
Friends | |
struct | FadeTextUpdateCallback |
typedef std::map<osg::View*, osg::Vec4 > osgText::FadeText::ViewBlendColourMap [protected] |
osgText::FadeText::FadeText | ( | ) |
osgText::FadeText::FadeText | ( | const Text & | text, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
virtual osgText::FadeText::~FadeText | ( | ) | [inline, protected, virtual] |
virtual void osgText::FadeText::drawImplementation | ( | osg::RenderInfo & | renderInfo | ) | const [virtual] |
Draw the text.
Reimplemented from osgText::Text.
float osgText::FadeText::getFadeSpeed | ( | ) | const [inline] |
Get the speed that the alpha value changes.
ViewBlendColourMap& osgText::FadeText::getViewBlendColourMap | ( | ) | [inline, protected] |
const ViewBlendColourMap& osgText::FadeText::getViewBlendColourMap | ( | ) | const [inline, protected] |
void osgText::FadeText::init | ( | ) | [protected] |
osgText::FadeText::META_Object | ( | osgText | , |
FadeText | |||
) | [inline] |
Set the speed that the alpha value changes as the text is occluded or becomes visible.
friend struct FadeTextUpdateCallback [friend] |
float osgText::FadeText::_fadeSpeed [protected] |
ViewBlendColourMap osgText::FadeText::_viewBlendColourMap [mutable, protected] |
![]() | Generated at Mon Oct 3 2011 12:39:49 for the OpenSceneGraph by doxygen 1.7.5. |