Go to the documentation of this file.
55 #include "vtkRenderingCoreModule.h"
66 #define VTK_TEXTURE_QUALITY_DEFAULT 0
67 #define VTK_TEXTURE_QUALITY_16BIT 16
68 #define VTK_TEXTURE_QUALITY_32BIT 32
109 vtkGetMacro(Repeat,
int);
121 vtkGetMacro(EdgeClamp,
int);
130 vtkGetMacro(Interpolate,
int);
141 vtkGetMacro(Quality,
int);
159 vtkGetMacro(MapColorScalarsThroughLookupTable,
int);
160 vtkSetMacro(MapColorScalarsThroughLookupTable,
int);
188 unsigned char* MapScalarsToColors(
vtkDataArray* scalars);
205 VTK_TEXTURE_BLENDING_MODE_NONE = 0,
211 VTK_TEXTURE_BLENDING_MODE_SUBTRACT
219 vtkGetMacro(BlendingMode,
int);
228 vtkGetMacro(PremultipliedAlpha,
bool);
241 vtkGetMacro(RestrictPowerOf2ImageSmaller,
int);
252 virtual int IsTranslucent();
290 void operator=(
const vtkTexture&) VTK_DELETE_FUNCTION;
@ VTK_TEXTURE_BLENDING_MODE_ADD_SIGNED
@ VTK_TEXTURE_BLENDING_MODE_ADD
int SelfAdjustingTableRange
vtkTimeStamp TranslucentComputationTime
record modification and/or execution time
dynamic, self-adjusting array of unsigned char
abstract superclass for arrays of numeric data
Generic algorithm superclass for image algs.
vtkUnsignedCharArray * MappedScalars
vtkDataObject * GetInput()
window superclass for vtkRenderWindow
#define VTK_TEXTURE_QUALITY_DEFAULT
handles properties associated with a texture map
virtual void ExecuteData(vtkDataObject *)
This method is the old style execute method, provided for the sake of backwards compatibility with ol...
topologically and geometrically regular array of data
a simple class to control print indentation
VTKTextureBlendingMode
Used to specify how the texture will blend its RGB and Alpha values with other textures and the fragm...
virtual void PostRender(vtkRenderer *)
Cleans up after the texture rendering to restore the state of the graphics context.
Superclass for mapping scalar values to colors.
virtual void Load(vtkRenderer *)
Abstract interface to renderer.
@ VTK_TEXTURE_BLENDING_MODE_INTERPOLATE
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
int TranslucentCachedResult
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAlgorithm * New()
int MapColorScalarsThroughLookupTable
#define VTK_TEXTURE_QUALITY_32BIT
vtkScalarsToColors * LookupTable
abstract specification for renderers
virtual int GetTextureUnit()
Return the texture unit used for this texture.
@ VTK_TEXTURE_BLENDING_MODE_REPLACE
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this texture.
general representation of visualization data
@ VTK_TEXTURE_BLENDING_MODE_MODULATE
int RestrictPowerOf2ImageSmaller
void SetQualityToDefault()
#define VTK_TEXTURE_QUALITY_16BIT