fw4spl
fwDataTools::helper::ImageGetter Class Reference

Defines an helper to modify an fwData::Image by adding few medical fields and create in parallel the message to announce these modifications. More...

#include <ImageGetter.hpp>

Public Types

typedef ::fwData::Image::SizeType SizeType
 
typedef ::fwData::Image::IndexType IndexType
 
typedef ::fwData::Image::BufferType BufferType
 
typedef ::fwData::Image::BufferIndexType BufferIndexType
 

Public Member Functions

FWDATATOOLS_API ImageGetter (::fwData::Image::csptr image)
 Constructor. Initialize parameters.
 
virtual FWDATATOOLS_API ~ImageGetter ()
 Destrucotr. Do nothing.
 
FWDATATOOLS_API void * getBuffer () const
 Returns image buffer.
 
FWDATATOOLS_API void * getPixelBuffer (SizeType::value_type x, SizeType::value_type y, SizeType::value_type z) const
 Helpers for 3D images.
 
FWDATATOOLS_API void * getPixelBuffer (IndexType index) const
 Helpers for 3D images.
 
FWDATATOOLS_API const std::string getPixelAsString (SizeType::value_type x, SizeType::value_type y, SizeType::value_type z) const
 Helpers for 3D images.
 

Detailed Description

Defines an helper to modify an fwData::Image by adding few medical fields and create in parallel the message to announce these modifications.

Definition at line 23 of file ImageGetter.hpp.


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