10 #define __HOM_anim_h__
37 virtual std::vector<HOM_ElemPtr<HOM_Bookmark> > bookmarks() = 0;
41 virtual bool saveBookmarks(
43 const std::vector<HOM_Bookmark *> &bookmarks = {},
44 bool include_temporary =
false)
48 virtual bool loadBookmarks(
50 bool remove_existing =
true)
53 SWIGOUT(%kwargs saveBookmarksToString;)
55 const std::vector<HOM_Bookmark *> &bookmarks = {},
56 bool include_temporary =
false,
60 virtual bool loadBookmarksFromString(
62 bool remove_existing =
true)
67 virtual void clearBookmarks() = 0;
69 SWIGOUT(%newobject newBookmark;)
78 SWIGOUT(%newobject getBookmark;)
81 {
return bookmark(bookmark_id); }
83 virtual void removeBookmarks(
84 const std::vector<HOM_Bookmark *> &bm) = 0;
90 virtual void mergeGeometryChannels(
93 const std::vector<std::string> &channel_names = {}) = 0;
99 const std::vector<std::string> &channel_names = {})
100 { mergeGeometryChannels(collection_name, geometry, channel_names); }
102 virtual void setGeometryChannels(
105 const std::vector<std::string> &channel_names) = 0;
107 virtual void setGeometryChannelsFromPattern(
114 virtual void setGeometryChannelPending(
119 virtual bool isGeometryChannelPending(
126 virtual bool isGeometryChannelPinned(
130 virtual std::vector<std::string> pinnedGeometryChannels(
135 {
return pinnedGeometryChannels(collection_name); }
137 virtual void lockGeometryChannelCollection(
138 const std::string &collection_name,
bool lock) = 0;
141 virtual void addOpaqueBookmarksChangedCallback(
void *py_callback) = 0;
143 virtual void removeOpaqueBookmarksChangedCallback(
void *py_callback) = 0;
147 virtual bool addOpaqueGeometryChannelsChangedCallback(
const std::string &collection_name,
void *callback,
bool on_mouse_up) = 0;
148 SWIGOUT(%
ignore removeOpaqueGeometryChannelsChangedCallback;)
149 virtual bool removeOpaqueGeometryChannelsChangedCallback(
const std::string &collection_name,
void *callback,
bool on_mouse_up) = 0;
154 void addBookmarksChangedCallback(InterpreterObject callback)
155 {
self->addOpaqueBookmarksChangedCallback(callback); }
157 void removeBookmarksChangedCallback(InterpreterObject callback)
158 {
self->removeOpaqueBookmarksChangedCallback(callback); }
160 virtual bool addGeometryChannelsChangedCallback(
const std::string &collection_name, InterpreterObject callback,
bool on_mouse_up =
true)
161 {
return self->addOpaqueGeometryChannelsChangedCallback(collection_name, callback, on_mouse_up); }
163 virtual bool removeGeometryChannelsChangedCallback(
const std::string &collection_name, InterpreterObject callback,
bool on_mouse_up =
true)
164 {
return self->removeOpaqueGeometryChannelsChangedCallback(collection_name, callback, on_mouse_up); }
GT_API const UT_StringHolder filename
GLsizei const GLchar *const * string
const GLuint GLenum const void * binary
string __repr__(VtArray< T > const &self)
virtual void getGeometryChannels(const std::string &collection_name, HOM_Geometry &geometry, const std::vector< std::string > &channel_names={})
void ignore(T const &) VULKAN_HPP_NOEXCEPT
GLuint const GLchar * name
virtual std::vector< std::string > getPinnedGeometryChannels(const std::string &collection_name)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
UT_Optional< double > HOM_OptionalDouble
virtual HOM_Bookmark * getBookmark(int64 bookmark_id)