ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions
itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter > Class Template Reference

#include <itkGPUInPlaceImageFilter.h>

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

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef TParentImageFilter CPUSuperclass
typedef GPUImageToImageFilter
< TInputImage, TOutputImage,
TParentImageFilter
GPUSuperclass
typedef
GPUSuperclass::OutputImagePixelType 
OutputImagePixelType
typedef
GPUSuperclass::OutputImagePointer 
OutputImagePointer
typedef
GPUSuperclass::OutputImageRegionType 
OutputImageRegionType
typedef
GPUSuperclass::OutputImageType 
OutputImageType
typedef SmartPointer< SelfPointer
typedef GPUInPlaceImageFilter Self
- Public Types inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
typedef TParentImageFilter Superclass

Public Member Functions

virtual const char * GetNameOfClass () const
- Public Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
void GenerateData ()
virtual bool GetGPUEnabled () const
virtual void GPUEnabledOff ()
virtual void GPUEnabledOn ()
virtual void GraftOutput (DataObject *output)
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
virtual void SetGPUEnabled (bool _arg)

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
- Static Public Attributes inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >

Protected Member Functions

virtual void AllocateOutputs ()
virtual void PrintSelf (std::ostream &os, Indent indent) const
virtual void ReleaseInputs ()
- Protected Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
virtual void GPUGenerateData ()
 GPUImageToImageFilter ()
 ~GPUImageToImageFilter ()

Private Member Functions

 GPUInPlaceImageFilter (const Self &)
void operator= (const Self &)
typedef TInputImage InputImageType
typedef InputImageType::Pointer InputImagePointer
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::RegionType InputImageRegionType
typedef InputImageType::PixelType InputImagePixelType
 GPUInPlaceImageFilter ()
 ~GPUInPlaceImageFilter ()

Additional Inherited Members

- Static Public Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
static Pointer New ()
- Protected Attributes inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
GPUKernelManager::Pointer m_GPUKernelManager

Detailed Description

template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
class itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >

Base class for GPU filters that take an image as input and overwrite that image as the output.

This class is the base class for GPU inplace filter. The template parameter for parent class type must be InPlaceImageFilter type so that the GPU superclass of this class can be correctly defined (NOTE: TParentImageFilter::Superclass is used to define GPUImageToImageFilter class).

Definition at line 38 of file itkGPUInPlaceImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef SmartPointer< const Self > itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::ConstPointer
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef TParentImageFilter itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::CPUSuperclass
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUSuperclass
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef InputImageType::ConstPointer itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageConstPointer

Some convenient typedefs.

Reimplemented from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >.

Definition at line 65 of file itkGPUInPlaceImageFilter.h.

template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef InputImageType::PixelType itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImagePixelType
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef InputImageType::Pointer itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImagePointer
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef InputImageType::RegionType itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageRegionType
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef TInputImage itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageType
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef GPUSuperclass::OutputImagePixelType itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImagePixelType
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef GPUSuperclass::OutputImagePointer itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImagePointer
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef GPUSuperclass::OutputImageRegionType itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImageRegionType
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef GPUSuperclass::OutputImageType itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImageType
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef SmartPointer< Self > itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::Pointer
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef GPUInPlaceImageFilter itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::Self

Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUInPlaceImageFilter ( )
protected

Some convenient typedefs.

template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::~GPUInPlaceImageFilter ( )
protected

Some convenient typedefs.

template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUInPlaceImageFilter ( const Self )
private

Member Function Documentation

template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::AllocateOutputs ( )
protectedvirtual

The GenerateData method normally allocates the buffers for all of the outputs of a filter. Since InPlaceImageFilter's can use an overwritten version of the input for its output, the output buffer should not be allocated. When possible, we graft the input to the filter to the output. If an InPlaceFilter has multiple outputs, then it would need to override this method to graft one of its outputs and allocate the remaining. If a filter is threaded (i.e. it provides an implementation of ThreadedGenerateData()), this method is called automatically. If an InPlaceFilter is not threaded (i.e. it provides an implementation of GenerateData()), then this method (or equivalent) must be called in GenerateData().

template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
virtual const char* itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GetNameOfClass ( ) const
virtual
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
void itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::operator= ( const Self )
private
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::ReleaseInputs ( )
protectedvirtual

InPlaceImageFilter may transfer ownership of the input bulk data to the output object. Once the output object owns the bulk data (done in AllocateOutputs()), the input object must release its hold on the bulk data. ProcessObject::ReleaseInputs() only releases the input bulk data when the user has set the ReleaseDataFlag. InPlaceImageFilter::ReleaseInputs() also releases the input that it has overwritten.

See also:
ProcessObject::ReleaseInputs()

Member Data Documentation

template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
const unsigned int itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageDimension = TInputImage::ImageDimension
static

ImageDimension constants

Reimplemented from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >.

Definition at line 58 of file itkGPUInPlaceImageFilter.h.

template<class TInputImage, class TOutputImage = TInputImage, class TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
const unsigned int itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImageDimension = TOutputImage::ImageDimension
static

ImageDimension constants

Reimplemented from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >.

Definition at line 59 of file itkGPUInPlaceImageFilter.h.


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