#include <vtkTreeLevelsFilter.h>
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
Definition at line 45 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 vtkTreeLevelsFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkTreeLevelsFilter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkTreeLevelsFilter () | |
~vtkTreeLevelsFilter () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
vtkTreeLevelsFilter::vtkTreeLevelsFilter | ( | ) | [protected] |
vtkTreeLevelsFilter::~vtkTreeLevelsFilter | ( | ) | [inline, protected] |
Definition at line 54 of file vtkTreeLevelsFilter.h.
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 vtkTypeMacro 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 vtkTypeMacro 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.