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 =========================================================================*/
25 #ifndef vtkHyperOctreeDepth_h
26 #define vtkHyperOctreeDepth_h
27 
28 #include "vtkFiltersHyperTreeModule.h" // For export macro
29 #include "vtkDataSetAlgorithm.h"
30 
31 class vtkHyperOctree;
33 class vtkIntArray;
34 
36 {
37 public:
38  static vtkHyperOctreeDepth *New();
40 
41 protected:
44 
48 
51 
52  void TraverseAndCount(vtkHyperOctreeCursor *, int depth);
53 
56 
57 private:
58  vtkHyperOctreeDepth(const vtkHyperOctreeDepth&); // Not implemented.
59  void operator=(const vtkHyperOctreeDepth&); // Not implemented.
60 };
61 
62 #endif
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkHyperOctree * Input
Store vtkAlgorithm input/output information.
vtkIntArray * GeneratedDepths
A dataset structured as a tree where each node has exactly 2^n children.
#define VTKFILTERSHYPERTREE_EXPORT
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:49
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Objects that can traverse hyperoctree nodes.
vtkHyperOctree * Output
Assign tree depth attribute to each cell.
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
virtual int FillOutputPortInformation(int port, vtkInformation *info)