9 #ifndef __HOM_playbar_h__
10 #define __HOM_playbar_h__
41 virtual bool isPlaying() = 0;
42 virtual void play() = 0;
43 virtual void stop() = 0;
46 virtual void jumpToNextKeyframe() = 0;
47 virtual void jumpToPreviousKeyframe() = 0;
52 virtual double frameIncrement() = 0;
53 virtual void setFrameIncrement(
double increment) = 0;
55 SWIGOUT(%newobject playbackRange;)
57 virtual void setPlaybackRange(
double start,
double end) = 0;
59 virtual bool isRangeRestricted() = 0;
60 virtual void setRestrictRange(
bool on) = 0;
62 virtual bool usesIntegerFrames() = 0;
63 virtual void setUseIntegerFrames(
bool on) = 0;
65 virtual bool isRealTime() = 0;
66 virtual void setRealTime(
bool on) = 0;
68 virtual double realTimeFactor() = 0;
69 virtual void setRealTimeFactor(
double factor) = 0;
71 virtual bool isRealTimeSkipping() = 0;
72 virtual void setRealTimeSkipping(
bool on) = 0;
74 virtual bool isAudioShown() = 0;
75 virtual void showAudio(
bool on) = 0;
76 virtual bool areKeysShown() = 0;
77 virtual void showKeys(
bool on) = 0;
78 virtual bool isSimCacheShown() = 0;
79 virtual void showSimCache(
bool on) = 0;
80 virtual bool isRangeSliderShown() = 0;
81 virtual void showRangeSlider(
bool on) = 0;
82 virtual bool areTicksShown() = 0;
83 virtual void showTicks(
bool on) = 0;
85 virtual void moveToBottom() = 0;
86 virtual void moveToPane(
HOM_Pane &pane) = 0;
89 virtual void addOpaqueEventCallback(
void *callback) = 0;
91 virtual void removeOpaqueEventCallback(
void *callback) = 0;
93 virtual std::vector<void *> opaqueEventCallbacks() = 0;
95 virtual void clearOpaqueEventCallbacks() = 0;
100 void addEventCallback(InterpreterObject callback)
101 {
self->addOpaqueEventCallback(callback); }
103 void removeEventCallback(InterpreterObject callback)
104 {
self->removeOpaqueEventCallback(callback); }
106 void clearEventCallbacks()
107 {
self->clearOpaqueEventCallbacks(); }
111 std::vector<InterpreterObject> eventCallbacks()
113 std::vector<void *> opaque_callbacks(self->opaqueEventCallbacks());
115 std::vector<InterpreterObject> callbacks;
116 for (
int i=0; i< opaque_callbacks.size(); ++i)
117 callbacks.push_back((InterpreterObject)opaque_callbacks[i]);
125 std::vector< HOM_ElemPtr<HOM_BaseKeyframe> >
126 > selectedKeyframes() = 0;
128 SWIGOUT(%newobject selectionRange;)
131 virtual std::vector<HOM_ElemPtr<HOM_Vector2> > selectionRanges() = 0;
133 SWIGOUT(%newobject timelineRange;)
138 virtual void setTimeRange(
double start,
double end) = 0;
140 SWIGOUT(%newobject frameRange;)
142 virtual void setFrameRange(
double start,
double end) = 0;
151 const std::vector<HOM_Node*> &nodes) = 0;
153 const std::vector<HOM_Parm*> &parms) = 0;
155 const std::vector<HOM_ParmTuple*> &parms) = 0;
157 virtual bool isAnimBarShown() = 0;
158 virtual void showAnimBar(
bool show) = 0;
GLsizei const GLchar *const * string
void reverse(I begin, I end)
string __repr__(VtArray< T > const &self)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)