VTK
|
Assign tree depth attribute to each cell. More...
#include <vtkHyperOctreeDepth.h>
Public Types | |
typedef vtkDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkHyperOctreeDepth * | NewInstance () const |
Static Public Member Functions | |
static vtkHyperOctreeDepth * | New () |
static int | IsTypeOf (const char *type) |
static vtkHyperOctreeDepth * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () 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 | |
vtkHyperOctree * | Input |
vtkHyperOctree * | Output |
vtkIntArray * | GeneratedDepths |
int | NumChildren |
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.
Definition at line 35 of file vtkHyperOctreeDepth.h.
Reimplemented from vtkDataSetAlgorithm.
Definition at line 39 of file vtkHyperOctreeDepth.h.
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.
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.
static vtkHyperOctreeDepth* vtkHyperOctreeDepth::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataSetAlgorithm.
virtual vtkObjectBase* vtkHyperOctreeDepth::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataSetAlgorithm.
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 49 of file vtkHyperOctreeDepth.h.
vtkHyperOctree* vtkHyperOctreeDepth::Output [protected] |
Definition at line 50 of file vtkHyperOctreeDepth.h.
vtkIntArray* vtkHyperOctreeDepth::GeneratedDepths [protected] |
Definition at line 54 of file vtkHyperOctreeDepth.h.
int vtkHyperOctreeDepth::NumChildren [protected] |
Definition at line 55 of file vtkHyperOctreeDepth.h.