ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
itk::GPUImage< TPixel, VImageDimension > Class Template Reference

#include <itkGPUImage.h>

+ Inheritance diagram for itk::GPUImage< TPixel, VImageDimension >:
+ Collaboration diagram for itk::GPUImage< TPixel, VImageDimension >:

List of all members.

Public Types

typedef
DefaultPixelAccessorFunctor
< Self
AccessorFunctorType
typedef Superclass::AccessorType AccessorType
typedef SmartPointer< const SelfConstPointer
typedef WeakPointer< const SelfConstWeakPointer
typedef Superclass::DirectionType DirectionType
typedef Superclass::IndexType IndexType
typedef
Superclass::InternalPixelType 
InternalPixelType
typedef Superclass::IOPixelType IOPixelType
typedef
NeighborhoodAccessorFunctor
< Self
NeighborhoodAccessorFunctorType
typedef Superclass::OffsetType OffsetType
typedef Superclass::PixelContainer PixelContainer
typedef
PixelContainer::ConstPointer 
PixelContainerConstPointer
typedef PixelContainer::Pointer PixelContainerPointer
typedef Superclass::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef Superclass::RegionType RegionType
typedef GPUImage Self
typedef Superclass::SizeType SizeType
typedef Superclass::SpacingType SpacingType
typedef Image< TPixel,
VImageDimension > 
Superclass
typedef Superclass::ValueType ValueType
- Public Types inherited from itk::Image< TPixel, VImageDimension >
typedef Superclass::IndexValueType IndexValueType
typedef Superclass::OffsetValueType OffsetValueType
typedef Superclass::PointType PointType
typedef Superclass::SizeValueType SizeValueType
typedef
Superclass::SpacingValueType 
SpacingValueType
- Public Types inherited from itk::ImageBase< VImageDimension >
typedef double PointValueType
- Public Types inherited from itk::DataObject
typedef std::string DataObjectIdentifierType
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

void Allocate ()
virtual ::itk::LightObject::Pointer CreateAnother (void) const
void DataHasBeenGenerated ()
void FillBuffer (const TPixel &value)
TPixel * GetBufferPointer ()
const TPixel * GetBufferPointer () const
int GetCurrentCommandQueueID ()
GPUDataManager::Pointer GetGPUDataManager () const
virtual const char * GetNameOfClass () const
const TPixel & GetPixel (const IndexType &index) const
TPixel & GetPixel (const IndexType &index)
PixelContainerGetPixelContainer ()
const PixelContainerGetPixelContainer () const
virtual void Graft (const DataObject *data)
virtual void Initialize ()
virtual void Modified () const
const TPixel & operator[] (const IndexType &index) const
TPixel & operator[] (const IndexType &index)
void SetCurrentCommandQueue (int queueid)
void SetPixel (const IndexType &index, const TPixel &value)
void SetPixelContainer (PixelContainer *container)
void UpdateBuffers ()
AccessorType GetPixelAccessor (void)
const AccessorType GetPixelAccessor (void) const
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor ()
const
NeighborhoodAccessorFunctorType 
GetNeighborhoodAccessor () const
- Public Member Functions inherited from itk::Image< TPixel, VImageDimension >
virtual unsigned int GetNumberOfComponentsPerPixel () const
- Public Member Functions inherited from itk::ImageBase< VImageDimension >
OffsetValueType ComputeOffset (const IndexType &ind) const
virtual void CopyInformation (const DataObject *data)
virtual const RegionTypeGetBufferedRegion () const
virtual const DirectionTypeGetDirection ()
virtual const DirectionTypeGetInverseDirection ()
virtual const RegionTypeGetLargestPossibleRegion () const
virtual const PointTypeGetOrigin ()
virtual const RegionTypeGetRequestedRegion () const
virtual const SpacingTypeGetSpacing ()
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
virtual void SetBufferedRegion (const RegionType &region)
virtual void SetDirection (const DirectionType direction)
virtual void SetLargestPossibleRegion (const RegionType &region)
virtual void SetRegions (const SizeType &size)
virtual void SetRequestedRegion (const RegionType &region)
virtual void SetRequestedRegion (const DataObject *data)
virtual void SetRequestedRegionToLargestPossibleRegion ()
template<class TCoordRep >
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const
template<class TCoordRep >
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point, ContinuousIndex< TCoordRep, VImageDimension > &index) const
template<class TCoordRep >
bool TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &index) const
template<class TCoordRep >
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const
virtual void UpdateOutputData ()
virtual void UpdateOutputInformation ()
virtual bool VerifyRequestedRegion ()
virtual void SetOrigin (PointType _arg)
virtual void SetOrigin (const double origin[VImageDimension])
virtual void SetOrigin (const float origin[VImageDimension])
virtual void SetRegions (const RegionType &region)
const OffsetValueTypeGetOffsetTable () const
IndexType ComputeIndex (OffsetValueType offset) const
virtual void SetSpacing (const SpacingType &spacing)
virtual void SetSpacing (const double spacing[VImageDimension])
virtual void SetSpacing (const float spacing[VImageDimension])
template<class TCoordRep >
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const
template<class TCoordRep >
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const
virtual void SetNumberOfComponentsPerPixel (unsigned int)
- Public Member Functions inherited from itk::DataObject
void DisconnectPipeline ()
bool GetDataReleased () const
virtual const bool & GetReleaseDataFlag ()
SmartPointerForwardReference
< ProcessObject
GetSource () const
DataObjectPointerArraySizeType GetSourceOutputIndex () const
const DataObjectIdentifierTypeGetSourceOutputName () const
virtual unsigned long GetUpdateMTime () const
virtual void PrepareForNewData ()
virtual void PropagateRequestedRegion ()
void ReleaseData ()
virtual void ReleaseDataFlagOff ()
virtual void ReleaseDataFlagOn ()
virtual void ResetPipeline ()
void SetReleaseDataFlag (bool flag)
bool ShouldIReleaseData () const
virtual void Update ()
void SetPipelineMTime (unsigned long time)
virtual const unsigned long & GetPipelineMTime ()
virtual void SetRealTimeStamp (RealTimeStamp _arg)
virtual const RealTimeStampGetRealTimeStamp ()
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = VImageDimension
- Static Public Attributes inherited from itk::Image< TPixel, VImageDimension >
- Static Public Attributes inherited from itk::ImageBase< VImageDimension >

Protected Member Functions

 GPUImage ()
virtual ~GPUImage ()
- Protected Member Functions inherited from itk::Image< TPixel, VImageDimension >
virtual void ComputeIndexToPhysicalPointMatrices ()
 Image ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual ~Image ()
- Protected Member Functions inherited from itk::ImageBase< VImageDimension >
void ComputeOffsetTable ()
 ImageBase ()
virtual void InitializeBufferedRegion (void)
 ~ImageBase ()
- Protected Member Functions inherited from itk::DataObject
virtual void PropagateResetPipeline ()
 DataObject ()
 ~DataObject ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

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

Private Attributes

GPUImageDataManager< GPUImage >
::Pointer 
m_DataManager

Detailed Description

template<class TPixel, unsigned int VImageDimension = 2>
class itk::GPUImage< TPixel, VImageDimension >

Templated n-dimensional image class for the GPU.

Derived from itk Image class to use with GPU image filters. This class manages both CPU and GPU memory implicitly, and can be used with non-GPU itk filters as well. Memory transfer between CPU and GPU is done automatically and implicitly.

Definition at line 40 of file itkGPUImage.h.


Member Typedef Documentation

template<class TPixel , unsigned int VImageDimension = 2>
typedef DefaultPixelAccessorFunctor< Self > itk::GPUImage< TPixel, VImageDimension >::AccessorFunctorType

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 70 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::AccessorType itk::GPUImage< TPixel, VImageDimension >::AccessorType

Accessor type that convert data between internal and external representations.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 68 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef SmartPointer<const Self> itk::GPUImage< TPixel, VImageDimension >::ConstPointer

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 46 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef WeakPointer<const Self> itk::GPUImage< TPixel, VImageDimension >::ConstWeakPointer

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 47 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::DirectionType itk::GPUImage< TPixel, VImageDimension >::DirectionType

Direction typedef support. A matrix of direction cosines.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 59 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::IndexType itk::GPUImage< TPixel, VImageDimension >::IndexType

Index typedef support. An index is used to access pixel values.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 63 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::InternalPixelType itk::GPUImage< TPixel, VImageDimension >::InternalPixelType

Internal Pixel representation. Used to maintain a uniform API with Image Adaptors and allow to keep a particular internal representation of data while showing a different external representation.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 57 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::IOPixelType itk::GPUImage< TPixel, VImageDimension >::IOPixelType

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 58 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef NeighborhoodAccessorFunctor< Self > itk::GPUImage< TPixel, VImageDimension >::NeighborhoodAccessorFunctorType

Typedef for the functor used to access a neighborhood of pixel pointers.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 72 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::OffsetType itk::GPUImage< TPixel, VImageDimension >::OffsetType

Offset typedef support. An offset is used to access pixel values.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 64 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::PixelContainer itk::GPUImage< TPixel, VImageDimension >::PixelContainer

Container used to store pixels in the image.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 61 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef PixelContainer::ConstPointer itk::GPUImage< TPixel, VImageDimension >::PixelContainerConstPointer

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 67 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef PixelContainer::Pointer itk::GPUImage< TPixel, VImageDimension >::PixelContainerPointer

A pointer to the pixel container.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 66 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::PixelType itk::GPUImage< TPixel, VImageDimension >::PixelType

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

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 55 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef SmartPointer<Self> itk::GPUImage< TPixel, VImageDimension >::Pointer

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 45 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::RegionType itk::GPUImage< TPixel, VImageDimension >::RegionType

Region typedef support. A region is used to specify a subset of an image.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 65 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef GPUImage itk::GPUImage< TPixel, VImageDimension >::Self

Standard class typedefs

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 43 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::SizeType itk::GPUImage< TPixel, VImageDimension >::SizeType

Size typedef support. A size is used to define region bounds.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 62 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::SpacingType itk::GPUImage< TPixel, VImageDimension >::SpacingType

Spacing typedef support. Spacing holds the size of a pixel. The spacing is the geometric distance between image samples.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 60 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Image<TPixel,VImageDimension> itk::GPUImage< TPixel, VImageDimension >::Superclass

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 44 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
typedef Superclass::ValueType itk::GPUImage< TPixel, VImageDimension >::ValueType

Typedef alias for PixelType

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 56 of file itkGPUImage.h.


Constructor & Destructor Documentation

template<class TPixel , unsigned int VImageDimension = 2>
itk::GPUImage< TPixel, VImageDimension >::GPUImage ( )
protected
template<class TPixel , unsigned int VImageDimension = 2>
virtual itk::GPUImage< TPixel, VImageDimension >::~GPUImage ( )
protectedvirtual
template<class TPixel , unsigned int VImageDimension = 2>
itk::GPUImage< TPixel, VImageDimension >::GPUImage ( const Self )
private

Member Function Documentation

template<class TPixel , unsigned int VImageDimension = 2>
void itk::GPUImage< TPixel, VImageDimension >::Allocate ( )
virtual

Allocate the image memory. The size of the image must already be set, e.g. by calling SetRegions().

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
virtual::itk::LightObject::Pointer itk::GPUImage< TPixel, VImageDimension >::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::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
void itk::GPUImage< TPixel, VImageDimension >::DataHasBeenGenerated ( )
inlinevirtual

Inform the pipeline mechanism that data has been generated. This method is called by ProcessObject::UpdateOutputData() once the process object has finished generating its data. This essentially marks the DataObject as being updated and ready for use.

Reimplemented from itk::DataObject.

Definition at line 171 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
void itk::GPUImage< TPixel, VImageDimension >::FillBuffer ( const TPixel &  value)

Fill the image buffer with a value. Be sure to call Allocate() first.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
TPixel* itk::GPUImage< TPixel, VImageDimension >::GetBufferPointer ( )
virtual

Return a pointer to the beginning of the buffer. This is used by the image iterator class.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
const TPixel* itk::GPUImage< TPixel, VImageDimension >::GetBufferPointer ( ) const
virtual

Return a pointer to the beginning of the buffer. This is used by the image iterator class.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
int itk::GPUImage< TPixel, VImageDimension >::GetCurrentCommandQueueID ( )
inline

Definition at line 158 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
GPUDataManager::Pointer itk::GPUImage< TPixel, VImageDimension >::GetGPUDataManager ( ) const
template<class TPixel , unsigned int VImageDimension = 2>
virtual const char* itk::GPUImage< TPixel, VImageDimension >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
NeighborhoodAccessorFunctorType itk::GPUImage< TPixel, VImageDimension >::GetNeighborhoodAccessor ( )
inline

Return the NeighborhoodAccessor functor

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 122 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
const NeighborhoodAccessorFunctorType itk::GPUImage< TPixel, VImageDimension >::GetNeighborhoodAccessor ( ) const
inline

Return the NeighborhoodAccessor functor

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 131 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
const TPixel& itk::GPUImage< TPixel, VImageDimension >::GetPixel ( const IndexType index) const

Get a pixel (read only version).

For efficiency, this function does not check that the image has actually been allocated yet.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
TPixel& itk::GPUImage< TPixel, VImageDimension >::GetPixel ( const IndexType index)

Get a reference to a pixel (e.g. for editing).

For efficiency, this function does not check that the image has actually been allocated yet.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
AccessorType itk::GPUImage< TPixel, VImageDimension >::GetPixelAccessor ( void  )
inline

Return the Pixel Accessor object

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 106 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
const AccessorType itk::GPUImage< TPixel, VImageDimension >::GetPixelAccessor ( void  ) const
inline

Return the Pixel Accesor object

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 114 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
PixelContainer* itk::GPUImage< TPixel, VImageDimension >::GetPixelContainer ( )
inline

Return a pointer to the container.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 142 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
const PixelContainer* itk::GPUImage< TPixel, VImageDimension >::GetPixelContainer ( ) const
inline

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 147 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
virtual void itk::GPUImage< TPixel, VImageDimension >::Graft ( const DataObject data)
virtual

Graft the data and information from one GPUImage to another.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
virtual void itk::GPUImage< TPixel, VImageDimension >::Initialize ( )
virtual

Restore the data object to its initial state. This means releasing memory.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
virtual void itk::GPUImage< TPixel, VImageDimension >::Modified ( ) const
virtual

Whenever the image has been modified, set the GPU Buffer to dirty

Reimplemented from itk::Object.

template<class TPixel , unsigned int VImageDimension = 2>
static Pointer itk::GPUImage< TPixel, VImageDimension >::New ( )
static

Method for creation through the object factory.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
void itk::GPUImage< TPixel, VImageDimension >::operator= ( const Self )
private
template<class TPixel , unsigned int VImageDimension = 2>
const TPixel& itk::GPUImage< TPixel, VImageDimension >::operator[] ( const IndexType index) const

Access a pixel. This version can only be an rvalue.

For efficiency, this function does not check that the image has actually been allocated yet.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
TPixel& itk::GPUImage< TPixel, VImageDimension >::operator[] ( const IndexType index)

Access a pixel. This version can be an lvalue.

For efficiency, this function does not check that the image has actually been allocated yet.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
void itk::GPUImage< TPixel, VImageDimension >::SetCurrentCommandQueue ( int  queueid)
inline

Definition at line 153 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
void itk::GPUImage< TPixel, VImageDimension >::SetPixel ( const IndexType index,
const TPixel &  value 
)

Set a pixel value.

Allocate() needs to have been called first – for efficiency, this function does not check that the image has actually been allocated yet.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
void itk::GPUImage< TPixel, VImageDimension >::SetPixelContainer ( PixelContainer container)

Set the container to use. Note that this does not cause the DataObject to be modified.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension = 2>
void itk::GPUImage< TPixel, VImageDimension >::UpdateBuffers ( )

Explicit synchronize CPU/GPU buffers


Member Data Documentation

template<class TPixel , unsigned int VImageDimension = 2>
const unsigned int itk::GPUImage< TPixel, VImageDimension >::ImageDimension = VImageDimension
static

Dimension of the image. This constant is used by functions that are templated over image type (as opposed to being templated over pixel type and dimension) when they need compile time access to the dimension of the image.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 53 of file itkGPUImage.h.

template<class TPixel , unsigned int VImageDimension = 2>
GPUImageDataManager< GPUImage >::Pointer itk::GPUImage< TPixel, VImageDimension >::m_DataManager
private

Definition at line 195 of file itkGPUImage.h.


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