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_Errors.h"
15 #include "HOM_Module.h"
16 #include <string>
17 
18 class HOM_ChopNode;
19 class HOM_Clip;
20 
21 SWIGOUT(%rename(Track) HOM_Track;)
22 
24 {
25 public:
27  { HOM_CONSTRUCT_OBJECT(this) }
29  { HOM_CONSTRUCT_OBJECT(this) }
30  virtual ~HOM_Track()
31  { HOM_DESTRUCT_OBJECT(this) }
32 
33  virtual std::string __repr__() = 0;
34 
35  SWIGOUT(%newobject chopNode;)
36  virtual HOM_ChopNode *chopNode() = 0;
37 
38  SWIGOUT(%newobject clip;)
39  virtual HOM_Clip *clip() = 0;
40 
41  virtual std::string name() = 0;
42 
43  SWIGOUT(%warnfilter(321) eval;)
44  virtual double eval() = 0;
45  virtual double evalAtTime(double time) = 0;
46  virtual double evalAtFrame(double frame) = 0;
47  virtual double evalAtSample(double sample) = 0;
48 
49  virtual std::vector<double> evalAtTimeRange(double start, double end) = 0;
50  virtual std::vector<double> evalAtFrameRange(double start, double end) = 0;
51  virtual std::vector<double> evalAtSampleRange(double start, double end) = 0;
52 
53  virtual int numSamples() = 0;
54 
55  virtual std::vector<double> allSamples() = 0;
56 
57  virtual void *_asVoidPointer() = 0;
58 
59  // This method is deprecated $SHC/HOM/hom.i
60  virtual double evalAtSampleIndex(int index) = 0;
61 
62 };
63 
64 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
virtual HOM_ChopNode * chopNode() const =0
GT_API const UT_StringHolder time
GLuint start
Definition: glcorearb.h:475
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
HOM_Track(const HOM_Track &)
Definition: HOM_Track.h:28
#define HOM_API
Definition: HOM_API.h:13
GLuint GLuint end
Definition: glcorearb.h:475
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
HUSD_API bool eval(VtValue &val, T &ret_val)
GLuint const GLchar * name
Definition: glcorearb.h:786
HOM_Track()
Definition: HOM_Track.h:26
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
GLuint index
Definition: glcorearb.h:786
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:30
virtual int numSamples() const =0