Converts a VTK image into an ITK image and plugs a vtk data pipeline to an ITK datapipeline. More...
#include <itkVTKImageToImageFilter.h>
Public Types | |
typedef VTKImageToImageFilter | Self |
typedef ProcessObject | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::ConstPointer | OutputImagePointer |
typedef VTKImageImport < OutputImageType > | ImporterFilterType |
typedef ImporterFilterType::Pointer | ImporterFilterPointer |
Public Member Functions | |
itkNewMacro (Self) | |
itkTypeMacro (VTKImageToImageFilter, ProcessObject) | |
const OutputImageType * | GetOutput () const |
void | SetInput (vtkImageData *) |
vtkImageExport * | GetExporter () const |
ImporterFilterType * | GetImporter () const |
void | Update () |
Protected Member Functions | |
VTKImageToImageFilter () | |
virtual | ~VTKImageToImageFilter () |
Private Member Functions | |
VTKImageToImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
ImporterFilterPointer | m_Importer |
vtkImageExport * | m_Exporter |
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.
Definition at line 44 of file itkVTKImageToImageFilter.h.
typedef SmartPointer<const Self> itk::VTKImageToImageFilter< TOutputImage >::ConstPointer |
Definition at line 51 of file itkVTKImageToImageFilter.h.
typedef ImporterFilterType::Pointer itk::VTKImageToImageFilter< TOutputImage >::ImporterFilterPointer |
Definition at line 63 of file itkVTKImageToImageFilter.h.
typedef VTKImageImport< OutputImageType > itk::VTKImageToImageFilter< TOutputImage >::ImporterFilterType |
Definition at line 62 of file itkVTKImageToImageFilter.h.
typedef OutputImageType::ConstPointer itk::VTKImageToImageFilter< TOutputImage >::OutputImagePointer |
Definition at line 61 of file itkVTKImageToImageFilter.h.
typedef TOutputImage itk::VTKImageToImageFilter< TOutputImage >::OutputImageType |
Some typedefs.
Definition at line 60 of file itkVTKImageToImageFilter.h.
typedef SmartPointer<Self> itk::VTKImageToImageFilter< TOutputImage >::Pointer |
Definition at line 50 of file itkVTKImageToImageFilter.h.
typedef VTKImageToImageFilter itk::VTKImageToImageFilter< TOutputImage >::Self |
Standard class typedefs.
Definition at line 48 of file itkVTKImageToImageFilter.h.
typedef ProcessObject itk::VTKImageToImageFilter< TOutputImage >::Superclass |
Definition at line 49 of file itkVTKImageToImageFilter.h.
itk::VTKImageToImageFilter< TOutputImage >::VTKImageToImageFilter | ( | ) | [protected] |
Constructor
Definition at line 30 of file itkVTKImageToImageFilter.cxx.
itk::VTKImageToImageFilter< TOutputImage >::~VTKImageToImageFilter | ( | ) | [protected, virtual] |
Destructor
Definition at line 60 of file itkVTKImageToImageFilter.cxx.
itk::VTKImageToImageFilter< TOutputImage >::VTKImageToImageFilter | ( | const Self & | ) | [private] |
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
Get the exporter filter
Definition at line 104 of file itkVTKImageToImageFilter.cxx.
VTKImageToImageFilter< 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
Get the importer filter
Definition at line 117 of file itkVTKImageToImageFilter.cxx.
const VTKImageToImageFilter< TOutputImage >::OutputImageType * itk::VTKImageToImageFilter< TOutputImage >::GetOutput | ( | ) | const |
Get the output in the form of a vtkImage. This call is delegated to the internal vtkImageImporter filter
Get an itk::Image as output
Definition at line 90 of file itkVTKImageToImageFilter.cxx.
itk::VTKImageToImageFilter< TOutputImage >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::VTKImageToImageFilter< TOutputImage >::itkTypeMacro | ( | VTKImageToImageFilter< TOutputImage > | , | |
ProcessObject | ||||
) |
Run-time type information (and related methods).
void itk::VTKImageToImageFilter< TOutputImage >::operator= | ( | const Self & | ) | [private] |
void itk::VTKImageToImageFilter< TOutputImage >::SetInput | ( | vtkImageData * | inputImage | ) |
Set the input in the form of a vtkImageData
Set a vtkImageData as input
Definition at line 77 of file itkVTKImageToImageFilter.cxx.
void itk::VTKImageToImageFilter< TOutputImage >::Update | ( | ) |
This call delegate the update to the importer
Delegate the Update to the importer
Definition at line 131 of file itkVTKImageToImageFilter.cxx.
vtkImageExport* itk::VTKImageToImageFilter< TOutputImage >::m_Exporter [private] |
Definition at line 94 of file itkVTKImageToImageFilter.h.
ImporterFilterPointer itk::VTKImageToImageFilter< TOutputImage >::m_Importer [private] |
Definition at line 93 of file itkVTKImageToImageFilter.h.