25 #ifndef __itkVTKImageToImageFilter_h
26 #define __itkVTKImageToImageFilter_h
29 #include <itkVTKImageImport.h>
32 #include <vtkImageExport.h>
33 #include <vtkImageData.h>
34 #include <vtkSmartPointer.h>
36 #ifndef vtkFloatingPointType
37 #define vtkFloatingPointType float
57 template <
class TOutputImage >
104 void operator=(
const Self&);
107 vtkSmartPointer<vtkImageExport> m_Exporter;
113 #ifndef ITK_MANUAL_INSTANTIATION
114 #include "itkVTKImageToImageFilter.txx"
Converts a VTK image into an ITK image and plugs a vtk data pipeline to an ITK datapipeline.
Definition: itkVTKImageToImageFilter.h:58
OutputImageType::ConstPointer OutputImagePointer
Definition: itkVTKImageToImageFilter.h:74
virtual ~VTKImageToImageFilter()
ImporterFilterType * GetImporter() const
Return the internal ITK image importer filter.
ProcessObject Superclass
Definition: itkVTKImageToImageFilter.h:62
itkNewMacro(Self)
Method for creation through the object factory.
ImporterFilterType::Pointer ImporterFilterPointer
Definition: itkVTKImageToImageFilter.h:76
VTKImageImport< OutputImageType > ImporterFilterType
Definition: itkVTKImageToImageFilter.h:75
TOutputImage OutputImageType
Some typedefs.
Definition: itkVTKImageToImageFilter.h:73
SmartPointer< const Self > ConstPointer
Definition: itkVTKImageToImageFilter.h:64
itkTypeMacro(VTKImageToImageFilter, ProcessObject)
Run-time type information (and related methods).
SmartPointer< Self > Pointer
Definition: itkVTKImageToImageFilter.h:63
vtkSmartPointer< vtkImageExport > GetExporter() const
Return the internal VTK image exporter filter.
VTKImageToImageFilter Self
Standard class typedefs.
Definition: itkVTKImageToImageFilter.h:61
void SetInput(vtkSmartPointer< vtkImageData >)
Set the input in the form of a vtkImageData.
void Update()
This call delegate the update to the importer.
const OutputImageType * GetOutput() const
Get the output in the form of a vtkImage.
Definition: itkImageToVTKImageFilter.h:39