vtkTreeLevelsFilter Class Reference

#include <vtkTreeLevelsFilter.h>

Inheritance diagram for vtkTreeLevelsFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkTreeLevelsFilter:

Collaboration graph
[legend]

List of all members.


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.
Tests:
vtkTreeLevelsFilter (Tests)

Definition at line 42 of file vtkTreeLevelsFilter.h.


Public Types

typedef vtkTreeAlgorithm Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

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

Member Typedef Documentation

Reimplemented from vtkTreeAlgorithm.

Definition at line 46 of file vtkTreeLevelsFilter.h.


Constructor & Destructor Documentation

vtkTreeLevelsFilter::vtkTreeLevelsFilter (  )  [protected]

vtkTreeLevelsFilter::~vtkTreeLevelsFilter (  )  [inline, protected]

Definition at line 51 of file vtkTreeLevelsFilter.h.


Member Function Documentation

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

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

Reimplemented from vtkTreeAlgorithm.

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

Reimplemented from vtkTreeAlgorithm.

static int vtkTreeLevelsFilter::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 vtkTreeAlgorithm.

virtual int vtkTreeLevelsFilter::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 vtkTreeAlgorithm.

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

Reimplemented from vtkTreeAlgorithm.

void vtkTreeLevelsFilter::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 vtkTreeAlgorithm.

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

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

Reimplemented from vtkTreeAlgorithm.


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

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