Computer Assited Medical Intervention Tool Kit  version 5.0
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 >:
+ Collaboration diagram for itk::ImageToVTKImageFilter< TInputImage >:

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef ExporterFilterType::Pointer ExporterFilterPointer
 
typedef VTKImageExport< InputImageTypeExporterFilterType
 
typedef InputImageType::ConstPointer InputImagePointer
 
typedef TInputImage InputImageType
 Some typedefs. More...
 
typedef SmartPointer< SelfPointer
 
typedef ImageToVTKImageFilter Self
 Standard class typedefs. More...
 
typedef ProcessObject Superclass
 

Public Member Functions

const std::vector< double > & addtest (double toto)
 
std::vector< double > addvector (const std::vector< double > &v)
 
ExporterFilterTypeGetExporter () const
 Return the internal ITK image exporter filter. More...
 
vtkSmartPointer< vtkImageImport > GetImporter () const
 Return the internal VTK image importer filter. More...
 
vtkSmartPointer< vtkImageData > GetOutput () const
 Get the output in the form of a vtkImage. More...
 
const std::vector< double > & getvtest () const
 
 itkNewMacro (Self)
 Method for creation through the object factory. More...
 
 itkTypeMacro (ImageToVTKImageFilter, ProcessObject)
 Run-time type information (and related methods). More...
 
void SetInput (const InputImageType *)
 Set the input in the form of an itk::Image. More...
 
int testsize ()
 
std::vector< double > tralala ()
 
void Update ()
 This call delegate the update to the importer. More...
 

Protected Member Functions

 ImageToVTKImageFilter ()
 
virtual ~ImageToVTKImageFilter ()
 

Private Member Functions

 ImageToVTKImageFilter (const Self &)
 
void operator= (const Self &)
 

Private Attributes

ExporterFilterPointer m_Exporter
 
vtkSmartPointer< vtkImageImport > m_Importer
 
std::vector< double > m_vtest
 

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.

Member Typedef Documentation

◆ ConstPointer

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

◆ ExporterFilterPointer

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

◆ ExporterFilterType

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

◆ InputImagePointer

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

◆ InputImageType

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

Some typedefs.

◆ Pointer

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

◆ Self

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

Standard class typedefs.

◆ Superclass

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

Constructor & Destructor Documentation

◆ ImageToVTKImageFilter() [1/2]

template<class TInputImage >
itk::ImageToVTKImageFilter< TInputImage >::ImageToVTKImageFilter ( )
protected

◆ ~ImageToVTKImageFilter()

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

◆ ImageToVTKImageFilter() [2/2]

template<class TInputImage >
itk::ImageToVTKImageFilter< TInputImage >::ImageToVTKImageFilter ( const Self )
private

Member Function Documentation

◆ addtest()

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

◆ addvector()

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

◆ GetExporter()

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

◆ GetImporter()

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

◆ GetOutput()

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

Get the output in the form of a vtkImage.

This call is delegated to the internal vtkImageImporter filter

◆ getvtest()

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

◆ itkNewMacro()

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

Method for creation through the object factory.

◆ itkTypeMacro()

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

Run-time type information (and related methods).

◆ operator=()

template<class TInputImage >
void itk::ImageToVTKImageFilter< TInputImage >::operator= ( const Self )
private

◆ SetInput()

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

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

◆ testsize()

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

◆ tralala()

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

◆ Update()

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

This call delegate the update to the importer.

Member Data Documentation

◆ m_Exporter

template<class TInputImage >
ExporterFilterPointer itk::ImageToVTKImageFilter< TInputImage >::m_Exporter
private

◆ m_Importer

template<class TInputImage >
vtkSmartPointer<vtkImageImport> itk::ImageToVTKImageFilter< TInputImage >::m_Importer
private

◆ m_vtest

template<class TInputImage >
std::vector<double> itk::ImageToVTKImageFilter< TInputImage >::m_vtest
private

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