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:
41 
42 protected:
45 
49 
52 
54 
57 
58 private:
59  vtkHyperOctreeDepth(const vtkHyperOctreeDepth&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkHyperOctreeDepth&) VTK_DELETE_FUNCTION;
61 };
62 
63 #endif
Superclass for algorithms that produce output of the same type as input.
Objects that can traverse hyperoctree nodes.
Assign tree depth attribute to each cell.
void TraverseAndCount(vtkHyperOctreeCursor *, int depth)
vtkIntArray * GeneratedDepths
vtkHyperOctree * Input
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
vtkHyperOctree * Output
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
static vtkHyperOctreeDepth * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
A dataset structured as a tree where each node has exactly 2^n children.
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:46
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447