VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkTreeLevelsFilter Class Reference

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

#include <vtkTreeLevelsFilter.h>

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

List of all members.

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 vtkObjectBaseNewInstanceInternal () 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

Reimplemented from vtkTreeAlgorithm.

Definition at line 50 of file vtkTreeLevelsFilter.h.


Constructor & Destructor Documentation

Definition at line 55 of file vtkTreeLevelsFilter.h.


Member Function Documentation

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

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.

Reimplemented from vtkTreeAlgorithm.

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

Reimplemented from vtkTreeAlgorithm.

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: