VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
HyperTree
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
;
32
class
vtkHyperOctreeCursor
;
33
class
vtkIntArray
;
34
35
class
VTKFILTERSHYPERTREE_EXPORT
vtkHyperOctreeDepth
:
public
vtkDataSetAlgorithm
36
{
37
public
:
38
static
vtkHyperOctreeDepth
*
New
();
39
vtkTypeMacro(
vtkHyperOctreeDepth
,
vtkDataSetAlgorithm
);
40
41
protected
:
42
vtkHyperOctreeDepth
();
43
~
vtkHyperOctreeDepth
();
44
45
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
46
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
47
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
48
49
vtkHyperOctree
*
Input
;
50
vtkHyperOctree
*
Output
;
51
52
void
TraverseAndCount(
vtkHyperOctreeCursor
*,
int
depth);
53
54
vtkIntArray
*
GeneratedDepths
;
55
int
NumChildren
;
56
57
private
:
58
vtkHyperOctreeDepth
(
const
vtkHyperOctreeDepth
&);
// Not implemented.
59
void
operator=(
const
vtkHyperOctreeDepth
&);
// Not implemented.
60
};
61
62
#endif
Generated on Thu May 24 2012 22:22:22 for VTK by
1.8.1