OpenSceneGraph 2.8.4
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends
osgText::FadeText Class Reference
Inheritance diagram for osgText::FadeText:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FadeText ()
 FadeText (const Text &text, const osg::CopyOp &copyop=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 ()
ViewBlendColourMapgetViewBlendColourMap ()
const ViewBlendColourMapgetViewBlendColourMap () const

Protected Attributes

float _fadeSpeed
ViewBlendColourMap _viewBlendColourMap

Friends

struct FadeTextUpdateCallback

Member Typedef Documentation

typedef std::map<osg::View*, osg::Vec4 > osgText::FadeText::ViewBlendColourMap [protected]

Constructor & Destructor Documentation

osgText::FadeText::FadeText ( )
osgText::FadeText::FadeText ( const Text text,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)
virtual osgText::FadeText::~FadeText ( ) [inline, protected, virtual]

Member Function Documentation

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.


Friends And Related Function Documentation

friend struct FadeTextUpdateCallback [friend]

Member Data Documentation

float osgText::FadeText::_fadeSpeed [protected]

The documentation for this class was generated from the following file:

osg logo
Generated at Sun Jan 8 2012 13:16:54 for the OpenSceneGraph by doxygen 1.7.4.