creaImageIO_lib
|
Converts an ITK image into a VTK image and plugs a itk data pipeline to a VTK datapipeline. More...
#include <itkImageToVTKImageFilter.h>
Public Types | |
typedef ImageToVTKImageFilter | Self |
typedef ProcessObject | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef VTKImageExport < InputImageType > | ExporterFilterType |
typedef ExporterFilterType::Pointer | ExporterFilterPointer |
Public Member Functions | |
itkNewMacro (Self) | |
itkTypeMacro (ImageToVTKImageFilter, ProcessObject) | |
vtkImageData * | GetOutput () const |
void | SetInput (const InputImageType *) |
vtkImageImport * | GetImporter () const |
ExporterFilterType * | GetExporter () const |
void | Update () |
Protected Member Functions | |
ImageToVTKImageFilter () | |
virtual | ~ImageToVTKImageFilter () |
Private Member Functions | |
ImageToVTKImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
ExporterFilterPointer | m_Exporter |
vtkImageImport * | m_Importer |
std::vector< double > | m_vtest |
Converts an ITK image into a VTK image and plugs a itk data pipeline to a VTK datapipeline.
This class puts together an itkVTKImageExporter and a vtkImageImporter. 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 an itk::Image can be plugged as input and a vtkImage is produced as output.
Definition at line 41 of file itkImageToVTKImageFilter.h.
typedef SmartPointer<const Self> itk::ImageToVTKImageFilter< TInputImage >::ConstPointer |
Definition at line 48 of file itkImageToVTKImageFilter.h.
typedef ExporterFilterType::Pointer itk::ImageToVTKImageFilter< TInputImage >::ExporterFilterPointer |
Definition at line 60 of file itkImageToVTKImageFilter.h.
typedef VTKImageExport< InputImageType> itk::ImageToVTKImageFilter< TInputImage >::ExporterFilterType |
Definition at line 59 of file itkImageToVTKImageFilter.h.
typedef InputImageType::ConstPointer itk::ImageToVTKImageFilter< TInputImage >::InputImagePointer |
Definition at line 58 of file itkImageToVTKImageFilter.h.
typedef TInputImage itk::ImageToVTKImageFilter< TInputImage >::InputImageType |
Some typedefs.
Definition at line 57 of file itkImageToVTKImageFilter.h.
typedef SmartPointer<Self> itk::ImageToVTKImageFilter< TInputImage >::Pointer |
Definition at line 47 of file itkImageToVTKImageFilter.h.
typedef ImageToVTKImageFilter itk::ImageToVTKImageFilter< TInputImage >::Self |
Standard class typedefs.
Definition at line 45 of file itkImageToVTKImageFilter.h.
typedef ProcessObject itk::ImageToVTKImageFilter< TInputImage >::Superclass |
Definition at line 46 of file itkImageToVTKImageFilter.h.
|
protected |
|
protectedvirtual |
Destructor
Definition at line 89 of file itkImageToVTKImageFilter.txx.
|
private |
ImageToVTKImageFilter< TInputImage >::ExporterFilterType * itk::ImageToVTKImageFilter< TInputImage >::GetExporter | ( | ) | const |
Return the internal ITK image exporter filter. This is intended to facilitate users the access to methods in the exporter
Get the exporter filter
Definition at line 146 of file itkImageToVTKImageFilter.txx.
vtkImageImport * itk::ImageToVTKImageFilter< TInputImage >::GetImporter | ( | ) | const |
Return the internal VTK image importer filter. This is intended to facilitate users the access to methods in the importer
Get the importer filter
Definition at line 133 of file itkImageToVTKImageFilter.txx.
vtkImageData * itk::ImageToVTKImageFilter< TInputImage >::GetOutput | ( | ) | const |
Get the output in the form of a vtkImage. This call is delegated to the internal vtkImageImporter filter
Get a vtkImage as output
Definition at line 119 of file itkImageToVTKImageFilter.txx.
itk::ImageToVTKImageFilter< TInputImage >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::ImageToVTKImageFilter< TInputImage >::itkTypeMacro | ( | ImageToVTKImageFilter< TInputImage > | , |
ProcessObject | |||
) |
Run-time type information (and related methods).
|
private |
void itk::ImageToVTKImageFilter< TInputImage >::SetInput | ( | const InputImageType * | inputImage | ) |
Set the input in the form of an itk::Image
Set an itk::Image as input
Definition at line 106 of file itkImageToVTKImageFilter.txx.
void itk::ImageToVTKImageFilter< TInputImage >::Update | ( | ) |
This call delegate the update to the importer
Delegate the Update to the importer
Definition at line 159 of file itkImageToVTKImageFilter.txx.
|
private |
Definition at line 93 of file itkImageToVTKImageFilter.h.
|
private |
Definition at line 94 of file itkImageToVTKImageFilter.h.
|
private |
Definition at line 95 of file itkImageToVTKImageFilter.h.