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 
41  const std::string &name,
42  const std::vector<int> &flags);
43  virtual ~HOM_ChannelGraphSelection();
44 
46 
47  bool operator==(
48  const HOM_ChannelGraphSelection& p) const;
49  bool operator==(
51  bool operator!=(
53 
54  HOM_Parm* parm();
55  std::string path();
56 
57  std::vector< HOM_ElemPtr<HOM_BaseKeyframe> > keyframes();
58 
59  std::vector<int> flags();
60  void setFlags(const std::vector<int> &flags);
61 
62  std::vector<int> values();
63  std::vector<int> timeMarks();
64  std::vector<int> slopes();
65  std::vector<int> accelerations();
66  std::vector<int> segments();
67 
68  std::vector<int> inValues();
69  std::vector<int> inSlopes();
70  std::vector<int> inAccelerations();
71 
72  std::vector<int> outValues();
73  std::vector<int> outSlopes();
74  std::vector<int> outAccelerations();
75 
76  void selectValues(const std::vector<int> &sel, bool in=true, bool out=true);
77  void selectTimeMarks(const std::vector<int> &sel);
78  void selectSlopes(const std::vector<int> &sel, bool in=true, bool out=true);
79  void selectAccelerations(const std::vector<int> &sel, bool in=true, bool out=true);
80  void selectSegments(const std::vector<int> &sel);
81 
82  void deselectValues(const std::vector<int> &sel, bool in=true, bool out=true);
83  void deselectTimeMarks(const std::vector<int> &sel);
84  void deselectSlopes(const std::vector<int> &sel, bool in=true, bool out=true);
85  void deselectAccelerations(const std::vector<int> &sel, bool in=true, bool out=true);
86  void deselectSegments(const std::vector<int> &sel);
87 
88 private:
89 
90  std::string myName;
91  std::vector<int> myFlags;
92 };
93 
94 #endif
95 
96 
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:349
#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