HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RU_SubPixel.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: RU_SubPixel.h
7  *
8  * COMMENTS:
9  * Does a subpixel interpolation. Requires a region 1 pixel larger in X and
10  * Y then the tile. The weights are arranged in a 2x2 matrix of:
11  *
12  * 0 1
13  * 2 3
14  */
15 #ifndef RU_SUBPIXEL_H
16 #define RU_SUBPIXEL_H
17 
18 #include "RU_API.h"
19 #include <UT/UT_FilterType.h>
20 
21 #include "RU_Algorithm.h"
22 
24 {
25 public:
26  RU_SubPixel();
27  virtual ~RU_SubPixel();
28 
29  DECLARE_FILTER_OP(RU_SubPixelOp)
30 
31  void setWeights(float x, float y);
32 
33  // Parameters.
34  float mySubPixelWeights[4];
35 };
36 
37 
38 #endif
#define DECLARE_FILTER_OP(name)
#define RU_API
Definition: RU_API.h:10
GLint y
Definition: glcorearb.h:102
GLint GLenum GLint x
Definition: glcorearb.h:408