openscenegraph
Public Types | Public Member Functions | Public Attributes
osgPresentation::LayerAttributes Struct Reference
Inheritance diagram for osgPresentation::LayerAttributes:
osg::Referenced

List of all members.

Public Types

typedef std::vector< KeyPositionKeys
typedef std::vector< std::string > RunStrings
typedef std::list
< osg::ref_ptr< LayerCallback > > 
LayerCallbacks

Public Member Functions

 LayerAttributes ()
 LayerAttributes (double in_duration)
void setDuration (double duration)
double getDuration () const
void setKeys (const Keys &keys)
const KeysgetKeys () const
void addKey (const KeyPosition &kp)
void setRunStrings (const RunStrings &runStrings)
const RunStringsgetRunStrings () const
void addRunString (const std::string &runString)
void setJump (bool relativeJump, int slideNum, int layerNum)
bool getRelativeJump () const
int getSlideNum () const
int getLayerNum () const
bool requiresJump () const
void addEnterCallback (LayerCallback *lc)
void addLeaveCallback (LayerCallback *lc)
void callEnterCallbacks (osg::Node *node)
void callLeaveCallbacks (osg::Node *node)

Public Attributes

double _duration
Keys _keys
RunStrings _runStrings
bool _relativeJump
int _slideNum
int _layerNum
LayerCallbacks _enterLayerCallbacks
LayerCallbacks _leaveLayerCallbacks

Member Typedef Documentation

typedef std::vector<std::string> osgPresentation::LayerAttributes::RunStrings

Constructor & Destructor Documentation

osgPresentation::LayerAttributes::LayerAttributes ( double  in_duration) [inline]

Member Function Documentation

void osgPresentation::LayerAttributes::addRunString ( const std::string &  runString) [inline]
void osgPresentation::LayerAttributes::setDuration ( double  duration) [inline]
void osgPresentation::LayerAttributes::setJump ( bool  relativeJump,
int  slideNum,
int  layerNum 
) [inline]
void osgPresentation::LayerAttributes::setKeys ( const Keys keys) [inline]
void osgPresentation::LayerAttributes::setRunStrings ( const RunStrings runStrings) [inline]

Member Data Documentation


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