41 #include "vtkRenderingCoreModule.h"
45 VTK_ABI_NAMESPACE_BEGIN
54 #define VTK_TEXTURE_QUALITY_DEFAULT 0
55 #define VTK_TEXTURE_QUALITY_16BIT 16
56 #define VTK_TEXTURE_QUALITY_32BIT 32
105 vtkGetMacro(Mipmap,
bool);
106 vtkSetMacro(Mipmap,
bool);
107 vtkBooleanMacro(Mipmap,
bool);
117 vtkSetMacro(MaximumAnisotropicFiltering,
float);
118 vtkGetMacro(MaximumAnisotropicFiltering,
float);
126 vtkSetMacro(Quality,
int);
127 vtkGetMacro(Quality,
int);
144 vtkSetMacro(ColorMode,
int);
145 vtkGetMacro(ColorMode,
int);
175 unsigned char* MapScalarsToColors(
vtkDataArray* scalars);
192 VTK_TEXTURE_BLENDING_MODE_NONE = 0,
198 VTK_TEXTURE_BLENDING_MODE_SUBTRACT
206 vtkGetMacro(BlendingMode,
int);
207 vtkSetMacro(BlendingMode,
int);
215 vtkGetMacro(PremultipliedAlpha,
bool);
216 vtkSetMacro(PremultipliedAlpha,
bool);
217 vtkBooleanMacro(PremultipliedAlpha,
bool);
228 vtkGetMacro(RestrictPowerOf2ImageSmaller,
vtkTypeBool);
229 vtkSetMacro(RestrictPowerOf2ImageSmaller,
vtkTypeBool);
230 vtkBooleanMacro(RestrictPowerOf2ImageSmaller,
vtkTypeBool);
239 virtual int IsTranslucent();
253 vtkGetMacro(CubeMap,
bool);
254 vtkBooleanMacro(CubeMap,
bool);
255 void SetCubeMap(
bool val);
265 vtkGetMacro(UseSRGBColorSpace,
bool);
266 vtkSetMacro(UseSRGBColorSpace,
bool);
267 vtkBooleanMacro(UseSRGBColorSpace,
bool);
279 vtkSetVector4Macro(BorderColor,
float);
280 vtkGetVector4Macro(BorderColor,
float);
306 vtkGetMacro(Wrap,
int);
307 vtkSetClampMacro(Wrap,
int, ClampToEdge, ClampToBorder);
336 float BorderColor[4];
361 VTK_ABI_NAMESPACE_END
float MaximumAnisotropicFiltering
#define VTK_COLOR_MODE_DIRECT_SCALARS
virtual void PostRender(vtkRenderer *)
Cleans up after the texture rendering to restore the state of the graphics context.
VTKTextureBlendingMode
Used to specify how the texture will blend its RGB and Alpha values with other textures and the fragm...
#define VTK_TEXTURE_QUALITY_16BIT
void SetQualityTo16Bit()
Force texture quality to 16-bit or 32-bit.
void SetColorModeToDirectScalars()
Default: ColorModeToDefault.
virtual void SetRepeat(vtkTypeBool r)
Convenience functions to maintain backwards compatibility.
virtual void EdgeClampOff()
Convenience functions to maintain backwards compatibility.
record modification and/or execution time
vtkScalarsToColors * LookupTable
int TranslucentCachedResult
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this texture.
vtkDataObject * GetInput()
Get a data object for one of the input port connections.
abstract specification for renderers
virtual void RepeatOn()
Convenience functions to maintain backwards compatibility.
virtual void EdgeClampOn()
Convenience functions to maintain backwards compatibility.
virtual void SetEdgeClamp(vtkTypeBool)
Convenience functions to maintain backwards compatibility.
virtual void Load(vtkRenderer *)
Abstract interface to renderer.
#define VTK_TEXTURE_QUALITY_DEFAULT
Superclass for mapping scalar values to colors.
window superclass for vtkRenderWindow
virtual void RepeatOff()
Convenience functions to maintain backwards compatibility.
#define VTK_COLOR_MODE_MAP_SCALARS
#define VTK_MARSHALMANUAL
virtual vtkTypeBool GetEdgeClamp()
Convenience functions to maintain backwards compatibility.
a simple class to control print indentation
topologically and geometrically regular array of data
vtkTimeStamp TranslucentComputationTime
abstract superclass for arrays of numeric data
handles properties associated with a texture map
void SetQualityToDefault()
Force texture quality to 16-bit or 32-bit.
#define VTK_COLOR_MODE_DEFAULT
void SetColorModeToMapScalars()
Default: ColorModeToDefault.
vtkUnsignedCharArray * MappedScalars
dynamic, self-adjusting array of unsigned char
virtual int GetTextureUnit()
Return the texture unit used for this texture.
int SelfAdjustingTableRange
void SetQualityTo32Bit()
Force texture quality to 16-bit or 32-bit.
void ExecuteData(vtkDataObject *) override
This method is the old style execute method, provided for the sake of backwards compatibility with ol...
vtkTypeBool RestrictPowerOf2ImageSmaller
Generic algorithm superclass for image algs.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_TEXTURE_QUALITY_32BIT
general representation of visualization data
virtual vtkTypeBool GetRepeat()
Convenience functions to maintain backwards compatibility.
void SetColorModeToDefault()
Default: ColorModeToDefault.