#ifndef POSER_H #define POSER_H #include #include "autorigger.h" #include "jointnodetree.h" #include "dust3dutil.h" class Poser : public QObject { Q_OBJECT public: Poser(const std::vector &bones); ~Poser(); const AutoRiggerBone *findBone(const QString &name); int findBoneIndex(const QString &name); const std::vector &bones() const; const std::vector &resultNodes() const; const JointNodeTree &resultJointNodeTree() const; std::map> ¶meters(); virtual void commit(); void reset(); protected: std::vector m_bones; std::map m_boneNameToIndexMap; JointNodeTree m_jointNodeTree; std::map> m_parameters; }; #endif