VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkTreeMapToPolyData Class Reference

converts a tree to a polygonal data representing a tree map More...

#include <vtkTreeMapToPolyData.h>

Inheritance diagram for vtkTreeMapToPolyData:
Inheritance graph
[legend]
Collaboration diagram for vtkTreeMapToPolyData:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkTreeMapToPolyDataNewInstance () const
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 (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkTreeMapToPolyData ()
 ~vtkTreeMapToPolyData ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double LevelDeltaZ
bool AddNormals

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 38 of file vtkTreeMapToPolyData.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 42 of file vtkTreeMapToPolyData.h.


Constructor & Destructor Documentation


Member Function Documentation

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

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

virtual vtkObjectBase* vtkTreeMapToPolyData::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

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 49 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 58 of file vtkTreeMapToPolyData.h.

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.

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 80 of file vtkTreeMapToPolyData.h.

Definition at line 81 of file vtkTreeMapToPolyData.h.


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