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
32class vtkHyperOctree;
34class vtkIntArray;
35
36class VTKFILTERSHYPERTREE_EXPORT vtkHyperOctreeDepth : public vtkDataSetAlgorithm
37{
38public:
41
42protected:
45
49
52
54
57
58private:
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
static vtkHyperOctreeDepth * New()
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.
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