Documentation for vtkProjectedTexture

vtkProjectedTexture - assign texture coordinates for a projected texture

Super Class: vtkDataSetToDataSetFilter

Description:

vtkProjectedTexture assigns texture coordinates to a dataset as if the texture was projected from a slide projected located somewhere in the scene. Methods are provided to position the projector and aim it at a location, to set the width of the projector's frustum, and to set the range of texture coordinates assigned to the dataset. Objects in the scene that appear behind the projector are also assigned texture coordinates; the projected image is left-right and top-bottom flipped, much as a lens' focus flips the rays of light that pass through it. A warning is issued if a point in the dataset falls at the focus of the projector.

 

Methods:

void vtkProjectedTexture ()
static vtkProjectedTexture *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetPosition (float ,float ,float )
void SetPosition (float *)
float *GetPosition ()
void SetFocalPoint (float )
void SetFocalPoint (float ,float ,float )
float *GetFocalPoint ()
float *GetOrientation ()
void SetUp (float ,float ,float )
void SetUp (float *)
float *GetUp ()
void SetAspectRatio (float ,float ,float )
void SetAspectRatio (float *)
float *GetAspectRatio ()
void SetSRange (float ,float )
void SetSRange (float *)
float *GetSRange ()
void SetTRange (float ,float )
void SetTRange (float *)
float *GetTRange ()
void Execute ()
void ComputeNormal ()

 

Detailed Method Descriptions:

Set/Get the position of the focus of the projector.

void SetPosition (float ,float ,float )
void SetPosition (float *)
float *GetPosition ()

Set/Get the focal point of the projector (a point that lies along the center axis of the projector's frustum).

void SetFocalPoint (float )
void SetFocalPoint (float ,float ,float )
float *GetFocalPoint ()

Get the normalized orientation vector of the projector.

float *GetOrientation ()

Specify s-coordinate range for texture s-t coordinate pair.

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

Specify t-coordinate range for texture s-t coordinate pair.

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