Public Types | |
typedef std::vector< KeyPosition > | Keys |
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 Keys & | getKeys () const |
void | addKey (const KeyPosition &kp) |
void | setRunStrings (const RunStrings &runStrings) |
const RunStrings & | getRunStrings () 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 |
typedef std::vector<KeyPosition> osgPresentation::LayerAttributes::Keys |
typedef std::vector<std::string> osgPresentation::LayerAttributes::RunStrings |
typedef std::list< osg::ref_ptr<LayerCallback> > osgPresentation::LayerAttributes::LayerCallbacks |
osgPresentation::LayerAttributes::LayerAttributes | ( | ) | [inline] |
osgPresentation::LayerAttributes::LayerAttributes | ( | double | in_duration | ) | [inline] |
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 | ) |