open_iA  2020.04
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Types | Public Member Functions | Protected Member Functions | List of all members
itk::VectorImageDuplicator< TInputVectorImage > Class Template Reference

This helper class create a vector image which is perfect copy of the input vector image. More...

#include <itkVectorImageDuplicator.h>

Inheritance diagram for itk::VectorImageDuplicator< TInputVectorImage >:
Collaboration diagram for itk::VectorImageDuplicator< TInputVectorImage >:

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef TInputVectorImage::ConstPointer ImageConstPointer
 
typedef TInputVectorImage::Pointer ImagePointer
 
typedef TInputVectorImage ImageType
 Type definitions for the input image. More...
 
typedef TInputVectorImage::IndexType IndexType
 
typedef TInputVectorImage::InternalPixelType InternalPixelType
 
typedef TInputVectorImage::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef VectorImageDuplicator Self
 Standard class typedefs. More...
 
typedef Object Superclass
 

Public Member Functions

 itkGetObjectMacro (Output, ImageType)
 Get the output image. More...
 
 itkNewMacro (Self)
 Method for creation through the object factory. More...
 
 itkSetConstObjectMacro (InputImage, ImageType)
 Set the input image. More...
 
 itkStaticConstMacro (ImageDimension, unsigned int, ImageType::ImageDimension)
 
 itkTypeMacro (VectorImageDuplicator, Object)
 Run-time type information (and related methods). More...
 
void Update (void)
 Compute of the input image. More...
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const override
 
 VectorImageDuplicator ()
 
virtual ~VectorImageDuplicator ()
 

Detailed Description

template<class TInputVectorImage>
class itk::VectorImageDuplicator< TInputVectorImage >

This helper class create a vector image which is perfect copy of the input vector image.

This class is NOT a filter. Although it has an API similar to a filter, this class is not intended to be used in a pipeline. Instead, the typical use will be like it is illustrated in the following code:

medianFilter->Update();
VectorImageType::Pointer vectorImage = medianFilter->GetOutput();
typedef VectorImageDuplicator< VectorImageType > DuplicatorType;
DuplicatorType::Pointer duplicator = DuplicatorType::New();
duplicator->SetInput();
duplicator->Update();
ImageType::Pointer clonedVectorImage = duplicator->GetOutput();

Note that the Update() method must be called explicitly in the filter that provides the input to the VectorImageDuplicator object. This is needed because the VectorImageDuplicator is not a pipeline filter.

Member Typedef Documentation

◆ ConstPointer

template<class TInputVectorImage >
typedef SmartPointer<const Self> itk::VectorImageDuplicator< TInputVectorImage >::ConstPointer

◆ ImageConstPointer

template<class TInputVectorImage >
typedef TInputVectorImage::ConstPointer itk::VectorImageDuplicator< TInputVectorImage >::ImageConstPointer

◆ ImagePointer

template<class TInputVectorImage >
typedef TInputVectorImage::Pointer itk::VectorImageDuplicator< TInputVectorImage >::ImagePointer

◆ ImageType

template<class TInputVectorImage >
typedef TInputVectorImage itk::VectorImageDuplicator< TInputVectorImage >::ImageType

Type definitions for the input image.

◆ IndexType

template<class TInputVectorImage >
typedef TInputVectorImage::IndexType itk::VectorImageDuplicator< TInputVectorImage >::IndexType

◆ InternalPixelType

template<class TInputVectorImage >
typedef TInputVectorImage::InternalPixelType itk::VectorImageDuplicator< TInputVectorImage >::InternalPixelType

◆ PixelType

template<class TInputVectorImage >
typedef TInputVectorImage::PixelType itk::VectorImageDuplicator< TInputVectorImage >::PixelType

◆ Pointer

template<class TInputVectorImage >
typedef SmartPointer<Self> itk::VectorImageDuplicator< TInputVectorImage >::Pointer

◆ Self

template<class TInputVectorImage >
typedef VectorImageDuplicator itk::VectorImageDuplicator< TInputVectorImage >::Self

Standard class typedefs.

◆ Superclass

template<class TInputVectorImage >
typedef Object itk::VectorImageDuplicator< TInputVectorImage >::Superclass

Constructor & Destructor Documentation

◆ VectorImageDuplicator()

template<class TInputVectorImage >
itk::VectorImageDuplicator< TInputVectorImage >::VectorImageDuplicator ( )
protected

◆ ~VectorImageDuplicator()

template<class TInputVectorImage >
virtual itk::VectorImageDuplicator< TInputVectorImage >::~VectorImageDuplicator ( )
inlineprotectedvirtual

Member Function Documentation

◆ itkGetObjectMacro()

template<class TInputVectorImage >
itk::VectorImageDuplicator< TInputVectorImage >::itkGetObjectMacro ( Output  ,
ImageType   
)

Get the output image.

◆ itkNewMacro()

template<class TInputVectorImage >
itk::VectorImageDuplicator< TInputVectorImage >::itkNewMacro ( Self  )

Method for creation through the object factory.

◆ itkSetConstObjectMacro()

template<class TInputVectorImage >
itk::VectorImageDuplicator< TInputVectorImage >::itkSetConstObjectMacro ( InputImage  ,
ImageType   
)

Set the input image.

◆ itkStaticConstMacro()

template<class TInputVectorImage >
itk::VectorImageDuplicator< TInputVectorImage >::itkStaticConstMacro ( ImageDimension  ,
unsigned int  ,
ImageType::ImageDimension   
)

◆ itkTypeMacro()

template<class TInputVectorImage >
itk::VectorImageDuplicator< TInputVectorImage >::itkTypeMacro ( VectorImageDuplicator< TInputVectorImage >  ,
Object   
)

Run-time type information (and related methods).

◆ PrintSelf()

template<class TInputVectorImage >
void itk::VectorImageDuplicator< TInputVectorImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected

◆ Update()

template<class TInputVectorImage >
void itk::VectorImageDuplicator< TInputVectorImage >::Update ( void  )

Compute of the input image.


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