Added empty() method as a convinience method for setting checking whether

an animation path contains any control points
This commit is contained in:
Robert Osfield
2004-03-26 10:48:29 +00:00
parent 29cee0c15f
commit c46855976c

View File

@@ -167,6 +167,8 @@ class SG_EXPORT AnimationPath : public virtual osg::Object
const TimeControlPointMap& getTimeControlPointMap() const { return _timeControlPointMap; }
bool empty() const { return _timeControlPointMap.empty(); }
/** read the anumation path from a flat ascii file stream.*/
void read(std::istream& in);