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 (  )  [inline]

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


Member Function Documentation

void osgPresentation::LayerAttributes::setDuration ( double  duration  )  [inline]

double osgPresentation::LayerAttributes::getDuration (  )  const [inline]

void osgPresentation::LayerAttributes::setKeys ( const Keys keys  )  [inline]

const Keys& osgPresentation::LayerAttributes::getKeys (  )  const [inline]

void osgPresentation::LayerAttributes::addKey ( const KeyPosition kp  )  [inline]

void osgPresentation::LayerAttributes::setRunStrings ( const RunStrings runStrings  )  [inline]

const RunStrings& osgPresentation::LayerAttributes::getRunStrings (  )  const [inline]

void osgPresentation::LayerAttributes::addRunString ( const std::string &  runString  )  [inline]

void osgPresentation::LayerAttributes::setJump ( bool  relativeJump,
int  slideNum,
int  layerNum 
) [inline]

bool osgPresentation::LayerAttributes::getRelativeJump (  )  const [inline]

int osgPresentation::LayerAttributes::getSlideNum (  )  const [inline]

int osgPresentation::LayerAttributes::getLayerNum (  )  const [inline]

bool osgPresentation::LayerAttributes::requiresJump (  )  const [inline]

void osgPresentation::LayerAttributes::addEnterCallback ( LayerCallback lc  )  [inline]

void osgPresentation::LayerAttributes::addLeaveCallback ( LayerCallback lc  )  [inline]

void osgPresentation::LayerAttributes::callEnterCallbacks ( osg::Node node  ) 

void osgPresentation::LayerAttributes::callLeaveCallbacks ( osg::Node node  ) 


Member Data Documentation


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

Generated on Fri Mar 19 19:52:58 2010 for openscenegraph by  doxygen 1.5.6