HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 
20 SWIGOUT(%rename(Track) HOM_Track;)
21 
23 {
24 public:
26  { HOM_CONSTRUCT_OBJECT(this) }
28  { HOM_CONSTRUCT_OBJECT(this) }
29  virtual ~HOM_Track()
30  { HOM_DESTRUCT_OBJECT(this) }
31 
32  virtual std::string __repr__() = 0;
33 
34  SWIGOUT(%newobject chopNode;)
35  virtual HOM_ChopNode *chopNode() = 0;
36 
37  virtual std::string name() = 0;
38 
39  virtual double eval() = 0;
40  virtual double evalAtTime(double time) = 0;
41  virtual double evalAtFrame(double frame) = 0;
42  virtual double evalAtSample(double sample) = 0;
43 
44  virtual std::vector<double> evalAtTimeRange(double start, double end) = 0;
45  virtual std::vector<double> evalAtFrameRange(double start, double end) = 0;
46  virtual std::vector<double> evalAtSampleRange(double start, double end) = 0;
47 
48  virtual int numSamples() = 0;
49 
50  virtual std::vector<double> allSamples() = 0;
51 
52  virtual void *_asVoidPointer() = 0;
53 
54  // This method is deprecated $SHC/HOM/hom.i
55  virtual double evalAtSampleIndex(int index) = 0;
56 
57 };
58 
59 #endif
virtual std::string __repr__()=0
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:983
GLuint start
Definition: glcorearb.h:474
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
HOM_Track(const HOM_Track &)
Definition: HOM_Track.h:27
#define HOM_API
Definition: HOM_API.h:13
GLuint GLuint end
Definition: glcorearb.h:474
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:982
GLuint const GLchar * name
Definition: glcorearb.h:785
HOM_Track()
Definition: HOM_Track.h:25
GLuint index
Definition: glcorearb.h:785
IMF_EXPORT int numSamples(int s, int a, int b)
virtual ~HOM_Track()
Definition: HOM_Track.h:29
virtual void * _asVoidPointer()=0