Documentation for vtkTextureMapToBox

vtkTextureMapToBox - generate 3D texture coordinates by mapping points into bounding box

Super Class: vtkDataSetToDataSetFilter

Description:

vtkTextureMapToBox is a filter that generates 3D texture coordinates by mapping input dataset points onto a bounding box. The bounding box can either be user specified or generated automatically. If the box is generated automatically, all points will lie inside of it. If a point lies outside the bounding box (only for manual box specification), its generated texture coordinate will be mapped into the r-s-t texture coordinate range.

 

See Also:

vtkTextureMapToPlane vtkTextureMapToCylinder vtkTextureMapToSphere vtkThresholdTextureCoords

 

Methods:

void vtkTextureMapToBox ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkTextureMapToBox *New ()
void SetBox (float ,float ,float ,float ,float ,float )
void SetBox (float *)
float *GetBox ()
void SetRRange (float ,float )
void SetRRange (float *)
float *GetRRange ()
void SetSRange (float ,float )
void SetSRange (float *)
float *GetSRange ()
void SetTRange (float ,float )
void SetTRange (float *)
float *GetTRange ()
void SetAutomaticBoxGeneration (int )
int GetAutomaticBoxGeneration ()
void AutomaticBoxGenerationOn ()
void AutomaticBoxGenerationOff ()
void Execute ()

 

Detailed Method Descriptions:

Construct with r-s-t range=(0,1) and automatic box generation turned on.

static vtkTextureMapToBox *New ()

Specify the bounding box to map into.

void SetBox (float ,float ,float ,float ,float ,float )
void SetBox (float *)
float *GetBox ()

Specify r-coordinate range for texture r-s-t coordinate triplet.

void SetRRange (float ,float )
void SetRRange (float *)
float *GetRRange ()

Specify s-coordinate range for texture r-s-t coordinate triplet.

void SetSRange (float ,float )
void SetSRange (float *)
float *GetSRange ()

Specify t-coordinate range for texture r-s-t coordinate triplet.

void SetTRange (float ,float )
void SetTRange (float *)
float *GetTRange ()

Turn on/off automatic bounding box generation.

void SetAutomaticBoxGeneration (int )
int GetAutomaticBoxGeneration ()
void AutomaticBoxGenerationOn ()
void AutomaticBoxGenerationOff ()