51 #ifndef __vtkTexture_h
52 #define __vtkTexture_h
64 #define VTK_TEXTURE_QUALITY_DEFAULT 0
65 #define VTK_TEXTURE_QUALITY_16BIT 16
66 #define VTK_TEXTURE_QUALITY_32BIT 32
97 vtkGetMacro(Repeat,
int);
98 vtkSetMacro(Repeat,
int);
99 vtkBooleanMacro(Repeat,
int);
106 vtkGetMacro(EdgeClamp,
int);
107 vtkSetMacro(EdgeClamp,
int);
108 vtkBooleanMacro(EdgeClamp,
int);
113 vtkGetMacro(Interpolate,
int);
114 vtkSetMacro(Interpolate,
int);
115 vtkBooleanMacro(Interpolate,
int);
121 vtkSetMacro(Quality,
int);
122 vtkGetMacro(Quality,
int);
135 vtkGetMacro(MapColorScalarsThroughLookupTable,
int);
136 vtkSetMacro(MapColorScalarsThroughLookupTable,
int);
137 vtkBooleanMacro(MapColorScalarsThroughLookupTable,
int);
160 unsigned char *MapScalarsToColors (
vtkDataArray *scalars);
175 VTK_TEXTURE_BLENDING_MODE_NONE = 0,
181 VTK_TEXTURE_BLENDING_MODE_SUBTRACT
189 vtkGetMacro(BlendingMode,
int);
190 vtkSetMacro(BlendingMode,
int);
196 vtkGetMacro(PremultipliedAlpha,
bool);
197 vtkSetMacro(PremultipliedAlpha,
bool);
198 vtkBooleanMacro(PremultipliedAlpha,
bool);
207 vtkGetMacro(RestrictPowerOf2ImageSmaller,
int);
208 vtkSetMacro(RestrictPowerOf2ImageSmaller,
int);
209 vtkBooleanMacro(RestrictPowerOf2ImageSmaller,
int);
215 virtual int IsTranslucent();