HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ChannelGraph.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef __HOM_ChannelGraph_h__
10 #define __HOM_ChannelGraph_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_BaseKeyframe.h"
14 #include "HOM_Defines.h"
16 #include "HOM_ElemPtr.h"
17 #include "HOM_PaneTab.h"
18 #include "HOM_Parm.h"
19 #include "HOM_PtrOrNull.h"
20 
21 #include <map>
22 #include <vector>
23 
24 
25 SWIGOUT(%rename(ChannelGraph) HOM_ChannelGraph;)
26 
28 {
29 public:
31  {
33  }
35  {
36  // The only reason we need to explicitly define the copy constructor is
37  // so we can call HOM_CONSTRUCT_OBJECT. Otherwise, the compiler's
38  // built-in version would be fine.
40  }
42  {
44  }
45 
46  virtual bool operator==(HOM_PtrOrNull<HOM_ChannelGraph> graph) = 0;
47  virtual bool operator!=(HOM_PtrOrNull<HOM_ChannelGraph> graph) = 0;
48 
49  virtual int __hash__() = 0;
50  virtual std::string __repr__() = 0;
51 
52  virtual std::map<
54  std::vector< HOM_ElemPtr<HOM_BaseKeyframe> >
55  > selectedKeyframes() = 0;
56 
57  virtual std::vector< HOM_ElemPtr<HOM_ChannelGraphSelection> > selection() = 0;
58  virtual void setSelection( const std::vector<HOM_ChannelGraphSelection*> & s) = 0;
59 
60  virtual HOM_EnumValue &selectionMode() = 0;
61  virtual void setSelectionMode(HOM_EnumValue &mode) = 0;
62 
63  // Retime tool operations
64  virtual std::vector<double> retimeMarkers() = 0;
65  virtual HOM_OptionalIntInterval retimeMarkerSelection() = 0;
66  virtual void setRetimeMarkerSelection(HOM_OptionalIntInterval range) = 0;
67 
68  virtual void insertRetimeMarker(double time) = 0;
69  virtual void deleteRetimeMarker(int index) = 0;
70  virtual void deleteRetimeMarkers(HOM_IntInterval range) = 0;
71  virtual void deleteSelectedRetimeMarkers() = 0;
72  virtual void clearRetimeMarkers() = 0;
73 
74  virtual void moveRetimeMarkers(HOM_IntInterval range, double delta, bool with_keys) = 0;
75  virtual void moveSelectedRetimeMarkers(double delta, bool with_keys) = 0;
76 };
77 
78 #endif // __HOM_ChannelGraph_h__
GT_API const UT_StringHolder selection
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1398
GLenum GLint * range
Definition: glcorearb.h:1925
GT_API const UT_StringHolder time
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
GLdouble s
Definition: glad.h:3009
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:312
virtual ~HOM_ChannelGraph()
UT_Optional< HOM_IntInterval > HOM_OptionalIntInterval
Definition: HOM_Defines.h:49
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1397
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:556
HOM_ChannelGraph(const HOM_ChannelGraph &pane)
GLenum mode
Definition: glcorearb.h:99
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
GLuint index
Definition: glcorearb.h:786
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542