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