 |
VTK
9.0.1
|
Go to the documentation of this file.
50 #include "vtkRenderingCoreModule.h"
61 #define VTK_TEXTURE_QUALITY_DEFAULT 0
62 #define VTK_TEXTURE_QUALITY_16BIT 16
63 #define VTK_TEXTURE_QUALITY_32BIT 32
134 vtkGetMacro(Mipmap,
bool);
135 vtkSetMacro(Mipmap,
bool);
136 vtkBooleanMacro(Mipmap,
bool);
146 vtkSetMacro(MaximumAnisotropicFiltering,
float);
147 vtkGetMacro(MaximumAnisotropicFiltering,
float);
155 vtkSetMacro(Quality,
int);
156 vtkGetMacro(Quality,
int);
173 vtkSetMacro(ColorMode,
int);
174 vtkGetMacro(ColorMode,
int);
221 VTK_TEXTURE_BLENDING_MODE_NONE = 0,
227 VTK_TEXTURE_BLENDING_MODE_SUBTRACT
235 vtkGetMacro(BlendingMode,
int);
236 vtkSetMacro(BlendingMode,
int);
244 vtkGetMacro(PremultipliedAlpha,
bool);
245 vtkSetMacro(PremultipliedAlpha,
bool);
246 vtkBooleanMacro(PremultipliedAlpha,
bool);
282 vtkGetMacro(CubeMap,
bool);
283 vtkBooleanMacro(CubeMap,
bool);
294 vtkGetMacro(UseSRGBColorSpace,
bool);
295 vtkSetMacro(UseSRGBColorSpace,
bool);
296 vtkBooleanMacro(UseSRGBColorSpace,
bool);
@ VTK_TEXTURE_BLENDING_MODE_ADD_SIGNED
@ VTK_TEXTURE_BLENDING_MODE_ADD
int SelfAdjustingTableRange
#define VTK_COLOR_MODE_MAP_SCALARS
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetColorModeToDefault()
vtkTypeBool RestrictPowerOf2ImageSmaller
virtual void Render(vtkRenderer *ren)
Renders a texture map.
void ExecuteData(vtkDataObject *) override
This method is the old style execute method, provided for the sake of backwards compatibility with ol...
vtkTimeStamp TranslucentComputationTime
record modification and/or execution time
dynamic, self-adjusting array of unsigned char
unsigned char * MapScalarsToColors(vtkDataArray *scalars)
Map scalar values into color scalars.
abstract superclass for arrays of numeric data
Generic algorithm superclass for image algs.
vtkUnsignedCharArray * MappedScalars
void SetColorModeToDirectScalars()
window superclass for vtkRenderWindow
#define VTK_TEXTURE_QUALITY_DEFAULT
handles properties associated with a texture map
void SetCubeMap(bool val)
void SetColorModeToMapScalars()
float MaximumAnisotropicFiltering
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...
void SetLookupTable(vtkScalarsToColors *)
Specify the lookup table to convert scalars if necessary.
void SetTransform(vtkTransform *transform)
Set a transform on the texture which allows one to scale, rotate and translate the texture.
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
int TranslucentCachedResult
#define VTK_COLOR_MODE_DEFAULT
vtkImageData * GetInput()
Get the input as a vtkImageData object.
#define VTK_TEXTURE_QUALITY_32BIT
vtkScalarsToColors * LookupTable
abstract specification for renderers
static vtkTexture * New()
#define VTK_COLOR_MODE_DIRECT_SCALARS
virtual int IsTranslucent()
Is this Texture Translucent? returns false (0) if the texture is either fully opaque or has only full...
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
void SetQualityToDefault()
#define VTK_TEXTURE_QUALITY_16BIT