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 
28  DECLARE_FILTER_OP(RU_SubPixelOp, override)
29 
30  void setWeights(float x, float y);
31 
32  // Parameters.
33  float mySubPixelWeights[4];
34 };
35 
36 
37 #endif
#define RU_API
Definition: RU_API.h:10
GLint y
Definition: glcorearb.h:103
#define DECLARE_FILTER_OP(name, override_)
GLint GLenum GLint x
Definition: glcorearb.h:409