#include <vtkHyperOctreeDepth.h>
This filter returns a shallow copy of its input HyperOctree with a new data attribute field containing the depth of each cell.
Definition at line 34 of file vtkHyperOctreeDepth.h.
Public Types | |
typedef vtkDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
Static Public Member Functions | |
static vtkHyperOctreeDepth * | New () |
static int | IsTypeOf (const char *type) |
static vtkHyperOctreeDepth * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
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 | |
vtkHyperOctree * | Input |
vtkHyperOctree * | Output |
vtkIntArray * | GeneratedDepths |
int | NumChildren |
vtkHyperOctreeDepth::vtkHyperOctreeDepth | ( | ) | [protected] |
vtkHyperOctreeDepth::~vtkHyperOctreeDepth | ( | ) | [protected] |
static vtkHyperOctreeDepth* vtkHyperOctreeDepth::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataSetAlgorithm.
virtual const char* vtkHyperOctreeDepth::GetClassName | ( | ) | [virtual] |
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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetAlgorithm.
static vtkHyperOctreeDepth* vtkHyperOctreeDepth::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataSetAlgorithm.
virtual int vtkHyperOctreeDepth::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
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] |
vtkHyperOctree* vtkHyperOctreeDepth::Input [protected] |
Definition at line 48 of file vtkHyperOctreeDepth.h.
vtkHyperOctree* vtkHyperOctreeDepth::Output [protected] |
Definition at line 49 of file vtkHyperOctreeDepth.h.
vtkIntArray* vtkHyperOctreeDepth::GeneratedDepths [protected] |
Definition at line 53 of file vtkHyperOctreeDepth.h.
int vtkHyperOctreeDepth::NumChildren [protected] |
Definition at line 54 of file vtkHyperOctreeDepth.h.