9 #ifndef __HOM_ChannelList_h__
10 #define __HOM_ChannelList_h__
61 std::vector<HOM_ElemPtr<HOM_Parm> > parms();
62 std::vector<HOM_ElemPtr<HOM_Parm> > selected();
63 std::vector<HOM_ElemPtr<HOM_Parm> > deselected();
64 std::vector<HOM_ElemPtr<HOM_Parm> > pinned();
65 std::vector<HOM_ElemPtr<HOM_Parm> > unpinned();
66 std::vector<HOM_ElemPtr<HOM_Parm> > selectedValue();
67 std::vector<HOM_ElemPtr<HOM_Parm> > deselectedValue();
73 bool valueselected=
false);
79 bool valueselected=
false);
93 void addParms(
const std::vector<HOM_Parm*> &parms,
96 bool valueselected=
false);
99 void addPaths(
const std::vector< std::string > &paths,
102 bool valueselected=
false);
104 void remove(
const std::vector<HOM_Parm*> &parms);
106 void select(
const std::vector<HOM_Parm*> &parms);
107 void deselect(
const std::vector<HOM_Parm*> &parms);
109 void pin(
const std::vector<HOM_Parm*> &parms);
110 void unpin(
const std::vector<HOM_Parm*> &parms);
112 void selectValue(
const std::vector<HOM_Parm*> &parms);
113 void deselectValue(
const std::vector<HOM_Parm*> &parms);
118 bool isValueSelected(
HOM_Parm &parm);
120 SWIGOUT(%kwargs addNodeGeometryChannels;)
123 bool selected =
true,
125 bool valueselected =
false);
127 SWIGOUT(%kwargs addGeometryChannels;)
131 bool selected =
true,
133 bool valueselected =
false);
135 std::vector<HOM_ElemPtr<HOM_ChannelPrim>> geometryChannels(
138 std::vector<std::string> geometryChannelCollectionNames();
140 void removeGeometryChannels(
const std::string &collection_name);
142 void selectGeometryChannel(
const std::string &collection_name,
144 void deselectGeometryChannel(
const std::string &collection_name,
147 void pinGeometryChannel(
const std::string &collection_name,
149 void unpinGeometryChannel(
const std::string &collection_name,
152 void selectGeometryChannelValue(
const std::string &collection_name,
154 void deselectGeometryChannelValue(
const std::string &collection_name,
157 bool containsGeometryChannel(
const std::string &collection_name,
160 bool isGeometryChannelSelected(
const std::string &collection_name,
162 bool isGeometryChannelPinned(
const std::string &collection_name,
164 bool isGeometryChannelValueSelected(
const std::string &collection_name,
169 bool keepSelection();
171 bool filterTranslates();
172 bool filterRotates();
177 void setKeepSelection(
bool value);
178 void setEnableFilter(
bool value);
179 void setFilterTranslates(
bool value);
180 void setFilterRotates(
bool value);
181 void setFilterScales(
bool value);
192 , selectedvalue(false)
227 : myGeometry(nullptr), myNodeId(-1), myPattern(
"")
235 : myGeometry(geometry)
266 std::vector< ChannelInfo > myChannels;
275 bool myKeepSelection;
GLsizei const GLchar *const * string
GLsizei const GLchar *const * path
string __repr__(VtArray< T > const &self)
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
bool operator==(const ChannelInfo &p) const
vint4 select(const vbool4 &mask, const vint4 &a, const vint4 &b)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
UT_UniquePtr< HOM_GUDetailHandle > myGeometry
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
GeometryCollectionInfo(HOM_GUDetailHandle *geometry, int node_id, const UT_StringHolder &pattern)
GLuint const GLchar * name
ChannelInfo(const std::string &n, bool s=true, bool p=false, bool v=false)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
LeafData & operator=(const LeafData &)=delete
UT_StringHolder myPattern
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.
FMT_CONSTEXPR auto find(Ptr first, Ptr last, T value, Ptr &out) -> bool
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
std::vector< ChannelInfo > myChannels