From Cedric Pinson, remove unsused method in Bone class\nadd namespace osgAnimation for Timeline constructors\nadd OSGANIMATION_EXPORT on VertexInfluence and Timeline class

This commit is contained in:
Cedric Pinson 2009-04-10 15:30:02 +00:00
parent 5d512b44c9
commit bc39983030
4 changed files with 4 additions and 6 deletions

View File

@ -223,8 +223,6 @@ namespace osgAnimation
inline bool needToComputeBindMatrix() { return _needToRecomputeBindMatrix;} inline bool needToComputeBindMatrix() { return _needToRecomputeBindMatrix;}
virtual void computeBindMatrix(); virtual void computeBindMatrix();
bool needLink() const;
void setNeedToComputeBindMatrix(bool state) { _needToRecomputeBindMatrix = state; } void setNeedToComputeBindMatrix(bool state) { _needToRecomputeBindMatrix = state; }
/** Add Node to Group. /** Add Node to Group.

View File

@ -162,7 +162,7 @@ namespace osgAnimation
}; };
class Timeline : public osg::Object class OSGANIMATION_EXPORT Timeline : public osg::Object
{ {
public: public:

View File

@ -52,7 +52,7 @@ namespace osgAnimation
// this class manage VertexInfluence database by mesh // this class manage VertexInfluence database by mesh
// reference bones per vertex ... // reference bones per vertex ...
class VertexInfluenceSet class OSGANIMATION_EXPORT VertexInfluenceSet
{ {
public: public:
typedef std::vector<VertexInfluence> BoneToVertexList; typedef std::vector<VertexInfluence> BoneToVertexList;

View File

@ -18,7 +18,7 @@
using namespace osgAnimation; using namespace osgAnimation;
Timeline::Timeline() osgAnimation::Timeline::Timeline()
{ {
_lastUpdate = 0; _lastUpdate = 0;
_currentFrame = 0; _currentFrame = 0;
@ -32,7 +32,7 @@ Timeline::Timeline()
setName("Timeline"); setName("Timeline");
} }
Timeline::Timeline(const Timeline& nc,const osg::CopyOp& op) : osg::Object(nc, op), osgAnimation::Timeline::Timeline(const Timeline& nc,const osg::CopyOp& op) : osg::Object(nc, op),
_actions(nc._actions) _actions(nc._actions)
{ {
_lastUpdate = 0; _lastUpdate = 0;