55 #include "vtkRenderingCoreModule.h" 67 #define VTK_TEXTURE_QUALITY_DEFAULT 0 68 #define VTK_TEXTURE_QUALITY_16BIT 16 69 #define VTK_TEXTURE_QUALITY_32BIT 32 140 vtkGetMacro(Mipmap,
bool);
141 vtkSetMacro(Mipmap,
bool);
142 vtkBooleanMacro(Mipmap,
bool);
150 vtkSetMacro(Quality,
int);
151 vtkGetMacro(Quality,
int);
171 vtkSetMacro(ColorMode,
int);
172 vtkGetMacro(ColorMode,
int);
205 unsigned char* MapScalarsToColors(
vtkDataArray* scalars);
222 VTK_TEXTURE_BLENDING_MODE_NONE = 0,
228 VTK_TEXTURE_BLENDING_MODE_SUBTRACT
236 vtkGetMacro(BlendingMode,
int);
237 vtkSetMacro(BlendingMode,
int);
245 vtkGetMacro(PremultipliedAlpha,
bool);
246 vtkSetMacro(PremultipliedAlpha,
bool);
247 vtkBooleanMacro(PremultipliedAlpha,
bool);
258 vtkGetMacro(RestrictPowerOf2ImageSmaller,
vtkTypeBool);
259 vtkSetMacro(RestrictPowerOf2ImageSmaller,
vtkTypeBool);
260 vtkBooleanMacro(RestrictPowerOf2ImageSmaller,
vtkTypeBool);
269 virtual int IsTranslucent();
283 vtkGetMacro(CubeMap,
bool);
284 vtkBooleanMacro(CubeMap,
bool);
285 void SetCubeMap(
bool val);
295 vtkGetMacro(UseSRGBColorSpace,
bool);
296 vtkSetMacro(UseSRGBColorSpace,
bool);
297 vtkBooleanMacro(UseSRGBColorSpace,
bool);
#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.
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 Load(vtkRenderer *)
Abstract interface to renderer.
#define VTK_TEXTURE_QUALITY_DEFAULT
Superclass for mapping scalar values to colors.
window superclass for vtkRenderWindow
#define VTK_COLOR_MODE_MAP_SCALARS
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
void SetColorModeToDefault()
Default: ColorModeToDefault.