9 #ifndef __HOM_viewportVisualizers_h__
10 #define __HOM_viewportVisualizers_h__
37 HOM_EnumValue &category=HOM_viewportVisualizerCategory::Common,
40 SWIGOUT(%newobject createVisualizer;)
41 SWIGOUT(%kwargs createVisualizer;)
44 HOM_EnumValue &category=HOM_viewportVisualizerCategory::Common,
47 SWIGOUT(%newobject copyVisualizer;)
48 SWIGOUT(%kwargs copyVisualizer;)
52 virtual std::vector<HOM_ElemPtr<HOM_ViewportVisualizerType> >
types() = 0;
58 SWIGOUT(%kwargs isCategoryActive;)
59 virtual bool isCategoryActive(
62 SWIGOUT(%kwargs setIsCategoryActive;)
63 virtual void setIsCategoryActive(
67 SWIGOUT(%newobject visualizerBySessionId;)
71 virtual void addOpaqueEventCallback(
72 const std::vector<HOM_EnumValue *> &event_types,
77 virtual void removeOpaqueEventCallback(
78 const std::vector<HOM_EnumValue *> &event_types,
82 SWIGOUT(%kwargs removeAllEventCallbacks;)
83 virtual void removeAllEventCallbacks(
84 HOM_EnumValue &category=HOM_viewportVisualizerCategory::Common,
87 virtual std::vector<std::pair<std::vector<HOM_EnumValue *>,
void *> >
95 SWIGOUT(%kwargs addEventCallback;)
96 void addEventCallback(
97 const std::vector<HOM_EnumValue *> &event_types,
98 InterpreterObject callback,
99 HOM_EnumValue &category=HOM_viewportVisualizerCategory::Common,
101 {
self->addOpaqueEventCallback(event_types, callback, category, node); }
103 SWIGOUT(%kwargs removeEventCallback;)
104 void removeEventCallback(
105 const std::vector<HOM_EnumValue *> &event_types,
106 InterpreterObject callback,
107 HOM_EnumValue &category=HOM_viewportVisualizerCategory::Common,
109 {
self->removeOpaqueEventCallback(event_types, callback, category, node); }
111 SWIGOUT(%kwargs removeEventCallback;)
112 std::vector<std::pair<std::vector<HOM_EnumValue *>, InterpreterObject> >
114 HOM_EnumValue &category=HOM_viewportVisualizerCategory::Common,
117 std::vector<std::pair<std::vector<HOM_EnumValue *>,
void *> >
118 opaque_callbacks(self->opaqueEventCallbacks(category, node));
120 std::vector<std::pair<std::vector<HOM_EnumValue *>, InterpreterObject> >
122 for (
int i=0; i< opaque_callbacks.size(); ++i)
123 callbacks.push_back(std::make_pair(
124 opaque_callbacks[i].first,
125 (InterpreterObject)opaque_callbacks[i].second));
virtual ~HOM_viewportVisualizers()
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
GLsizei GLsizei GLchar * source
GLuint const GLchar * name
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
GLsizei GLenum GLenum * types