transform (scale, rotate, translate) texture coordinates
More...
#include <vtkTransformTextureCoords.h>
Inherits vtkDataSetAlgorithm.
transform (scale, rotate, translate) texture coordinates
vtkTransformTextureCoords is a filter that operates on texture coordinates. It ingests any type of dataset, and outputs a dataset of the same type. The filter lets you scale, translate, and rotate texture coordinates. For example, by using the the Scale ivar, you can shift texture coordinates that range from (0->1) to range from (0->10) (useful for repeated patterns).
The filter operates on texture coordinates of dimension 1->3. The texture coordinates are referred to as r-s-t. If the texture map is two dimensional, the t-coordinate (and operations on the t-coordinate) are ignored.
- See Also
- vtkTextureMapToPlane vtkTextureMapToCylinder vtkTextureMapToSphere vtkThresholdTextureCoords vtkTexture
- Examples:
- vtkTransformTextureCoords (Examples)
- Tests:
- vtkTransformTextureCoords (Tests)
Definition at line 46 of file vtkTransformTextureCoords.h.
vtkTransformTextureCoords::vtkTransformTextureCoords |
( |
| ) |
|
|
protected |
vtkTransformTextureCoords::~vtkTransformTextureCoords |
( |
| ) |
|
|
inlineprotected |
static int vtkTransformTextureCoords::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkTransformTextureCoords::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkTransformTextureCoords::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkTransformTextureCoords::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Create instance with Origin (0.5,0.5,0.5); Position (0,0,0); and Scale set to (1,1,1). Rotation of the texture coordinates is turned off.
virtual void vtkTransformTextureCoords::SetPosition |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Set/Get the position of the texture map. Setting the position translates the texture map by the amount specified.
virtual void vtkTransformTextureCoords::SetPosition |
( |
double |
[3] | ) |
|
|
virtual |
Set/Get the position of the texture map. Setting the position translates the texture map by the amount specified.
virtual double* vtkTransformTextureCoords::GetPosition |
( |
| ) |
|
|
virtual |
Set/Get the position of the texture map. Setting the position translates the texture map by the amount specified.
virtual void vtkTransformTextureCoords::GetPosition |
( |
double |
data[3] | ) |
|
|
virtual |
Set/Get the position of the texture map. Setting the position translates the texture map by the amount specified.
void vtkTransformTextureCoords::AddPosition |
( |
double |
deltaR, |
|
|
double |
deltaS, |
|
|
double |
deltaT |
|
) |
| |
Incrementally change the position of the texture map (i.e., does a translate or shift of the texture coordinates).
void vtkTransformTextureCoords::AddPosition |
( |
double |
deltaPosition[3] | ) |
|
Incrementally change the position of the texture map (i.e., does a translate or shift of the texture coordinates).
virtual void vtkTransformTextureCoords::SetScale |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Set/Get the scale of the texture map. Scaling in performed independently on the r, s and t axes.
virtual void vtkTransformTextureCoords::SetScale |
( |
double |
[3] | ) |
|
|
virtual |
Set/Get the scale of the texture map. Scaling in performed independently on the r, s and t axes.
virtual double* vtkTransformTextureCoords::GetScale |
( |
| ) |
|
|
virtual |
Set/Get the scale of the texture map. Scaling in performed independently on the r, s and t axes.
virtual void vtkTransformTextureCoords::GetScale |
( |
double |
data[3] | ) |
|
|
virtual |
Set/Get the scale of the texture map. Scaling in performed independently on the r, s and t axes.
virtual void vtkTransformTextureCoords::SetOrigin |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Set/Get the origin of the texture map. This is the point about which the texture map is flipped (e.g., rotated). Since a typical texture map ranges from (0,1) in the r-s-t coordinates, the default origin is set at (0.5,0.5,0.5).
virtual void vtkTransformTextureCoords::SetOrigin |
( |
double |
[3] | ) |
|
|
virtual |
Set/Get the origin of the texture map. This is the point about which the texture map is flipped (e.g., rotated). Since a typical texture map ranges from (0,1) in the r-s-t coordinates, the default origin is set at (0.5,0.5,0.5).
virtual double* vtkTransformTextureCoords::GetOrigin |
( |
| ) |
|
|
virtual |
Set/Get the origin of the texture map. This is the point about which the texture map is flipped (e.g., rotated). Since a typical texture map ranges from (0,1) in the r-s-t coordinates, the default origin is set at (0.5,0.5,0.5).
virtual void vtkTransformTextureCoords::GetOrigin |
( |
double |
data[3] | ) |
|
|
virtual |
Set/Get the origin of the texture map. This is the point about which the texture map is flipped (e.g., rotated). Since a typical texture map ranges from (0,1) in the r-s-t coordinates, the default origin is set at (0.5,0.5,0.5).
virtual void vtkTransformTextureCoords::SetFlipR |
( |
int |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the s-axis. Note that the flips occur around the texture origin.
virtual int vtkTransformTextureCoords::GetFlipR |
( |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the s-axis. Note that the flips occur around the texture origin.
virtual void vtkTransformTextureCoords::FlipROn |
( |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the s-axis. Note that the flips occur around the texture origin.
virtual void vtkTransformTextureCoords::FlipROff |
( |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the s-axis. Note that the flips occur around the texture origin.
virtual void vtkTransformTextureCoords::SetFlipS |
( |
int |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the s-axis. Note that the flips occur around the texture origin.
virtual int vtkTransformTextureCoords::GetFlipS |
( |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the s-axis. Note that the flips occur around the texture origin.
virtual void vtkTransformTextureCoords::FlipSOn |
( |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the s-axis. Note that the flips occur around the texture origin.
virtual void vtkTransformTextureCoords::FlipSOff |
( |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the s-axis. Note that the flips occur around the texture origin.
virtual void vtkTransformTextureCoords::SetFlipT |
( |
int |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the t-axis. Note that the flips occur around the texture origin.
virtual int vtkTransformTextureCoords::GetFlipT |
( |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the t-axis. Note that the flips occur around the texture origin.
virtual void vtkTransformTextureCoords::FlipTOn |
( |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the t-axis. Note that the flips occur around the texture origin.
virtual void vtkTransformTextureCoords::FlipTOff |
( |
| ) |
|
|
virtual |
Boolean indicates whether the texture map should be flipped around the t-axis. Note that the flips occur around the texture origin.
int vtkTransformTextureCoords::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
double vtkTransformTextureCoords::Origin[3] |
|
protected |
double vtkTransformTextureCoords::Position[3] |
|
protected |
double vtkTransformTextureCoords::Scale[3] |
|
protected |
int vtkTransformTextureCoords::FlipR |
|
protected |
int vtkTransformTextureCoords::FlipS |
|
protected |
int vtkTransformTextureCoords::FlipT |
|
protected |
The documentation for this class was generated from the following file: