9 #ifndef __HOM_Vertex_h__
10 #define __HOM_Vertex_h__
51 virtual int linearNumber() = 0;
90 HOM_Attrib &attrib,
const char *attrib_value) = 0;
92 HOM_Attrib &attrib,
const std::vector<int64> &attrib_value) = 0;
94 HOM_Attrib &attrib,
const std::vector<double> &attrib_value) = 0;
96 HOM_Attrib &attrib,
const std::vector<std::string> &attrib_value) = 0;
98 HOM_Attrib &attrib,
const std::map<std::string, hboost::any> &attrib_value) = 0;
100 HOM_Attrib &attrib,
const std::vector<std::map<std::string,hboost::any> > &attrib_value) = 0;
103 const char *attrib_name,
int64 attrib_value) = 0;
105 const char *attrib_name,
double attrib_value) = 0;
107 const char *attrib_name,
const char *attrib_value) = 0;
116 const char *attrib_name,
const std::vector<int64> &attrib_value) = 0;
118 const char *attrib_name,
const std::vector<double> &attrib_value) = 0;
120 const char *attrib_name,
121 const std::vector<std::string> &attrib_value) = 0;
123 const char *attrib_name,
124 const std::map<std::string, hboost::any> &attrib_value) = 0;
126 const char *attrib_name,
127 const std::vector<std::map<std::string,hboost::any> > &attrib_value) = 0;
129 virtual void _attribInfo(
const char *
name,
int &attr_data_type,
int &attr_size,
bool &is_array_type) = 0;
134 InterpreterObject attribValue(
const char *
name)
135 {
return HOMattribValue(*
self, name); }
137 InterpreterObject attribValue(
HOM_Attrib &attrib)
138 {
return HOMattribValue(*
self, attrib); }
SIM_API const UT_StringHolder vertex
#define HOM_DESTRUCT_OBJECT(pointer)
virtual void setAttribValue(HOM_Attrib &attrib, int64 attrib_value)=0
HOM_Vertex(const HOM_Vertex &)
virtual std::vector< int64 > intListAttribValue(const char *name)=0
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
virtual std::vector< double > floatListAttribValue(const char *name)=0
virtual std::vector< std::string > stringListAttribValue(const char *name)=0
virtual double floatAttribValue(const char *name)=0
virtual HOM_Geometry * geometry()=0
virtual std::map< std::string, hboost::any > dictAttribValue(const char *name)=0
virtual HOM_EnumValue & attribType()=0
virtual std::string stringAttribValue(const char *name)=0
#define HOM_CONSTRUCT_OBJECT(pointer)
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
GLuint const GLchar * name
virtual void _attribInfo(const char *name, int &attr_data_type, int &attr_size, bool &is_array_type)=0
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual std::vector< std::map< std::string, hboost::any > > dictListAttribValue(const char *name)=0
virtual int64 intAttribValue(const char *name)=0
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.