Computer Assisted Medical Intervention Tool Kit  version 5.2
itk::VTKImageToImageFilter< TOutputImage > Class Template Reference

Converts a VTK image into an ITK image and plugs a vtk data pipeline to an ITK datapipeline. More...

#include <itkVTKImageToImageFilter.h>

+ Inheritance diagram for itk::VTKImageToImageFilter< TOutputImage >:
+ Collaboration diagram for itk::VTKImageToImageFilter< TOutputImage >:

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef ImporterFilterType::Pointer ImporterFilterPointer
 
typedef VTKImageImport< OutputImageTypeImporterFilterType
 
typedef OutputImageType::ConstPointer OutputImagePointer
 
typedef TOutputImage OutputImageType
 Some typedefs. More...
 
typedef SmartPointer< SelfPointer
 
typedef VTKImageToImageFilter Self
 Standard class typedefs. More...
 
typedef ProcessObject Superclass
 

Public Member Functions

vtkSmartPointer< vtkImageExport > GetExporter () const
 Return the internal VTK image exporter filter. More...
 
ImporterFilterTypeGetImporter () const
 Return the internal ITK image importer filter. More...
 
const OutputImageTypeGetOutput () const
 Get the output in the form of a vtkImage. More...
 
 itkNewMacro (Self)
 Method for creation through the object factory. More...
 
 itkTypeMacro (VTKImageToImageFilter, ProcessObject)
 Run-time type information (and related methods). More...
 
void SetInput (vtkSmartPointer< vtkImageData >)
 Set the input in the form of a vtkImageData. More...
 
void Update ()
 This call delegate the update to the importer. More...
 

Protected Member Functions

 VTKImageToImageFilter ()
 
virtual ~VTKImageToImageFilter ()
 

Detailed Description

template<class TOutputImage>
class itk::VTKImageToImageFilter< TOutputImage >

Converts a VTK image into an ITK image and plugs a vtk data pipeline to an ITK datapipeline.

This class puts together an itkVTKImageImporter and a vtkImageExporter. It takes care of the details related to the connection of ITK and VTK pipelines. The User will perceive this filter as an adaptor to which a vtkImage can be plugged as input and an itk::Image is produced as output.

Member Typedef Documentation

◆ ConstPointer

template<class TOutputImage >
typedef SmartPointer<const Self> itk::VTKImageToImageFilter< TOutputImage >::ConstPointer

◆ ImporterFilterPointer

template<class TOutputImage >
typedef ImporterFilterType::Pointer itk::VTKImageToImageFilter< TOutputImage >::ImporterFilterPointer

◆ ImporterFilterType

template<class TOutputImage >
typedef VTKImageImport< OutputImageType > itk::VTKImageToImageFilter< TOutputImage >::ImporterFilterType

◆ OutputImagePointer

template<class TOutputImage >
typedef OutputImageType::ConstPointer itk::VTKImageToImageFilter< TOutputImage >::OutputImagePointer

◆ OutputImageType

template<class TOutputImage >
typedef TOutputImage itk::VTKImageToImageFilter< TOutputImage >::OutputImageType

Some typedefs.

◆ Pointer

template<class TOutputImage >
typedef SmartPointer<Self> itk::VTKImageToImageFilter< TOutputImage >::Pointer

◆ Self

template<class TOutputImage >
typedef VTKImageToImageFilter itk::VTKImageToImageFilter< TOutputImage >::Self

Standard class typedefs.

◆ Superclass

template<class TOutputImage >
typedef ProcessObject itk::VTKImageToImageFilter< TOutputImage >::Superclass

Constructor & Destructor Documentation

◆ VTKImageToImageFilter()

template<class TOutputImage >
itk::VTKImageToImageFilter< TOutputImage >::VTKImageToImageFilter ( )
protected

◆ ~VTKImageToImageFilter()

template<class TOutputImage >
virtual itk::VTKImageToImageFilter< TOutputImage >::~VTKImageToImageFilter ( )
protectedvirtual

Member Function Documentation

◆ GetExporter()

template<class TOutputImage >
vtkSmartPointer<vtkImageExport> itk::VTKImageToImageFilter< TOutputImage >::GetExporter ( ) const

Return the internal VTK image exporter filter.

This is intended to facilitate users the access to methods in the exporter

◆ GetImporter()

template<class TOutputImage >
ImporterFilterType* itk::VTKImageToImageFilter< TOutputImage >::GetImporter ( ) const

Return the internal ITK image importer filter.

This is intended to facilitate users the access to methods in the importer

◆ GetOutput()

template<class TOutputImage >
const OutputImageType* itk::VTKImageToImageFilter< TOutputImage >::GetOutput ( ) const

Get the output in the form of a vtkImage.

This call is delegated to the internal vtkImageImporter filter

◆ itkNewMacro()

template<class TOutputImage >
itk::VTKImageToImageFilter< TOutputImage >::itkNewMacro ( Self  )

Method for creation through the object factory.

◆ itkTypeMacro()

template<class TOutputImage >
itk::VTKImageToImageFilter< TOutputImage >::itkTypeMacro ( VTKImageToImageFilter< TOutputImage >  ,
ProcessObject   
)

Run-time type information (and related methods).

◆ SetInput()

template<class TOutputImage >
void itk::VTKImageToImageFilter< TOutputImage >::SetInput ( vtkSmartPointer< vtkImageData >  )

Set the input in the form of a vtkImageData.

◆ Update()

template<class TOutputImage >
void itk::VTKImageToImageFilter< TOutputImage >::Update ( )

This call delegate the update to the importer.


The documentation for this class was generated from the following file: