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
ViewBlendColourMap
getViewBlendColourMap () 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]

ViewBlendColourMap osgText::FadeText::_viewBlendColourMap [mutable, protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:48 2007 for the OpenSceneGraph by doxygen 1.5.3.