Skip to content

itk::ImageToVTKImageFilter

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

#include <itkImageToVTKImageFilter.h>

Inherits from ProcessObject

Public Types

Name
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
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 Functions

Name
itkNewMacro(Self )
itkTypeMacro(ImageToVTKImageFilter , ProcessObject )
vtkImageData * GetOutput() const
void SetInput(const InputImageType * )
vtkImageImport * GetImporter() const
ExporterFilterType * GetExporter() const
void Update()
itkNewMacro(Self )
itkTypeMacro(ImageToVTKImageFilter , ProcessObject )
vtkImageData * GetOutput() const
void SetInput(const InputImageType * )
vtkImageImport * GetImporter() const
ExporterFilterType * GetExporter() const
void Update()

Protected Functions

Name
ImageToVTKImageFilter()
virtual ~ImageToVTKImageFilter()
ImageToVTKImageFilter()
virtual ~ImageToVTKImageFilter()

Detailed Description

template <class TInputImage >
class itk::ImageToVTKImageFilter;

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.

Public Types Documentation

typedef Self

typedef ImageToVTKImageFilter itk::ImageToVTKImageFilter< TInputImage >::Self;

Standard class typedefs.

typedef Superclass

typedef ProcessObject itk::ImageToVTKImageFilter< TInputImage >::Superclass;

typedef Pointer

typedef SmartPointer<Self> itk::ImageToVTKImageFilter< TInputImage >::Pointer;

typedef ConstPointer

typedef SmartPointer<const Self> itk::ImageToVTKImageFilter< TInputImage >::ConstPointer;

typedef InputImageType

typedef TInputImage itk::ImageToVTKImageFilter< TInputImage >::InputImageType;

Some typedefs.

typedef InputImagePointer

typedef InputImageType::ConstPointer itk::ImageToVTKImageFilter< TInputImage >::InputImagePointer;

typedef ExporterFilterType

typedef VTKImageExport< InputImageType> itk::ImageToVTKImageFilter< TInputImage >::ExporterFilterType;

typedef ExporterFilterPointer

typedef ExporterFilterType::Pointer itk::ImageToVTKImageFilter< TInputImage >::ExporterFilterPointer;

typedef Self

typedef ImageToVTKImageFilter itk::ImageToVTKImageFilter< TInputImage >::Self;

Standard class typedefs.

typedef Superclass

typedef ProcessObject itk::ImageToVTKImageFilter< TInputImage >::Superclass;

typedef Pointer

typedef SmartPointer<Self> itk::ImageToVTKImageFilter< TInputImage >::Pointer;

typedef ConstPointer

typedef SmartPointer<const Self> itk::ImageToVTKImageFilter< TInputImage >::ConstPointer;

typedef InputImageType

typedef TInputImage itk::ImageToVTKImageFilter< TInputImage >::InputImageType;

Some typedefs.

typedef InputImagePointer

typedef InputImageType::ConstPointer itk::ImageToVTKImageFilter< TInputImage >::InputImagePointer;

typedef ExporterFilterType

typedef VTKImageExport< InputImageType> itk::ImageToVTKImageFilter< TInputImage >::ExporterFilterType;

typedef ExporterFilterPointer

typedef ExporterFilterType::Pointer itk::ImageToVTKImageFilter< TInputImage >::ExporterFilterPointer;

Public Functions Documentation

function itkNewMacro

itkNewMacro(
    Self 
)

Method for creation through the object factory.

function itkTypeMacro

itkTypeMacro(
    ImageToVTKImageFilter ,
    ProcessObject 
)

Run-time type information (and related methods).

function GetOutput

vtkImageData * GetOutput() const

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

function SetInput

void SetInput(
    const InputImageType * 
)

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

function GetImporter

vtkImageImport * GetImporter() const

Return the internal VTK image importer filter. This is intended to facilitate users the access to methods in the importer

function GetExporter

ExporterFilterType * GetExporter() const

Return the internal ITK image exporter filter. This is intended to facilitate users the access to methods in the exporter

function Update

void Update()

This call delegate the update to the importer

function itkNewMacro

itkNewMacro(
    Self 
)

Method for creation through the object factory.

function itkTypeMacro

itkTypeMacro(
    ImageToVTKImageFilter ,
    ProcessObject 
)

Run-time type information (and related methods).

function GetOutput

vtkImageData * GetOutput() const

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

function SetInput

void SetInput(
    const InputImageType * 
)

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

function GetImporter

vtkImageImport * GetImporter() const

Return the internal VTK image importer filter. This is intended to facilitate users the access to methods in the importer

function GetExporter

ExporterFilterType * GetExporter() const

Return the internal ITK image exporter filter. This is intended to facilitate users the access to methods in the exporter

function Update

void Update()

This call delegate the update to the importer

Protected Functions Documentation

function ImageToVTKImageFilter

ImageToVTKImageFilter()

function ~ImageToVTKImageFilter

virtual ~ImageToVTKImageFilter()

function ImageToVTKImageFilter

ImageToVTKImageFilter()

function ~ImageToVTKImageFilter

virtual ~ImageToVTKImageFilter()

Updated on 2022-03-31 at 09:51:18 -0600