vtkTexture - handles properties associated with a texture map
Super Class: vtkObject
Description:
vtkTexture is an object that handles loading and binding of texture maps. It obtains its data from an input structured points dataset type. Thus you can create visualization pipelines to read, process, and construct textures. Note that textures will only work if texture coordinates are also defined, and if the rendering system supports texture. Instances of vtkTexture are associated with actors via the actor's SetTexture() method. Actors can share texture maps (this is encouraged to save memory resources.)
Caveats:
Currently only 2D texture maps are supported, even though the data pipeline supports 1,2, and 3D texture coordinates. Some renderers such as OpenGL require that the texture map dimensions are a power of two in each direction. Other renderers may have similar (ridiculous) restrictions, so be careful out there...
See Also:
Methods:
Detailed Method Descriptions:
void Render (vtkRenderer *) |
void Load (vtkRenderer *) |
int GetRepeat () | |
void SetRepeat (int ) | |
void RepeatOn () | |
void RepeatOff () |
int GetInterpolate () | |
void SetInterpolate (int ) | |
void InterpolateOn () | |
void InterpolateOff () |
int GetMapColorScalarsThroughLookupTable () | |
void SetMapColorScalarsThroughLookupTable (int ) | |
void MapColorScalarsThroughLookupTableOn () | |
void MapColorScalarsThroughLookupTableOff () |
void SetInput (vtkStructuredPoints *) | |
vtkStructuredPoints *GetInput () |
void SetInput (vtkImageCache *) | |
void SetLookupTable (vtkLookupTable *) | |
vtkLookupTable *GetLookupTable () |
vtkScalars *GetMappedScalars () |
unsigned char *MapScalarsToColors (vtkScalars *) |