HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
23
class
RU_API
RU_SubPixel
:
public
RU_Algorithm
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
RU_SubPixel
Definition:
RU_SubPixel.h:23
RU_Algorithm.h
RU_Algorithm
Definition:
RU_Algorithm.h:29
RU_API
#define RU_API
Definition:
RU_API.h:10
y
GLint y
Definition:
glcorearb.h:103
RU_API.h
UT_FilterType.h
DECLARE_FILTER_OP
#define DECLARE_FILTER_OP(name, override_)
Definition:
RU_AlgorithmMacros.h:53
x
GLint GLenum GLint x
Definition:
glcorearb.h:409
RU
RU_SubPixel.h
Generated on Tue Dec 17 2024 03:41:45 for HDK by
1.8.6