#include <vtkTexture.h>
Inheritance diagram for vtkTexture:
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.)
Definition at line 90 of file vtkTexture.h.
|
|
|
|
|
Definition at line 161 of file vtkTexture.h. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkMesaTexture, and vtkOpenGLTexture. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkMesaTexture, and vtkOpenGLTexture. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkMesaTexture, and vtkOpenGLTexture. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkMesaTexture, and vtkOpenGLTexture. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkMesaTexture, and vtkOpenGLTexture. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. |
|
Renders a texture map. It first checks the object's modified time to make sure the texture maps Input is valid, then it invokes the Load() method. |
|
Release any graphics resources that are being consumed by this texture. The parameter window could be used to determine which graphic resources to release. Reimplemented in vtkMesaTexture, and vtkOpenGLTexture. Definition at line 105 of file vtkTexture.h. |
|
Abstract interface to renderer. Each concrete subclass of vtkTexture will load its data into graphics system in response to this method invocation. Reimplemented in vtkMesaTexture, and vtkOpenGLTexture. Definition at line 110 of file vtkTexture.h. |
|
Turn on/off the repetition of the texture map when the texture coords extend beyond the [0,1] range. |
|
|
|
|
|
|
|
Turn on/off linear interpolation of the texture map when rendering. |
|
|
|
|
|
|
|
Force texture quality to 16-bit or 32-bit. This might not be supported on all machines. |
|
|
|
Definition at line 127 of file vtkTexture.h. |
|
Definition at line 128 of file vtkTexture.h. |
|
Definition at line 129 of file vtkTexture.h. |
|
Turn on/off the mapping of color scalars through the lookup table. The default is Off. If Off, unsigned char scalars will be used directly as texture. If On, scalars will be mapped through the lookup table to generate 4-component unsigned char scalars. This ivar does not affect other scalars like unsigned short, float, etc. These scalars are always mapped through lookup tables. |
|
|
|
|
|
|
|
Specify the data for the texture map. |
|
|
|
Definition at line 144 of file vtkTexture.h. |
|
Specify the lookup table to convert scalars if necessary |
|
|
|
Get Mapped Scalars |
|
Map scalar values into color scalars. |
|
Definition at line 162 of file vtkTexture.h. |
|
Definition at line 164 of file vtkTexture.h. |
|
Definition at line 165 of file vtkTexture.h. |
|
Definition at line 166 of file vtkTexture.h. |
|
Definition at line 167 of file vtkTexture.h. |
|
Definition at line 168 of file vtkTexture.h. |
|
Definition at line 169 of file vtkTexture.h. |
|
Definition at line 170 of file vtkTexture.h. |
|
Definition at line 173 of file vtkTexture.h. |