vtkTreeMapToPolyData Class Reference

#include <vtkTreeMapToPolyData.h>

Inheritance diagram for vtkTreeMapToPolyData:

Inheritance graph
[legend]
Collaboration diagram for vtkTreeMapToPolyData:

Collaboration graph
[legend]

List of all members.


Detailed Description

converts a tree to a polygonal data representing a tree map

This algorithm requires that the vtkTreeMapLayout filter has already applied to the data in order to create the quadruple array (min x, max x, min y, max y) of bounds for each vertex of the tree.

Tests:
vtkTreeMapToPolyData (Tests)

Definition at line 37 of file vtkTreeMapToPolyData.h.


Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
int FillInputPortInformation (int port, vtkInformation *info)
virtual void SetRectanglesArrayName (const char *name)
virtual void SetLevelArrayName (const char *name)
virtual double GetLevelDeltaZ ()
virtual void SetLevelDeltaZ (double)
virtual bool GetAddNormals ()
virtual void SetAddNormals (bool)

Static Public Member Functions

static vtkTreeMapToPolyDataNew ()
static int IsTypeOf (const char *type)
static vtkTreeMapToPolyDataSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkTreeMapToPolyData ()
 ~vtkTreeMapToPolyData ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double LevelDeltaZ
bool AddNormals

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 41 of file vtkTreeMapToPolyData.h.


Constructor & Destructor Documentation

vtkTreeMapToPolyData::vtkTreeMapToPolyData (  )  [protected]

vtkTreeMapToPolyData::~vtkTreeMapToPolyData (  )  [protected]


Member Function Documentation

static vtkTreeMapToPolyData* vtkTreeMapToPolyData::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPolyDataAlgorithm.

virtual const char* vtkTreeMapToPolyData::GetClassName (  )  [virtual]

Reimplemented from vtkPolyDataAlgorithm.

static int vtkTreeMapToPolyData::IsTypeOf ( const char *  name  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkTreeMapToPolyData::IsA ( const char *  name  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

static vtkTreeMapToPolyData* vtkTreeMapToPolyData::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkPolyDataAlgorithm.

void vtkTreeMapToPolyData::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 vtkPolyDataAlgorithm.

virtual void vtkTreeMapToPolyData::SetRectanglesArrayName ( const char *  name  )  [inline, virtual]

The field containing quadruples of the form (min x, max x, min y, max y) representing the bounds of the rectangles for each vertex. This array may be added to the tree using vtkTreeMapLayout.

Definition at line 48 of file vtkTreeMapToPolyData.h.

virtual void vtkTreeMapToPolyData::SetLevelArrayName ( const char *  name  )  [inline, virtual]

The field containing the level of each tree node. This can be added using vtkTreeLevelsFilter before this filter. If this is not present, the filter simply calls tree->GetLevel(v) for each vertex, which will produce the same result, but may not be as efficient.

Definition at line 57 of file vtkTreeMapToPolyData.h.

virtual double vtkTreeMapToPolyData::GetLevelDeltaZ (  )  [virtual]

The spacing along the z-axis between tree map levels.

virtual void vtkTreeMapToPolyData::SetLevelDeltaZ ( double   )  [virtual]

The spacing along the z-axis between tree map levels.

virtual bool vtkTreeMapToPolyData::GetAddNormals (  )  [virtual]

The spacing along the z-axis between tree map levels.

virtual void vtkTreeMapToPolyData::SetAddNormals ( bool   )  [virtual]

The spacing along the z-axis between tree map levels.

int vtkTreeMapToPolyData::FillInputPortInformation ( int  port,
vtkInformation info 
) [virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkPolyDataAlgorithm.

int vtkTreeMapToPolyData::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.


Member Data Documentation

Definition at line 79 of file vtkTreeMapToPolyData.h.

Definition at line 80 of file vtkTreeMapToPolyData.h.


The documentation for this class was generated from the following file:

Generated on Wed Jun 3 19:41:26 2009 for VTK by  doxygen 1.5.6