15#include <vsg/animation/Animation.h>
16#include <vsg/animation/Joint.h>
29 std::vector<dmat4> offsetMatrices;
32 void update(
double time)
override;
33 double maxTime()
const override;
39 void read(
Input& input)
override;
40 void write(
Output& output)
const override;
42 void apply(
Node& node)
override;
43 void apply(
Transform& transform)
override;
45 void apply(
Joint& joint)
override;
47 std::vector<dmat4> _matrixStack;
Animation sampler for acumulating vsg::Joint hierarchies and assigned accumulated transform matrices ...
Definition JointSampler.h:23
ref_ptr< Object > clone(const CopyOp ©op={}) const override
Definition JointSampler.h:36
int compare(const Object &rhs) const override
compare two objects, return -1 if this object is less than rhs, return 0 if it's equal,...