NorMIT-nav  18.04
An IGT application
itk::ImageToVTKImageFilter< TInputImage > Class Template Reference

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

#include <itkImageToVTKImageFilter.h>

Inheritance diagram for itk::ImageToVTKImageFilter< TInputImage >:

Public Types

typedef ImageToVTKImageFilter Self
 
typedef ProcessObject Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TInputImage InputImageType
 
typedef InputImageType::ConstPointer InputImagePointer
 
typedef VTKImageExport< InputImageTypeExporterFilterType
 
typedef ExporterFilterType::Pointer ExporterFilterPointer
 

Public Member Functions

 itkNewMacro (Self)
 
 itkTypeMacro (ImageToVTKImageFilter, ProcessObject)
 
vtkImageData * GetOutput () const
 
void SetInput (const InputImageType *)
 
vtkImageImport * GetImporter () const
 
ExporterFilterTypeGetExporter () const
 
void Update ()
 
const std::vector< double > & getvtest () const
 
int testsize ()
 
std::vector< double > addvector (const std::vector< double > &v)
 
const std::vector< double > & addtest (double toto)
 
std::vector< double > tralala ()
 

Protected Member Functions

 ImageToVTKImageFilter ()
 
virtual ~ImageToVTKImageFilter ()
 

Detailed Description

template<class TInputImage>
class itk::ImageToVTKImageFilter< TInputImage >

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.

Member Typedef Documentation

template<class TInputImage >
typedef SmartPointer<const Self> itk::ImageToVTKImageFilter< TInputImage >::ConstPointer

Definition at line 48 of file itkImageToVTKImageFilter.h.

template<class TInputImage >
typedef ExporterFilterType::Pointer itk::ImageToVTKImageFilter< TInputImage >::ExporterFilterPointer

Definition at line 60 of file itkImageToVTKImageFilter.h.

template<class TInputImage >
typedef VTKImageExport< InputImageType> itk::ImageToVTKImageFilter< TInputImage >::ExporterFilterType

Definition at line 59 of file itkImageToVTKImageFilter.h.

template<class TInputImage >
typedef InputImageType::ConstPointer itk::ImageToVTKImageFilter< TInputImage >::InputImagePointer

Definition at line 58 of file itkImageToVTKImageFilter.h.

template<class TInputImage >
typedef TInputImage itk::ImageToVTKImageFilter< TInputImage >::InputImageType

Some typedefs.

Definition at line 57 of file itkImageToVTKImageFilter.h.

template<class TInputImage >
typedef SmartPointer<Self> itk::ImageToVTKImageFilter< TInputImage >::Pointer

Definition at line 47 of file itkImageToVTKImageFilter.h.

template<class TInputImage >
typedef ImageToVTKImageFilter itk::ImageToVTKImageFilter< TInputImage >::Self

Standard class typedefs.

Definition at line 45 of file itkImageToVTKImageFilter.h.

template<class TInputImage >
typedef ProcessObject itk::ImageToVTKImageFilter< TInputImage >::Superclass

Definition at line 46 of file itkImageToVTKImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage >
itk::ImageToVTKImageFilter< TInputImage >::ImageToVTKImageFilter ( )
protected
template<class TInputImage >
virtual itk::ImageToVTKImageFilter< TInputImage >::~ImageToVTKImageFilter ( )
protectedvirtual

Member Function Documentation

template<class TInputImage >
const std::vector<double>& itk::ImageToVTKImageFilter< TInputImage >::addtest ( double  toto)
inline

Definition at line 98 of file itkImageToVTKImageFilter.h.

template<class TInputImage >
std::vector<double> itk::ImageToVTKImageFilter< TInputImage >::addvector ( const std::vector< double > &  v)
inline

Definition at line 92 of file itkImageToVTKImageFilter.h.

template<class 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

template<class TInputImage >
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

template<class TInputImage >
vtkImageData* itk::ImageToVTKImageFilter< TInputImage >::GetOutput ( ) const

Get the output in the form of a vtkImage. This call is delegated to the internal vtkImageImporter filter

template<class TInputImage >
const std::vector<double>& itk::ImageToVTKImageFilter< TInputImage >::getvtest ( ) const
inline

Definition at line 82 of file itkImageToVTKImageFilter.h.

template<class TInputImage >
itk::ImageToVTKImageFilter< TInputImage >::itkNewMacro ( Self  )

Method for creation through the object factory.

template<class TInputImage >
itk::ImageToVTKImageFilter< TInputImage >::itkTypeMacro ( ImageToVTKImageFilter< TInputImage >  ,
ProcessObject   
)

Run-time type information (and related methods).

template<class TInputImage >
void itk::ImageToVTKImageFilter< TInputImage >::SetInput ( const InputImageType )

Set the input in the form of an itk::Image

template<class TInputImage >
int itk::ImageToVTKImageFilter< TInputImage >::testsize ( )
inline

Definition at line 87 of file itkImageToVTKImageFilter.h.

template<class TInputImage >
std::vector<double> itk::ImageToVTKImageFilter< TInputImage >::tralala ( )
inline

Definition at line 103 of file itkImageToVTKImageFilter.h.

template<class TInputImage >
void itk::ImageToVTKImageFilter< TInputImage >::Update ( )

This call delegate the update to the importer


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