VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkHyperOctreeAlgorithm.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkHyperOctreeAlgorithm.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
=========================================================================*/
36
#ifndef __vtkHyperOctreeAlgorithm_h
37
#define __vtkHyperOctreeAlgorithm_h
38
39
#include "
vtkAlgorithm.h
"
40
#include "
vtkHyperOctree.h
"
// makes things a bit easier
41
42
class
vtkDataSet
;
43
class
vtkHyperOctree
;
44
45
class
VTK_FILTERING_EXPORT
vtkHyperOctreeAlgorithm
:
public
vtkAlgorithm
46
{
47
public
:
48
vtkTypeMacro(
vtkHyperOctreeAlgorithm
,
vtkAlgorithm
);
49
void
PrintSelf
(ostream& os,
vtkIndent
indent);
50
52
53
vtkHyperOctree
*GetOutput();
54
vtkHyperOctree
*GetOutput(
int
);
55
virtual
void
SetOutput(
vtkDataObject
* d);
57
59
60
virtual
int
ProcessRequest
(
vtkInformation
*,
61
vtkInformationVector
**,
62
vtkInformationVector
*);
64
65
// this method is not recommended for use, but lots of old style filters
66
// use it
67
vtkDataObject
* GetInput();
68
vtkDataObject
*GetInput(
int
port
);
69
vtkHyperOctree
*GetHyperOctreeInput(
int
port
);
70
72
73
void
SetInput(
vtkDataObject
*);
74
void
SetInput(
int
,
vtkDataObject
*);
76
78
79
void
AddInput(
vtkDataObject
*);
80
void
AddInput(
int
,
vtkDataObject
*);
82
83
protected
:
84
vtkHyperOctreeAlgorithm
();
85
~
vtkHyperOctreeAlgorithm
();
86
87
// convenience method
88
virtual
int
RequestInformation(
vtkInformation
* request,
89
vtkInformationVector
** inputVector,
90
vtkInformationVector
* outputVector);
91
93
95
virtual
int
RequestData(
vtkInformation
* request,
96
vtkInformationVector
** inputVector,
97
vtkInformationVector
* outputVector);
99
101
103
virtual
int
RequestUpdateExtent(
vtkInformation
*,
104
vtkInformationVector
**,
105
vtkInformationVector
*);
107
108
109
111
112
virtual
void
ExecuteData(
vtkDataObject
*output);
113
virtual
void
Execute();
115
116
// see algorithm for more info
117
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
118
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
119
120
private
:
121
vtkHyperOctreeAlgorithm
(
const
vtkHyperOctreeAlgorithm
&);
// Not implemented.
122
void
operator=(
const
vtkHyperOctreeAlgorithm
&);
// Not implemented.
123
};
124
125
#endif
Generated on Thu Mar 13 2014 08:09:55 for VTK by
1.8.1.2