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::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkVectorIndexSelectionCastImageFilter.h>

+ Inheritance diagram for itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef
VectorIndexSelectionCastImageFilter 
Self
typedef
UnaryFunctorImageFilter
< TInputImage, TOutputImage,
Functor::VectorIndexSelectionCast
< typename
TInputImage::PixelType,
typename
TOutputImage::PixelType > > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
unsigned int GetIndex (void) const
virtual const char * GetNameOfClass () const
 typedef (Concept::HasNumericTraits< typename TInputImage::PixelType::ValueType >) InputHasNumericTraitsCheck
void SetIndex (unsigned int i)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

virtual void BeforeThreadedGenerateData ()
 VectorIndexSelectionCastImageFilter ()
virtual ~VectorIndexSelectionCastImageFilter ()

Private Member Functions

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

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >

Extracts the selected index of the vector that is the input pixel type.

This filter is templated over the input image type and output image type.

The filter expect the input image pixel type to be a vector and the output image pixel type to be a scalar. The only requirement on the type used for representing the vector is that it must provide an operator[].

Wiki Examples:

Definition at line 83 of file itkVectorIndexSelectionCastImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef VectorIndexSelectionCastImageFilter itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::Self
template<class TInputImage , class TOutputImage >
typedef UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorIndexSelectionCast< typename TInputImage::PixelType, typename TOutputImage::PixelType > > itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::VectorIndexSelectionCastImageFilter ( ) [inline, protected]

End concept checking

Definition at line 131 of file itkVectorIndexSelectionCastImageFilter.h.

template<class TInputImage , class TOutputImage >
virtual itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::~VectorIndexSelectionCastImageFilter ( ) [inline, protected, virtual]

End concept checking

Definition at line 132 of file itkVectorIndexSelectionCastImageFilter.h.

template<class TInputImage , class TOutputImage >
itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::VectorIndexSelectionCastImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual void itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( void  ) [inline, protected, virtual]

If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 135 of file itkVectorIndexSelectionCastImageFilter.h.

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::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::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorIndexSelectionCast< TInputImage::PixelType, TOutputImage::PixelType > >.

template<class TInputImage , class TOutputImage >
unsigned int itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::GetIndex ( void  ) const [inline]

Definition at line 118 of file itkVectorIndexSelectionCastImageFilter.h.

template<class TInputImage , class TOutputImage >
virtual const char* itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]
template<class TInputImage , class TOutputImage >
static Pointer itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::New ( ) [static]
template<class TInputImage , class TOutputImage >
void itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorIndexSelectionCast< TInputImage::PixelType, TOutputImage::PixelType > >.

template<class TInputImage , class TOutputImage >
void itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::SetIndex ( unsigned int  i) [inline]

Get/Set methods for the index

Definition at line 108 of file itkVectorIndexSelectionCastImageFilter.h.

template<class TInputImage , class TOutputImage >
itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasNumericTraits< typename TInputImage::PixelType::ValueType >  )

Begin concept checking This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< typename TInputImage::PixelType::ValueType > )


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