Teaks to API to make it easier to generate wrappers automatically

This commit is contained in:
Robert Osfield
2004-12-13 01:07:24 +00:00
parent 1c4f615d1a
commit 66396e9452
10 changed files with 117 additions and 28 deletions

View File

@@ -164,6 +164,8 @@ class SG_EXPORT AnimationPath : public virtual osg::Object
typedef std::map<double,ControlPoint> TimeControlPointMap;
void setTimeControlPointMap(TimeControlPointMap& tcpm) { _timeControlPointMap=tcpm; }
TimeControlPointMap& getTimeControlPointMap() { return _timeControlPointMap; }
const TimeControlPointMap& getTimeControlPointMap() const { return _timeControlPointMap; }
@@ -247,6 +249,7 @@ class SG_EXPORT AnimationPathCallback : public NodeCallback
void reset();
void setPause(bool pause);
bool getPause() const { return _pause; }
/** Get the animation time that is used to specify the position along
* the AnimationPath. Animation time is computed from the formula: