Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Accessor::AddPixelAccessor< TPixel > Class Template Reference
[Image Adaptors]

Simulates the effect of adding a constant value to all pixels. More...

#include <itkAddPixelAccessor.h>

Collaboration diagram for itk::Accessor::AddPixelAccessor< TPixel >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef AddPixelAccessor Self
typedef TPixel ExternalType
typedef TPixel InternalType

Public Methods

void Set (InternalType &output, const ExternalType &input) const
ExternalType Get (const InternalType &input) const
void SetValue (TPixel newvalue)
TPixel GetValue ()
Selfoperator= (const Self &apa)
 AddPixelAccessor ()
 AddPixelAccessor (const Self &apa)

Detailed Description

template<class TPixel>
class itk::Accessor::AddPixelAccessor< TPixel >

Simulates the effect of adding a constant value to all pixels.

This class is intended to be used as parameter of an ImageAdaptor to make an image appear as having pixels with intensity values increased by a constant amount.

See also:
ImageAdaptor

Definition at line 39 of file itkAddPixelAccessor.h.


Member Typedef Documentation

template<class TPixel>
typedef TPixel itk::Accessor::AddPixelAccessor< TPixel >::ExternalType
 

External typedef. It defines the external aspect that this class will exhibit

Definition at line 47 of file itkAddPixelAccessor.h.

template<class TPixel>
typedef TPixel itk::Accessor::AddPixelAccessor< TPixel >::InternalType
 

Internal typedef. It defines the internal real representation of data

Definition at line 51 of file itkAddPixelAccessor.h.

template<class TPixel>
typedef AddPixelAccessor itk::Accessor::AddPixelAccessor< TPixel >::Self
 

Standard class typedefs.

Definition at line 43 of file itkAddPixelAccessor.h.


Constructor & Destructor Documentation

template<class TPixel>
itk::Accessor::AddPixelAccessor< TPixel >::AddPixelAccessor   [inline]
 

Constructors

Definition at line 75 of file itkAddPixelAccessor.h.

template<class TPixel>
itk::Accessor::AddPixelAccessor< TPixel >::AddPixelAccessor const Self   apa [inline]
 

Constructors

Definition at line 76 of file itkAddPixelAccessor.h.


Member Function Documentation

template<class TPixel>
ExternalType itk::Accessor::AddPixelAccessor< TPixel >::Get const InternalType   input const [inline]
 

Read access to the pixel

Definition at line 58 of file itkAddPixelAccessor.h.

template<class TPixel>
TPixel itk::Accessor::AddPixelAccessor< TPixel >::GetValue   [inline]
 

Get the value to be added to pixels

Definition at line 66 of file itkAddPixelAccessor.h.

template<class TPixel>
Self& itk::Accessor::AddPixelAccessor< TPixel >::operator= const Self   apa [inline]
 

Assignment Operator

Definition at line 70 of file itkAddPixelAccessor.h.

template<class TPixel>
void itk::Accessor::AddPixelAccessor< TPixel >::Set InternalType   output,
const ExternalType   input
const [inline]
 

Write access to the pixel

Definition at line 54 of file itkAddPixelAccessor.h.

template<class TPixel>
void itk::Accessor::AddPixelAccessor< TPixel >::SetValue TPixel    newvalue [inline]
 

Set the value to be added to pixels

Definition at line 62 of file itkAddPixelAccessor.h.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:22:01 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000