9 #ifndef __HOM_AgentRig_h__
10 #define __HOM_AgentRig_h__
32 const std::vector<std::string> &transform_names,
33 const std::vector<std::vector<int> > &hierarchy)
61 virtual int transformCount() = 0;
63 virtual int findTransform(
const std::string &transform_name) = 0;
65 virtual int parentIndex(
int transform) = 0;
66 virtual std::vector<int> childIndices(
int transform) = 0;
68 virtual void setRestLocalTransforms(
69 const std::vector<HOM_Matrix4> &xforms) = 0;
70 SWIGOUT(%newobject restLocalTransform;)
71 virtual HOM_Matrix4 *restLocalTransform(
int i)
const = 0;
72 SWIGOUT(%newobject restWorldTransform;)
73 virtual HOM_Matrix4 *restWorldTransform(
int i)
const = 0;
75 virtual int channelCount() = 0;
77 virtual double channelDefaultValue(
int i) = 0;
78 virtual int channelTransform(
int i) = 0;
79 virtual int findChannel(
const std::string &channel_name) = 0;
82 virtual void addChannel(
const std::string &
name,
double default_value = 0.0,
#define HOM_DESTRUCT_OBJECT(pointer)
GLsizei const GLchar *const * string
GLsizei const GLchar *const * path
string __repr__(VtArray< T > const &self)
virtual int __hash__() const =0
virtual HOM_AgentShapeLibrary * freeze(bool keep_external_ref=false) const =0
#define HOM_CONSTRUCT_OBJECT(pointer)
virtual std::string fileName(bool expanded=false) const =0
GLuint const GLchar * name
GA_API const UT_StringHolder transform
virtual HOM_AgentRig * newAgentRig(const char *path, bool keep_external_ref)=0
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
bool operator!=(HOM_PtrOrNull< HOM_AgentRig > rig) const
HOM_API HOM_Module & HOM()
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.