HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Track.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_Track_h__
10 #define __HOM_Track_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Color.h"
15 #include "HOM_Errors.h"
16 #include "HOM_Module.h"
17 #include <string>
18 
19 class HOM_ChopNode;
20 class HOM_Clip;
21 
22 SWIGOUT(%rename(Track) HOM_Track;)
23 
25 {
26 public:
28  { HOM_CONSTRUCT_OBJECT(this) }
30  { HOM_CONSTRUCT_OBJECT(this) }
31  virtual ~HOM_Track()
32  { HOM_DESTRUCT_OBJECT(this) }
33 
34  virtual std::string __repr__() = 0;
35 
36  SWIGOUT(%newobject chopNode;)
37  virtual HOM_ChopNode *chopNode() = 0;
38 
39  SWIGOUT(%newobject clip;)
40  virtual HOM_Clip *clip() = 0;
41 
42  virtual std::string name() = 0;
43 
44  SWIGOUT(%warnfilter(321) eval;)
45  virtual double eval() = 0;
46  virtual double evalAtTime(double time) = 0;
47  virtual double evalAtFrame(double frame) = 0;
48  virtual double evalAtSample(double sample) = 0;
49 
50  virtual std::vector<double> evalAtTimeRange(double start, double end) = 0;
51  virtual std::vector<double> evalAtFrameRange(double start, double end) = 0;
52  virtual std::vector<double> evalAtSampleRange(double start, double end) = 0;
53 
54  virtual int numSamples() = 0;
55 
56  virtual std::vector<double> allSamples() = 0;
57 
58  virtual void *_asVoidPointer() = 0;
59 
60  // This method is deprecated $SHC/HOM/hom.i
61  virtual double evalAtSampleIndex(int index) = 0;
62 
63  virtual HOM_EnumValue &extendLeft() const = 0;
64  virtual HOM_EnumValue &extendRight() const = 0;
65 
66  virtual HOM_Parm *overrideParm() const = 0;
67  virtual bool isOverrideActive() const = 0;
68 
69  virtual HOM_Color color() const = 0;
70 
71 };
72 
73 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1343
virtual HOM_ChopNode * chopNode() const =0
GT_API const UT_StringHolder time
GLuint start
Definition: glcorearb.h:475
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:312
HOM_Track(const HOM_Track &)
Definition: HOM_Track.h:29
#define HOM_API
Definition: HOM_API.h:13
GLuint GLuint end
Definition: glcorearb.h:475
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1342
HUSD_API bool eval(VtValue &val, T &ret_val)
GLuint const GLchar * name
Definition: glcorearb.h:786
GLuint color
Definition: glcorearb.h:1261
HOM_Track()
Definition: HOM_Track.h:27
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
GLuint index
Definition: glcorearb.h:786
IMF_EXPORT int numSamples(int s, int a, int b)
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER IMATH_HOSTDEVICE IMATH_CONSTEXPR14 T clip(const T &p, const Box< T > &box) IMATH_NOEXCEPT
Definition: ImathBoxAlgo.h:29
virtual ~HOM_Track()
Definition: HOM_Track.h:31