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 SmartPointer< const Self > | ConstPointer |
typedef ImporterFilterType::Pointer | ImporterFilterPointer |
typedef VTKImageImport< OutputImageType > | ImporterFilterType |
typedef OutputImageType::ConstPointer | OutputImagePointer |
typedef TOutputImage | OutputImageType |
Some typedefs. More... | |
typedef SmartPointer< Self > | Pointer |
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... | |
ImporterFilterType * | GetImporter () const |
Return the internal ITK image importer filter. More... | |
const OutputImageType * | GetOutput () 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 () |
Private Member Functions | |
void | operator= (const Self &) |
VTKImageToImageFilter (const Self &) | |
Private Attributes | |
vtkSmartPointer< vtkImageExport > | m_Exporter |
ImporterFilterPointer | m_Importer |
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.
typedef SmartPointer<const Self> itk::VTKImageToImageFilter< TOutputImage >::ConstPointer |
typedef ImporterFilterType::Pointer itk::VTKImageToImageFilter< TOutputImage >::ImporterFilterPointer |
typedef VTKImageImport< OutputImageType > itk::VTKImageToImageFilter< TOutputImage >::ImporterFilterType |
typedef OutputImageType::ConstPointer itk::VTKImageToImageFilter< TOutputImage >::OutputImagePointer |
typedef TOutputImage itk::VTKImageToImageFilter< TOutputImage >::OutputImageType |
Some typedefs.
typedef SmartPointer<Self> itk::VTKImageToImageFilter< TOutputImage >::Pointer |
typedef VTKImageToImageFilter itk::VTKImageToImageFilter< TOutputImage >::Self |
Standard class typedefs.
typedef ProcessObject itk::VTKImageToImageFilter< TOutputImage >::Superclass |
|
protected |
|
protectedvirtual |
|
private |
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
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
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
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).
|
private |
void itk::VTKImageToImageFilter< TOutputImage >::SetInput | ( | vtkSmartPointer< vtkImageData > | ) |
Set the input in the form of a vtkImageData.
void itk::VTKImageToImageFilter< TOutputImage >::Update | ( | ) |
This call delegate the update to the importer.
|
private |
|
private |