40 #ifndef __RU_FilterArea__
41 #define __RU_FilterArea__
65 void setFilter(
UT_Filter *xfilter,
float xsize,
67 void setWrap(
int xwrap,
int ywrap);
68 void setBorder(
float border[4]);
72 void setTextureCoords(
const float *u,
const float *
v,
74 int in_xres,
int in_yres,
75 const char *
mask = 0);
76 void setFourCornerCoords(
const float *u0,
const float *
v0,
77 const float *
u1,
const float *
v1,
79 int in_xres,
int in_yres,
80 const char *
mask = 0);
83 void getInputRegion(
int &x0,
int &x1,
int &y0,
int &
y1);
89 void sample1(
float *o,
const float *i);
91 void sample3(
UT_Vector3 *o,
const float *i0,
const float *
i1,
94 void sample4(
UT_Vector4 *o,
const float *i0,
const float *i1,
95 const float *i2,
const float *i3);
107 void setupWindow(
float umin,
float umax,
108 float vmin,
float vmax,
109 int &xsize,
int &ysize);
113 float myXSize, myYSize;
117 const float *myUCoord;
118 const float *myVCoord;
126 float myXSupport, myYSupport;
127 float myMinU, myMaxU;
128 float myMinV, myMaxV;
131 int myInXRes, myInYRes;
134 float *myXWindow, *myYWindow;
135 int *myXPixels, *myYPixels;
136 int myXWindowSize, myYWindowSize;
RU_FILTER_WRAP getYWrap()
UT_FilterType getYFilter()
GLint GLint GLsizei GLint border
UT_FilterType getXFilter()
RU_FILTER_WRAP getXWrap()