VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkHyperOctreeLimiter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkHyperOctreeLimiter.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
=========================================================================*/
27
#ifndef __vtkHyperOctreeLimiter_h
28
#define __vtkHyperOctreeLimiter_h
29
30
#include "
vtkDataSetAlgorithm.h
"
31
32
class
vtkHyperOctree
;
33
class
vtkHyperOctreeCursor
;
34
35
class
VTK_GRAPHICS_EXPORT
vtkHyperOctreeLimiter
:
public
vtkDataSetAlgorithm
36
{
37
public
:
38
static
vtkHyperOctreeLimiter
*
New
();
39
vtkTypeMacro(
vtkHyperOctreeLimiter
,
vtkDataSetAlgorithm
);
40
42
int
GetMaximumLevel();
43
45
void
SetMaximumLevel(
int
levels);
46
47
protected
:
48
vtkHyperOctreeLimiter
();
49
~
vtkHyperOctreeLimiter
();
50
51
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
52
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
53
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
54
55
vtkHyperOctree
*
Input
;
56
vtkHyperOctree
*
Output
;
57
58
void
BuildNextCell(
vtkHyperOctreeCursor
*,
vtkHyperOctreeCursor
*,
int
);
59
60
void
AddInteriorAttributes(
vtkHyperOctreeCursor
*,
int
);
61
double
MeasureCell(
int
);
62
63
int
MaximumLevel
;
64
double
TopSize
;
65
int
Dimension
;
66
int
NumChildren
;
67
double
SizeAtPrunePoint
;
68
69
double
*
AccumScratch
;
70
int
AccumSize
;
71
72
private
:
73
vtkHyperOctreeLimiter
(
const
vtkHyperOctreeLimiter
&);
// Not implemented.
74
void
operator=(
const
vtkHyperOctreeLimiter
&);
// Not implemented.
75
};
76
77
#endif
Generated on Wed Nov 21 2012 21:33:48 for VTK by
1.8.2