VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkImageToStructuredGrid.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageDataToStructuredGridFilter.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
=========================================================================*/
26
#ifndef VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_
27
#define VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_
28
29
#include "
vtkStructuredGridAlgorithm.h
"
30
31
class
vtkStructuredGrid
;
32
class
vtkImageData
;
33
class
vtkInformation
;
34
class
vtkInformationVector
;
35
36
class
VTK_FILTERING_EXPORT
vtkImageToStructuredGrid
:
37
public
vtkStructuredGridAlgorithm
38
{
39
public
:
40
static
vtkImageToStructuredGrid
*
New
();
41
vtkTypeMacro(
vtkImageToStructuredGrid
,
vtkStructuredGridAlgorithm
);
42
void
PrintSelf
( std::ostream &oss,
vtkIndent
indent );
43
44
protected
:
45
vtkImageToStructuredGrid
();
46
virtual
~
vtkImageToStructuredGrid
();
47
48
virtual
int
RequestData
(
49
vtkInformation
* request,
50
vtkInformationVector
** inputVector,
51
vtkInformationVector
* outputVector );
52
54
55
void
CopyPointData(
vtkImageData
*,
vtkStructuredGrid
* );
56
void
CopyCellData(
vtkImageData
*,
vtkStructuredGrid
* );
58
59
virtual
int
FillInputPortInformation
(
int
,
vtkInformation
*
info
);
60
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*
info
);
61
62
private
:
63
vtkImageToStructuredGrid
(
64
const
vtkImageToStructuredGrid
& );
//Not implemented
65
void
operator=(
const
vtkImageToStructuredGrid
&);
//Not implemented
66
67
68
};
69
70
#endif
/* VTKIMAGEDATATOSTRUCTUREDGRIDFILTER_H_ */
Generated on Tue Jan 8 2013 05:45:25 for VTK by
1.8.1.2