FAST
3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Importers
VTKImageImporter.hpp
Go to the documentation of this file.
1
#ifndef VTKIMAGEIMPORTER_HPP_
2
#define VTKIMAGEIMPORTER_HPP_
3
4
#include "
FAST/ProcessObject.hpp
"
5
#include <vtkImageAlgorithm.h>
6
#include <vtkSmartPointer.h>
7
#include "
FAST/Data/Image.hpp
"
8
9
namespace
fast
{
10
11
class
FAST_EXPORT
VTKtoFAST
:
public
vtkImageAlgorithm {
12
public
:
13
static
VTKtoFAST
*New();
14
void
setFASTImage(
Image::pointer
image);
15
private
:
16
VTKtoFAST
();
17
int
RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
18
void
execute();
19
20
Image::pointer
mFASTImage;
21
22
};
23
24
class
FAST_EXPORT
VTKImageImporter
:
public
ProcessObject
{
25
FAST_OBJECT
(
VTKImageImporter
)
26
public
:
27
VTKtoFAST
* getVTKProcessObject();
28
private
:
29
VTKImageImporter
();
30
void
execute();
31
32
vtkSmartPointer<VTKtoFAST> mVTKProcessObject;
33
34
};
35
36
}
// end namespace fast
37
38
39
40
#endif
/* VTKIMAGEIMPORTER_HPP_ */
Image.hpp
fast::VTKtoFAST
Definition:
VTKImageImporter.hpp:11
fast
Definition:
AffineTransformation.hpp:7
fast::VTKImageImporter
Definition:
VTKImageImporter.hpp:24
fast::SpatialDataObject::pointer
std::shared_ptr< SpatialDataObject > pointer
Definition:
SpatialDataObject.hpp:12
FAST_OBJECT
#define FAST_OBJECT(className)
Definition:
Object.hpp:9
ProcessObject.hpp
fast::ProcessObject
Definition:
ProcessObject.hpp:22
Generated by
1.8.17