ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions
itk::AddImageAdaptor< TImage > Class Template Reference

#include <itkAddImageAdaptor.h>

+ Inheritance diagram for itk::AddImageAdaptor< TImage >:
+ Collaboration diagram for itk::AddImageAdaptor< TImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef TImage::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef AddImageAdaptor Self
typedef ImageAdaptor< TImage,
Accessor::AddPixelAccessor
< typename TImage::PixelType > > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
void SetValue (const PixelType newvalue)

Static Public Member Functions

static Pointer New ()
PixelType GetValue () const
 AddImageAdaptor ()
virtual ~AddImageAdaptor ()
 AddImageAdaptor (const Self &)
void operator= (const Self &)

Detailed Description

template<class TImage>
class itk::AddImageAdaptor< TImage >

Presents an image as being the addition of a constant value to all pixels.

Additional casting is performed according to the input and output image types following C++ default casting rules.

Definition at line 36 of file itkAddImageAdaptor.h.


Member Typedef Documentation

template<class TImage >
typedef SmartPointer< const Self > itk::AddImageAdaptor< TImage >::ConstPointer
template<class TImage >
typedef TImage::PixelType itk::AddImageAdaptor< TImage >::PixelType

Pixel typedef support. Used to declare pixel type in filters or other operations.

Reimplemented from itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

Definition at line 50 of file itkAddImageAdaptor.h.

template<class TImage >
typedef SmartPointer< Self > itk::AddImageAdaptor< TImage >::Pointer
template<class TImage >
typedef AddImageAdaptor itk::AddImageAdaptor< TImage >::Self

Standard class typedefs.

Reimplemented from itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

Definition at line 42 of file itkAddImageAdaptor.h.

template<class TImage >
typedef ImageAdaptor< TImage, Accessor::AddPixelAccessor< typename TImage::PixelType > > itk::AddImageAdaptor< TImage >::Superclass

Constructor & Destructor Documentation

template<class TImage >
itk::AddImageAdaptor< TImage >::AddImageAdaptor ( ) [inline, protected]

Get the value to be added to image pixels

Definition at line 66 of file itkAddImageAdaptor.h.

template<class TImage >
virtual itk::AddImageAdaptor< TImage >::~AddImageAdaptor ( ) [inline, protected, virtual]

Get the value to be added to image pixels

Definition at line 67 of file itkAddImageAdaptor.h.

template<class TImage >
itk::AddImageAdaptor< TImage >::AddImageAdaptor ( const Self ) [private]

Get the value to be added to image pixels


Member Function Documentation

template<class TImage >
virtual::itk::LightObject::Pointer itk::AddImageAdaptor< TImage >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

template<class TImage >
virtual const char* itk::AddImageAdaptor< TImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

template<class TImage >
PixelType itk::AddImageAdaptor< TImage >::GetValue ( ) const [inline]

Get the value to be added to image pixels

Definition at line 63 of file itkAddImageAdaptor.h.

template<class TImage >
static Pointer itk::AddImageAdaptor< TImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

template<class TImage >
void itk::AddImageAdaptor< TImage >::operator= ( const Self ) [private]

Get the value to be added to image pixels

Reimplemented from itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

template<class TImage >
void itk::AddImageAdaptor< TImage >::SetValue ( const PixelType  newvalue) [inline]

Set the value to be added to image pixels

Definition at line 59 of file itkAddImageAdaptor.h.


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