VTK
vtkHyperOctreeDepth.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperOctreeDepth.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef vtkHyperOctreeDepth_h
27 #define vtkHyperOctreeDepth_h
28 
29 #include "vtkFiltersHyperTreeModule.h" // For export macro
30 #include "vtkDataSetAlgorithm.h"
31 
32 class vtkHyperOctree;
34 class vtkIntArray;
35 
36 class VTKFILTERSHYPERTREE_EXPORT vtkHyperOctreeDepth : public vtkDataSetAlgorithm
37 {
38 public:
39  static vtkHyperOctreeDepth *New();
41 
42 protected:
45 
49 
52 
53  void TraverseAndCount(vtkHyperOctreeCursor *, int depth);
54 
57 
58 private:
59  vtkHyperOctreeDepth(const vtkHyperOctreeDepth&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkHyperOctreeDepth&) VTK_DELETE_FUNCTION;
61 };
62 
63 #endif
vtkHyperOctreeDepth::GeneratedDepths
vtkIntArray * GeneratedDepths
Definition: vtkHyperOctreeDepth.h:55
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkHyperOctreeCursor
Objects that can traverse hyperoctree nodes.
Definition: vtkHyperOctreeCursor.h:51
vtkDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkDataSetAlgorithm.h:183
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:51
vtkHyperOctreeDepth::NumChildren
int NumChildren
Definition: vtkHyperOctreeDepth.h:56
vtkX3D::port
Definition: vtkX3D.h:447
vtkDataSetAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkIntArray
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:45
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkDataSetAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkHyperOctreeDepth
Assign tree depth attribute to each cell.
Definition: vtkHyperOctreeDepth.h:36
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
Definition: vtkX3D.h:376
vtkDataSetAlgorithm.h
vtkHyperOctreeDepth::Output
vtkHyperOctree * Output
Definition: vtkHyperOctreeDepth.h:51
vtkHyperOctree
A dataset structured as a tree where each node has exactly 2^n children.
Definition: vtkHyperOctree.h:143
vtkHyperOctreeDepth::Input
vtkHyperOctree * Input
Definition: vtkHyperOctreeDepth.h:50