VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkHyperOctreeDepth Class Reference

Assign tree depth attribute to each cell. More...

#include <vtkHyperOctreeDepth.h>

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

List of all members.

Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkHyperOctreeDepthNewInstance () const

Static Public Member Functions

static vtkHyperOctreeDepthNew ()
static int IsTypeOf (const char *type)
static vtkHyperOctreeDepthSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkHyperOctreeDepth ()
 ~vtkHyperOctreeDepth ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int FillOutputPortInformation (int port, vtkInformation *info)
void TraverseAndCount (vtkHyperOctreeCursor *, int depth)

Protected Attributes

vtkHyperOctreeInput
vtkHyperOctreeOutput
vtkIntArrayGeneratedDepths
int NumChildren

Detailed Description

Assign tree depth attribute to each cell.

This filter returns a shallow copy of its input HyperOctree with a new data attribute field containing the depth of each cell.

See also:
vtkHyperOctree

Definition at line 35 of file vtkHyperOctreeDepth.h.


Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 39 of file vtkHyperOctreeDepth.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkDataSetAlgorithm.

static int vtkHyperOctreeDepth::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 vtkDataSetAlgorithm.

virtual int vtkHyperOctreeDepth::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 vtkDataSetAlgorithm.

Reimplemented from vtkDataSetAlgorithm.

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

Reimplemented from vtkDataSetAlgorithm.

Reimplemented from vtkDataSetAlgorithm.

This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.

Reimplemented from vtkDataSetAlgorithm.

virtual int vtkHyperOctreeDepth::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkDataSetAlgorithm.

virtual int vtkHyperOctreeDepth::FillOutputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkDataSetAlgorithm.

void vtkHyperOctreeDepth::TraverseAndCount ( vtkHyperOctreeCursor ,
int  depth 
) [protected]

Member Data Documentation

Definition at line 49 of file vtkHyperOctreeDepth.h.

Definition at line 50 of file vtkHyperOctreeDepth.h.

Definition at line 54 of file vtkHyperOctreeDepth.h.

Definition at line 55 of file vtkHyperOctreeDepth.h.


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