RTK  1.4.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
rtk::ConstantImageSource< TOutputImage > Class Template Reference

#include <rtkConstantImageSource.h>

+ Inheritance diagram for rtk::ConstantImageSource< TOutputImage >:
+ Collaboration diagram for rtk::ConstantImageSource< TOutputImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef TOutputImage::DirectionType DirectionType
 
typedef TOutputImage::IndexType IndexType
 
typedef TOutputImage::PixelType OutputImagePixelType
 
typedef TOutputImage::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef TOutputImage::PointType PointType
 
typedef PointValueType PointValueArrayType[TOutputImage::ImageDimension]
 
typedef TOutputImage::PointValueType PointValueType
 
typedef ConstantImageSource Self
 
typedef TOutputImage::SizeType SizeType
 
typedef SizeValueType SizeValueArrayType[TOutputImage::ImageDimension]
 
typedef SizeType::SizeValueType SizeValueType
 
typedef TOutputImage::SpacingType SpacingType
 
typedef SpacingValueType SpacingValueArrayType[TOutputImage::ImageDimension]
 
typedef TOutputImage::SpacingValueType SpacingValueType
 
typedef itk::ImageSource< TOutputImage > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
void SetInformationFromImage (const itk::ImageBase< TOutputImage::ImageDimension > *image)
 
virtual void SetSize (SizeType _arg)
 
virtual SizeType GetSize ()
 
virtual void SetSize (SizeValueArrayType sizeArray)
 
virtual const SizeValueTypeGetSize () const
 
virtual void SetSpacing (SpacingType _arg)
 
virtual SpacingType GetSpacing ()
 
virtual void SetOrigin (PointType _arg)
 
virtual PointType GetOrigin ()
 
virtual void SetDirection (DirectionType _arg)
 
virtual DirectionType GetDirection ()
 
virtual void SetIndex (IndexType _arg)
 
virtual IndexType GetIndex ()
 
virtual void SetConstant (OutputImagePixelType _arg)
 
virtual OutputImagePixelType GetConstant () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ConstantImageSource ()
 
void GenerateOutputInformation () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
 
virtual ~ConstantImageSource () override
 

Protected Attributes

OutputImagePixelType m_Constant
 
DirectionType m_Direction
 
IndexType m_Index
 
PointType m_Origin
 
SizeType m_Size
 
SpacingType m_Spacing
 

Private Member Functions

 ConstantImageSource (const ConstantImageSource &)
 
void operator= (const ConstantImageSource &)
 

Detailed Description

template<typename TOutputImage>
class rtk::ConstantImageSource< TOutputImage >

Generate an n-dimensional image with constant pixel values.

ConstantImageSource generates an image with constant value. The filter is useful to allow streaming of large images with a constant source, e.g., a tomography reconstructed with a filtered backprojection algorithm.

Test:
rtkRaycastInterpolatorForwardProjectionTest.cxx, rtkprojectgeometricphantomtest.cxx, rtkfdktest.cxx, rtksarttest.cxx, rtkrampfiltertest.cxx, rtkamsterdamshroudtest.cxx, rtkdrawgeometricphantomtest.cxx, rtkmotioncompensatedfdktest.cxx, rtkfovtest.cxx, rtkforwardprojectiontest.cxx, rtkdisplaceddetectortest.cxx, rtkshortscantest.cxx
Author
Simon Rit

Definition at line 51 of file rtkConstantImageSource.h.

Member Typedef Documentation

template<typename TOutputImage >
typedef itk::SmartPointer<const Self> rtk::ConstantImageSource< TOutputImage >::ConstPointer

Definition at line 58 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef TOutputImage::DirectionType rtk::ConstantImageSource< TOutputImage >::DirectionType

Definition at line 86 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef TOutputImage::IndexType rtk::ConstantImageSource< TOutputImage >::IndexType

Definition at line 77 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef TOutputImage::PixelType rtk::ConstantImageSource< TOutputImage >::OutputImagePixelType

Typedefs for the output image PixelType.

Definition at line 64 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef TOutputImage::RegionType rtk::ConstantImageSource< TOutputImage >::OutputImageRegionType

Typedef to describe the output image region type.

Definition at line 67 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef TOutputImage rtk::ConstantImageSource< TOutputImage >::OutputImageType

Typedef for the output image type.

Definition at line 61 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef itk::SmartPointer<Self> rtk::ConstantImageSource< TOutputImage >::Pointer

Definition at line 57 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef TOutputImage::PointType rtk::ConstantImageSource< TOutputImage >::PointType

Definition at line 79 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef PointValueType rtk::ConstantImageSource< TOutputImage >::PointValueArrayType[TOutputImage::ImageDimension]

Definition at line 85 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef TOutputImage::PointValueType rtk::ConstantImageSource< TOutputImage >::PointValueType

Definition at line 84 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef ConstantImageSource rtk::ConstantImageSource< TOutputImage >::Self

Standard class typedefs.

Definition at line 55 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef TOutputImage::SizeType rtk::ConstantImageSource< TOutputImage >::SizeType

Basic types from the OutputImageType

Definition at line 73 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef SizeValueType rtk::ConstantImageSource< TOutputImage >::SizeValueArrayType[TOutputImage::ImageDimension]

Definition at line 81 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef SizeType::SizeValueType rtk::ConstantImageSource< TOutputImage >::SizeValueType

Definition at line 80 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef TOutputImage::SpacingType rtk::ConstantImageSource< TOutputImage >::SpacingType

Definition at line 78 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef SpacingValueType rtk::ConstantImageSource< TOutputImage >::SpacingValueArrayType[TOutputImage::ImageDimension]

Definition at line 83 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef TOutputImage::SpacingValueType rtk::ConstantImageSource< TOutputImage >::SpacingValueType

Definition at line 82 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef itk::ImageSource<TOutputImage> rtk::ConstantImageSource< TOutputImage >::Superclass

Definition at line 56 of file rtkConstantImageSource.h.

Constructor & Destructor Documentation

template<typename TOutputImage >
rtk::ConstantImageSource< TOutputImage >::ConstantImageSource ( )
protected
template<typename TOutputImage >
virtual rtk::ConstantImageSource< TOutputImage >::~ConstantImageSource ( )
overrideprotectedvirtual
template<typename TOutputImage >
rtk::ConstantImageSource< TOutputImage >::ConstantImageSource ( const ConstantImageSource< TOutputImage > &  )
private

Member Function Documentation

template<typename TOutputImage >
virtual::itk::LightObject::Pointer rtk::ConstantImageSource< TOutputImage >::CreateAnother ( ) const
template<typename TOutputImage >
void rtk::ConstantImageSource< TOutputImage >::GenerateOutputInformation ( )
overrideprotected
template<typename TOutputImage >
virtual OutputImagePixelType rtk::ConstantImageSource< TOutputImage >::GetConstant ( ) const
virtual

Set/Get the pixel value of output

template<typename TOutputImage >
virtual DirectionType rtk::ConstantImageSource< TOutputImage >::GetDirection ( )
virtual

Set/Get direction of the output image

template<typename TOutputImage >
virtual IndexType rtk::ConstantImageSource< TOutputImage >::GetIndex ( )
virtual

Set/Get index of the output image's largest possible region

template<typename TOutputImage >
virtual const char* rtk::ConstantImageSource< TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TOutputImage >
virtual PointType rtk::ConstantImageSource< TOutputImage >::GetOrigin ( )
virtual

Set/Get origin of the output image

template<typename TOutputImage >
virtual SizeType rtk::ConstantImageSource< TOutputImage >::GetSize ( )
virtual

Set/Get size of the output image

template<typename TOutputImage >
virtual const SizeValueType* rtk::ConstantImageSource< TOutputImage >::GetSize ( ) const
virtual

Set/Get size of the output image

template<typename TOutputImage >
virtual SpacingType rtk::ConstantImageSource< TOutputImage >::GetSpacing ( )
virtual

Set/Get spacing of the output image

template<typename TOutputImage >
static Pointer rtk::ConstantImageSource< TOutputImage >::New ( )
static

Method for creation through the object factory.

template<typename TOutputImage >
void rtk::ConstantImageSource< TOutputImage >::operator= ( const ConstantImageSource< TOutputImage > &  )
private
template<typename TOutputImage >
void rtk::ConstantImageSource< TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected
template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetConstant ( OutputImagePixelType  _arg)
virtual

Set/Get the pixel value of output

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetDirection ( DirectionType  _arg)
virtual

Set/Get direction of the output image

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetIndex ( IndexType  _arg)
virtual

Set/Get index of the output image's largest possible region

template<typename TOutputImage >
void rtk::ConstantImageSource< TOutputImage >::SetInformationFromImage ( const itk::ImageBase< TOutputImage::ImageDimension > *  image)

Set output image information from an existing image

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetOrigin ( PointType  _arg)
virtual

Set/Get origin of the output image

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetSize ( SizeType  _arg)
virtual

Set/Get size of the output image

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetSize ( SizeValueArrayType  sizeArray)
virtual

Set/Get size of the output image

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetSpacing ( SpacingType  _arg)
virtual

Set/Get spacing of the output image

template<typename TOutputImage >
void rtk::ConstantImageSource< TOutputImage >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
overrideprotected

Member Data Documentation

template<typename TOutputImage >
OutputImagePixelType rtk::ConstantImageSource< TOutputImage >::m_Constant
protected

Definition at line 142 of file rtkConstantImageSource.h.

template<typename TOutputImage >
DirectionType rtk::ConstantImageSource< TOutputImage >::m_Direction
protected

Definition at line 139 of file rtkConstantImageSource.h.

template<typename TOutputImage >
IndexType rtk::ConstantImageSource< TOutputImage >::m_Index
protected

Definition at line 140 of file rtkConstantImageSource.h.

template<typename TOutputImage >
PointType rtk::ConstantImageSource< TOutputImage >::m_Origin
protected

Definition at line 138 of file rtkConstantImageSource.h.

template<typename TOutputImage >
SizeType rtk::ConstantImageSource< TOutputImage >::m_Size
protected

Definition at line 136 of file rtkConstantImageSource.h.

template<typename TOutputImage >
SpacingType rtk::ConstantImageSource< TOutputImage >::m_Spacing
protected

Definition at line 137 of file rtkConstantImageSource.h.


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