HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CL_SubRange.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  * NAME: CL_SubRange.h ( CL Library, C++)
7  *
8  * COMMENTS:
9  * class to determine effect rolloff
10  */
11 
12 #ifndef __CL_SubRange__
13 #define __CL_SubRange__
14 
15 #include "CL_API.h"
16 #include "CL_Sequence.h"
17 #include <SYS/SYS_Types.h>
18 
20 {
21 
22 public:
23 
24  CL_SubRange();
25  ~CL_SubRange();
26 
27  void set(fpreal s, fpreal p, fpreal r, fpreal e, fpreal sc,
29  fpreal getEffect(fpreal index) const;
30 
31 private:
32 
33  void sort(void);
34 
35  fpreal myStart;
36  fpreal myPeak;
37  fpreal myRelease;
38  fpreal myEnd;
39  fpreal myScale;
40 
41  CL_BlendFunction myRise;
42  CL_BlendFunction myFall;
43 
44 };
45 
46 
47 #endif
48 
#define CL_API
Definition: CL_API.h:10
double fpreal
Definition: SYS_Types.h:263
GLuint index
Definition: glcorearb.h:785
GLboolean r
Definition: glcorearb.h:1221
CL_BlendFunction
Definition: CL_Sequence.h:19