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
57template <
class TOutputImage >
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()
const OutputImageType * GetOutput() const
Get the output in the form of a vtkImage.
ProcessObject Superclass
Definition: itkVTKImageToImageFilter.h:62
ImporterFilterPointer m_Importer
Definition: itkVTKImageToImageFilter.h:106
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
vtkSmartPointer< vtkImageExport > m_Exporter
Definition: itkVTKImageToImageFilter.h:107
SmartPointer< const Self > ConstPointer
Definition: itkVTKImageToImageFilter.h:64
itkTypeMacro(VTKImageToImageFilter, ProcessObject)
Run-time type information (and related methods).
VTKImageToImageFilter(const Self &)
void operator=(const Self &)
vtkSmartPointer< vtkImageExport > GetExporter() const
Return the internal VTK image exporter filter.
SmartPointer< Self > Pointer
Definition: itkVTKImageToImageFilter.h:63
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.
ImporterFilterType * GetImporter() const
Return the internal ITK image importer filter.
Definition: itkImageToVTKImageFilter.h:39