ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
itk::NthElementImageAdaptor< TImage, TOutputPixelType > Class Template Reference

#include <itkNthElementImageAdaptor.h>

+ Inheritance diagram for itk::NthElementImageAdaptor< TImage, TOutputPixelType >:
+ Collaboration diagram for itk::NthElementImageAdaptor< TImage, TOutputPixelType >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef NthElementImageAdaptor Self
typedef
NthElementImageAdaptorHelper
< TImage, TOutputPixelType >
::Super 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
void SelectNthElement (unsigned int nth)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 NthElementImageAdaptor ()
virtual ~NthElementImageAdaptor ()

Private Member Functions

 NthElementImageAdaptor (const Self &)
void operator= (const Self &)

Detailed Description

template<class TImage, class TOutputPixelType>
class itk::NthElementImageAdaptor< TImage, TOutputPixelType >

Presents an image as being composed of the N-th element of its pixels.

It assumes that the pixels are of container type and have in their API an operator[]( unsigned int ) defined.

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

Wiki Examples:

Definition at line 59 of file itkNthElementImageAdaptor.h.


Member Typedef Documentation

template<class TImage , class TOutputPixelType >
typedef SmartPointer< const Self > itk::NthElementImageAdaptor< TImage, TOutputPixelType >::ConstPointer

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 67 of file itkNthElementImageAdaptor.h.

template<class TImage , class TOutputPixelType >
typedef SmartPointer< Self > itk::NthElementImageAdaptor< TImage, TOutputPixelType >::Pointer

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 66 of file itkNthElementImageAdaptor.h.

template<class TImage , class TOutputPixelType >
typedef NthElementImageAdaptor itk::NthElementImageAdaptor< TImage, TOutputPixelType >::Self

Standard class typedefs.

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 64 of file itkNthElementImageAdaptor.h.

template<class TImage , class TOutputPixelType >
typedef NthElementImageAdaptorHelper< TImage, TOutputPixelType >::Super itk::NthElementImageAdaptor< TImage, TOutputPixelType >::Superclass

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 65 of file itkNthElementImageAdaptor.h.


Constructor & Destructor Documentation

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

Definition at line 84 of file itkNthElementImageAdaptor.h.

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

Definition at line 85 of file itkNthElementImageAdaptor.h.

template<class TImage , class TOutputPixelType >
itk::NthElementImageAdaptor< TImage, TOutputPixelType >::NthElementImageAdaptor ( const Self ) [private]

Member Function Documentation

template<class TImage , class TOutputPixelType >
virtual::itk::LightObject::Pointer itk::NthElementImageAdaptor< TImage, TOutputPixelType >::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, TAccessor >.

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

Run-time type information (and related methods).

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

template<class TImage , class TOutputPixelType >
static Pointer itk::NthElementImageAdaptor< TImage, TOutputPixelType >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

template<class TImage , class TOutputPixelType >
void itk::NthElementImageAdaptor< TImage, TOutputPixelType >::operator= ( const Self ) [private]
template<class TImage , class TOutputPixelType >
void itk::NthElementImageAdaptor< TImage, TOutputPixelType >::SelectNthElement ( unsigned int  nth) [inline]

Select the element number to be accessed

Definition at line 76 of file itkNthElementImageAdaptor.h.


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