9 #ifndef __HOM_PrimGroup_h__
10 #define __HOM_PrimGroup_h__
39 virtual int __hash__() = 0;
48 virtual HOM_IterableList<HOM_Prim> *iterPrims() = 0;
50 virtual std::vector<HOM_ElemPtr<HOM_Prim> > prims() = 0;
54 virtual bool isOrdered() = 0;
58 virtual void add(
const std::vector<HOM_Prim *> &prims) = 0;
62 virtual void remove(
HOM_Prim &prim) = 0;
64 virtual void remove(
const std::vector<HOM_Prim *> &prims) = 0;
68 virtual void clear() = 0;
70 virtual void destroy() = 0;
72 virtual int64 primCount() = 0;
109 virtual HOM_EnumValue &optionType(
const char *option_name) = 0;
117 virtual void removeOption(
const char *
name) = 0;
122 virtual void incrementDataId() = 0;
127 InterpreterObject options()
133 return HOMoptionsToInterpreterObject(options);
136 InterpreterObject option(
const char *option_name)
143 return entry ? HOMoptionEntryToInterpreterObject(*entry)
#define HOM_DESTRUCT_OBJECT(pointer)
void buildFullOptions(UT_Options &fulloptions) const
HOM_PrimGroup(const HOM_PrimGroup &)
hboost::any HOM_UTOptionAny
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
void setImpl(ImplBase *impl)
#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
A map of string to various well defined value types.
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
void clear()
Reset to default.
const UT_OptionEntry * getOptionEntry(const UT_StringRef &name) const
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
bool OIIO_UTIL_API contains(string_view a, string_view b)
Does 'a' contain the string 'b' within it?
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.