9 #ifndef __HOM_AgentRig_h__
10 #define __HOM_AgentRig_h__
31 const std::vector<std::string> &transform_names,
32 const std::vector<std::vector<int> > &hierarchy)
60 virtual int transformCount() = 0;
62 virtual int findTransform(
const std::string &transform_name) = 0;
64 virtual int parentIndex(
int transform) = 0;
65 virtual std::vector<int> childIndices(
int transform) = 0;
67 virtual int channelCount() = 0;
69 virtual double channelDefaultValue(
int i) = 0;
70 virtual int channelTransform(
int i) = 0;
71 virtual int findChannel(
const std::string &channel_name) = 0;
74 virtual void addChannel(
const std::string &
name,
double default_value = 0.0,
#define HOM_DESTRUCT_OBJECT(pointer)
GLuint const GLchar * name
GLuint GLenum GLenum transform
OIIO_API bool rename(string_view from, string_view to, std::string &err)
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
GLsizei const GLchar *const * path
virtual HOM_AgentRig * newAgentRig(const char *path, bool keep_external_ref)=0
GLsizei const GLchar *const * string
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.