9 #ifndef __HOM_Selection_h__
10 #define __HOM_Selection_h__
35 const char *selection_string)
38 const std::vector<HOM_EnumValue *> &selection_types,
39 const char *selection_string)
66 HOM_EnumValue &selection_type,
bool select_only_whole=
false) = 0;
69 bool uv_connectivity =
false) = 0;
72 bool uv_connectivity =
false) = 0;
75 bool uv_connectivity =
false) = 0;
80 virtual void clear() = 0;
83 virtual int numSelected() = 0;
85 virtual std::vector<HOM_ElemPtr<HOM_Prim> > prims(
HOM_Geometry &geo) = 0;
87 virtual std::vector<HOM_ElemPtr<HOM_Vertex> > vertices(
HOM_Geometry &geo) = 0;
88 virtual std::vector<HOM_ElemPtr<HOM_Edge> > edges(
HOM_Geometry &geo) = 0;
90 SWIGOUT(%kwargs selectionString;)
92 bool force_numeric =
false,
93 bool collapse_where_possible =
true,
94 bool asterisk_to_select_all =
false) = 0;
GT_API const UT_StringHolder selection
#define HOM_DESTRUCT_OBJECT(pointer)
GLdouble GLdouble GLint GLint const GLdouble * points
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
Tto convert(const Tfrom &source)
#define HOM_CONSTRUCT_OBJECT(pointer)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual HOM_Selection * newSelection(HOM_EnumValue &selection_type, HOM_Geometry *geo, const char *selection_string)=0
HOM_API HOM_Module & HOM()