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;
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.
record modification and/or execution time
vtkScalarsToColors * LookupTable
virtual void ExecuteData(vtkDataObject *)
This method is the old style execute method, provided for the sake of backwards compatibility with ol...
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 Load(vtkRenderer *)
Abstract interface to renderer.
#define VTK_TEXTURE_QUALITY_DEFAULT
Superclass for mapping scalar values to colors.
window superclass for vtkRenderWindow
int MapColorScalarsThroughLookupTable
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.
vtkUnsignedCharArray * MappedScalars
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
int 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
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
general representation of visualization data