osgText::FadeText Class Reference

Inheritance diagram for osgText::FadeText:

osgText::Text osgText::TextBase osg::Drawable osg::Object osg::Referenced

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)
float getFadeSpeed () const
virtual void drawImplementation (osg::RenderInfo &renderInfo) const

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

osgText::FadeText::META_Object ( osgText  ,
FadeText   
) [inline]

Set the speed that the alpha value changes as the text is occluded or becomes visible.

float osgText::FadeText::getFadeSpeed (  )  const [inline]

Get the speed that the alpha value changes.

virtual void osgText::FadeText::drawImplementation ( osg::RenderInfo renderInfo  )  const [virtual]

Draw the text.

Reimplemented from osgText::Text.

void osgText::FadeText::init (  )  [protected]

ViewBlendColourMap& osgText::FadeText::getViewBlendColourMap (  )  [inline, protected]

const ViewBlendColourMap& osgText::FadeText::getViewBlendColourMap (  )  const [inline, protected]


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:

Generated on Wed Nov 17 16:52:53 2010 for openscenegraph by  doxygen 1.5.6