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 SmartPointer< const Self > | ConstPointer |
typedef ExporterFilterType::Pointer | ExporterFilterPointer |
typedef VTKImageExport< InputImageType > | ExporterFilterType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef TInputImage | InputImageType |
Some typedefs. More... | |
typedef SmartPointer< Self > | Pointer |
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) |
ExporterFilterType * | GetExporter () 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 |
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.
typedef SmartPointer<const Self> itk::ImageToVTKImageFilter< TInputImage >::ConstPointer |
typedef ExporterFilterType::Pointer itk::ImageToVTKImageFilter< TInputImage >::ExporterFilterPointer |
typedef VTKImageExport< InputImageType> itk::ImageToVTKImageFilter< TInputImage >::ExporterFilterType |
typedef InputImageType::ConstPointer itk::ImageToVTKImageFilter< TInputImage >::InputImagePointer |
typedef TInputImage itk::ImageToVTKImageFilter< TInputImage >::InputImageType |
Some typedefs.
typedef SmartPointer<Self> itk::ImageToVTKImageFilter< TInputImage >::Pointer |
typedef ImageToVTKImageFilter itk::ImageToVTKImageFilter< TInputImage >::Self |
Standard class typedefs.
typedef ProcessObject itk::ImageToVTKImageFilter< TInputImage >::Superclass |
|
protected |
|
protectedvirtual |
|
private |
|
inline |
|
inline |
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
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
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
|
inline |
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 * | ) |
Set the input in the form of an itk::Image.
|
inline |
|
inline |
void itk::ImageToVTKImageFilter< TInputImage >::Update | ( | ) |
This call delegate the update to the importer.
|
private |
|
private |
|
private |