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 "vtkDataSetAlgorithm.h"
29 
30 class vtkHyperOctree;
32 class vtkIntArray;
33 
35 {
36 public:
37  static vtkHyperOctreeDepth *New();
39 
40 protected:
43 
47 
50 
51  void TraverseAndCount(vtkHyperOctreeCursor *, int depth);
52 
55 
56 private:
57  vtkHyperOctreeDepth(const vtkHyperOctreeDepth&); // Not implemented.
58  void operator=(const vtkHyperOctreeDepth&); // Not implemented.
59 };
60 
61 #endif
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkHyperOctree * Input
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
vtkIntArray * GeneratedDepths
A dataset structured as a tree where each node has exactly 2^n children.
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:42
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)