HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ChannelGraphSelection.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_ChannelGraphSelection_h__
10 #define __HOM_ChannelGraphSelection_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Module.h"
15 #include "HOM_Errors.h"
16 #include "HOM_ElemPtr.h"
17 #include "HOM_PtrOrNull.h"
18 #include "HOM_Parm.h"
19 #include "HOM_BaseKeyframe.h"
20 #include <vector>
21 
22 SWIGOUT(%feature("notabstract") HOM_ChannelGraphSelection;)
23 SWIGOUT(%rename(ChannelGraphSelection) HOM_ChannelGraphSelection;)
24 
26 {
27 public:
28 #ifdef SWIG
29 %extend
30 {
32  {
33  return new HOM_ChannelGraphSelection();
34  }
35 }
36 #else
38 #endif
39 
40  HOM_ChannelGraphSelection(const std::string &name, const std::vector<int> flags);
41  virtual ~HOM_ChannelGraphSelection();
42 
44 
45  bool operator==(
46  const HOM_ChannelGraphSelection& p) const;
47  bool operator==(
49  bool operator!=(
51 
52  HOM_Parm* parm();
53  std::string path();
54 
55  std::vector< HOM_ElemPtr<HOM_BaseKeyframe> > keyframes();
56 
57  std::vector<int> flags();
58  void setFlags(const std::vector<int> &flags);
59 
60  std::vector<int> values();
61  std::vector<int> timeMarks();
62  std::vector<int> slopes();
63  std::vector<int> accelerations();
64  std::vector<int> segments();
65 
66  std::vector<int> inValues();
67  std::vector<int> inSlopes();
68  std::vector<int> inAccelerations();
69 
70  std::vector<int> outValues();
71  std::vector<int> outSlopes();
72  std::vector<int> outAccelerations();
73 
74  void selectValues(const std::vector<int> &sel, bool in=true, bool out=true);
75  void selectTimeMarks(const std::vector<int> &sel);
76  void selectSlopes(const std::vector<int> &sel, bool in=true, bool out=true);
77  void selectAccelerations(const std::vector<int> &sel, bool in=true, bool out=true);
78  void selectSegments(const std::vector<int> &sel);
79 
80  void deselectValues(const std::vector<int> &sel, bool in=true, bool out=true);
81  void deselectTimeMarks(const std::vector<int> &sel);
82  void deselectSlopes(const std::vector<int> &sel, bool in=true, bool out=true);
83  void deselectAccelerations(const std::vector<int> &sel, bool in=true, bool out=true);
84  void deselectSegments(const std::vector<int> &sel);
85 
86 private:
87 
88  std::string myName;
89  std::vector<int> myFlags;
90 };
91 
92 #endif
93 
94 
GLbitfield flags
Definition: glcorearb.h:1596
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
GLsizei const GLchar *const * path
Definition: glcorearb.h:3341
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
#define HOM_API
Definition: HOM_API.h:13
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:556
GLuint const GLchar * name
Definition: glcorearb.h:786
GLenum GLsizei GLsizei GLint * values
Definition: glcorearb.h:1602
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542