Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkTextureMapToBox Class Reference

generate 3D texture coordinates by mapping points into bounding box. More...

#include <vtkTextureMapToBox.h>

Inheritance diagram for vtkTextureMapToBox:

Inheritance graph
[legend]
Collaboration diagram for vtkTextureMapToBox:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetBox (float xmin, float xmax, float ymin, float ymax, float zmin, float zmax)
void SetBox (float *box)
virtual float * GetBox ()
virtual void GetBox (float data[6])
virtual void SetRRange (float, float)
void SetRRange (float[2])
virtual float * GetRRange ()
virtual void GetRRange (float data[2])
virtual void SetSRange (float, float)
void SetSRange (float[2])
virtual float * GetSRange ()
virtual void GetSRange (float data[2])
virtual void SetTRange (float, float)
void SetTRange (float[2])
virtual float * GetTRange ()
virtual void GetTRange (float data[2])
virtual void SetAutomaticBoxGeneration (int)
virtual int GetAutomaticBoxGeneration ()
virtual void AutomaticBoxGenerationOn ()
virtual void AutomaticBoxGenerationOff ()

Static Public Methods

int IsTypeOf (const char *type)
vtkTextureMapToBox * SafeDownCast (vtkObject *o)
vtkTextureMapToBox * New ()

Protected Methods

 vtkTextureMapToBox ()
 ~vtkTextureMapToBox ()
 vtkTextureMapToBox (const vtkTextureMapToBox &)
void operator= (const vtkTextureMapToBox &)
void Execute ()

Protected Attributes

float Box [6]
float RRange [2]
float SRange [2]
float TRange [2]
int AutomaticBoxGeneration

Detailed Description

generate 3D texture coordinates by mapping points into bounding box.

Date:
2000/12/10 20:08:26
Revision:
1.10

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

Definition at line 63 of file vtkTextureMapToBox.h.


Constructor & Destructor Documentation

vtkTextureMapToBox::vtkTextureMapToBox   [protected]
 

vtkTextureMapToBox::~vtkTextureMapToBox   [inline, protected]
 

Definition at line 98 of file vtkTextureMapToBox.h.

vtkTextureMapToBox::vtkTextureMapToBox const vtkTextureMapToBox &    [inline, protected]
 

Definition at line 99 of file vtkTextureMapToBox.h.


Member Function Documentation

virtual const char* vtkTextureMapToBox::GetClassName   [virtual]
 

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 vtkDataSetToDataSetFilter.

int vtkTextureMapToBox::IsTypeOf const char *    type [static]
 

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 vtkDataSetToDataSetFilter.

virtual int vtkTextureMapToBox::IsA const char *    type [virtual]
 

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 vtkDataSetToDataSetFilter.

vtkTextureMapToBox* vtkTextureMapToBox::SafeDownCast vtkObject   o [static]
 

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 vtkDataSetToDataSetFilter.

void vtkTextureMapToBox::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

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 vtkSource.

vtkTextureMapToBox* vtkTextureMapToBox::New   [static]
 

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

Reimplemented from vtkDataSetSource.

void vtkTextureMapToBox::SetBox float    xmin,
float    xmax,
float    ymin,
float    ymax,
float    zmin,
float    zmax
 

Specify the bounding box to map into.

void vtkTextureMapToBox::SetBox float *    box
 

virtual float* vtkTextureMapToBox::GetBox   [virtual]
 

virtual void vtkTextureMapToBox::GetBox float    data[6] [virtual]
 

virtual void vtkTextureMapToBox::SetRRange float   ,
float   
[virtual]
 

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

void vtkTextureMapToBox::SetRRange float   [2]
 

virtual float* vtkTextureMapToBox::GetRRange   [virtual]
 

virtual void vtkTextureMapToBox::GetRRange float    data[2] [virtual]
 

virtual void vtkTextureMapToBox::SetSRange float   ,
float   
[virtual]
 

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

void vtkTextureMapToBox::SetSRange float   [2]
 

virtual float* vtkTextureMapToBox::GetSRange   [virtual]
 

virtual void vtkTextureMapToBox::GetSRange float    data[2] [virtual]
 

virtual void vtkTextureMapToBox::SetTRange float   ,
float   
[virtual]
 

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

void vtkTextureMapToBox::SetTRange float   [2]
 

virtual float* vtkTextureMapToBox::GetTRange   [virtual]
 

virtual void vtkTextureMapToBox::GetTRange float    data[2] [virtual]
 

virtual void vtkTextureMapToBox::SetAutomaticBoxGeneration int    [virtual]
 

Turn on/off automatic bounding box generation.

virtual int vtkTextureMapToBox::GetAutomaticBoxGeneration   [virtual]
 

virtual void vtkTextureMapToBox::AutomaticBoxGenerationOn   [virtual]
 

virtual void vtkTextureMapToBox::AutomaticBoxGenerationOff   [virtual]
 

void vtkTextureMapToBox::operator= const vtkTextureMapToBox &    [inline, protected]
 

Definition at line 100 of file vtkTextureMapToBox.h.

void vtkTextureMapToBox::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


Member Data Documentation

float vtkTextureMapToBox::Box[6] [protected]
 

Definition at line 103 of file vtkTextureMapToBox.h.

float vtkTextureMapToBox::RRange[2] [protected]
 

Definition at line 104 of file vtkTextureMapToBox.h.

float vtkTextureMapToBox::SRange[2] [protected]
 

Definition at line 105 of file vtkTextureMapToBox.h.

float vtkTextureMapToBox::TRange[2] [protected]
 

Definition at line 106 of file vtkTextureMapToBox.h.

int vtkTextureMapToBox::AutomaticBoxGeneration [protected]
 

Definition at line 107 of file vtkTextureMapToBox.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:00:48 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001