VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkTreeMapToPolyData Class Reference

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

#include <vtkTreeMapToPolyData.h>

Inherits vtkPolyDataAlgorithm.

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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkPolyDataAlgorithm vtkTreeMapToPolyData::Superclass

Definition at line 42 of file vtkTreeMapToPolyData.h.

Constructor & Destructor Documentation

vtkTreeMapToPolyData::vtkTreeMapToPolyData ( )
protected
vtkTreeMapToPolyData::~vtkTreeMapToPolyData ( )
protected

Member Function Documentation

static vtkTreeMapToPolyData* vtkTreeMapToPolyData::New ( )
static
static int vtkTreeMapToPolyData::IsTypeOf ( const char *  type)
static
virtual int vtkTreeMapToPolyData::IsA ( const char *  type)
virtual
static vtkTreeMapToPolyData* vtkTreeMapToPolyData::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkTreeMapToPolyData::NewInstanceInternal ( ) const
protectedvirtual
vtkTreeMapToPolyData* vtkTreeMapToPolyData::NewInstance ( ) const
void vtkTreeMapToPolyData::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkTreeMapToPolyData::SetRectanglesArrayName ( const char *  name)
inlinevirtual

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)
inlinevirtual

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.

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 
)
int vtkTreeMapToPolyData::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

Member Data Documentation

double vtkTreeMapToPolyData::LevelDeltaZ
protected

Definition at line 80 of file vtkTreeMapToPolyData.h.

bool vtkTreeMapToPolyData::AddNormals
protected

Definition at line 81 of file vtkTreeMapToPolyData.h.


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