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 | List of all members
vtkTreeLevelsFilter Class Reference

adds level and leaf fields to a vtkTree More...

#include <vtkTreeLevelsFilter.h>

Inherits vtkTreeAlgorithm.

Public Types

typedef vtkTreeAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkTreeLevelsFilterNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 

Static Public Member Functions

static vtkTreeLevelsFilterNew ()
 
static int IsTypeOf (const char *type)
 
static vtkTreeLevelsFilterSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkTreeLevelsFilter ()
 
 ~vtkTreeLevelsFilter ()
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Detailed Description

adds level and leaf fields to a vtkTree

The filter currently add two arrays to the incoming vtkTree datastructure. 1) "levels" this is the distance from the root of the vertex. Root = 0 and you add 1 for each level down from the root 2) "leaf" this array simply indicates whether the vertex is a leaf or not

Thanks:
Thanks to Brian Wylie from Sandia National Laboratories for creating this class.
Examples:
vtkTreeLevelsFilter (Examples)
Tests:
vtkTreeLevelsFilter (Tests)

Definition at line 46 of file vtkTreeLevelsFilter.h.

Member Typedef Documentation

typedef vtkTreeAlgorithm vtkTreeLevelsFilter::Superclass

Definition at line 50 of file vtkTreeLevelsFilter.h.

Constructor & Destructor Documentation

vtkTreeLevelsFilter::vtkTreeLevelsFilter ( )
protected
vtkTreeLevelsFilter::~vtkTreeLevelsFilter ( )
inlineprotected

Definition at line 55 of file vtkTreeLevelsFilter.h.

Member Function Documentation

static vtkTreeLevelsFilter* vtkTreeLevelsFilter::New ( )
static
static int vtkTreeLevelsFilter::IsTypeOf ( const char *  type)
static
virtual int vtkTreeLevelsFilter::IsA ( const char *  type)
virtual
static vtkTreeLevelsFilter* vtkTreeLevelsFilter::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkTreeLevelsFilter::NewInstanceInternal ( ) const
protectedvirtual
vtkTreeLevelsFilter* vtkTreeLevelsFilter::NewInstance ( ) const
void vtkTreeLevelsFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
int vtkTreeLevelsFilter::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

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