VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkRecursiveDividingCubes.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkRecursiveDividingCubes.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
=========================================================================*/
39
#ifndef __vtkRecursiveDividingCubes_h
40
#define __vtkRecursiveDividingCubes_h
41
42
#include "
vtkPolyDataAlgorithm.h
"
43
44
class
vtkVoxel
;
45
46
class
VTK_GRAPHICS_EXPORT
vtkRecursiveDividingCubes
:
public
vtkPolyDataAlgorithm
47
{
48
public
:
49
static
vtkRecursiveDividingCubes
*
New
();
50
vtkTypeMacro(
vtkRecursiveDividingCubes
,
vtkPolyDataAlgorithm
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent);
52
54
55
vtkSetMacro(Value,
double
);
56
vtkGetMacro(Value,
double
);
58
60
61
vtkSetClampMacro(Distance,
double
,1.0e-06,
VTK_DOUBLE_MAX
);
62
vtkGetMacro(Distance,
double
);
64
66
69
vtkSetClampMacro(Increment,
int
,1,
VTK_LARGE_INTEGER
);
70
vtkGetMacro(Increment,
int
);
72
73
protected
:
74
vtkRecursiveDividingCubes
();
75
~
vtkRecursiveDividingCubes
();
76
77
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
78
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
79
void
SubDivide(
double
origin[3],
double
h[3],
double
values[8]);
80
81
double
Value
;
82
double
Distance
;
83
int
Increment
;
84
85
// working variable
86
int
Count
;
87
88
// to replace a static
89
vtkVoxel
*
Voxel
;
90
private
:
91
vtkRecursiveDividingCubes
(
const
vtkRecursiveDividingCubes
&);
// Not implemented.
92
void
operator=(
const
vtkRecursiveDividingCubes
&);
// Not implemented.
93
};
94
95
#endif
Generated on Wed May 30 2012 13:22:01 for VTK by
1.8.1