7 #ifndef __FWDATATOOLS_HELPER_IMAGE_HPP__ 8 #define __FWDATATOOLS_HELPER_IMAGE_HPP__ 10 #include "fwDataTools/config.hpp" 12 #include <fwData/Image.hpp> 23 class FWDATATOOLS_CLASS_API
Image 29 typedef ::fwData::Image::SizeType SizeType;
30 typedef ::fwData::Image::IndexType IndexType;
31 typedef ::fwData::Image::BufferType BufferType;
32 typedef ::fwData::Image::BufferIndexType BufferIndexType;
35 FWDATATOOLS_API
Image( ::fwData::Image::sptr image );
38 FWDATATOOLS_API
virtual ~Image();
47 FWDATATOOLS_API
bool createLandmarks();
55 FWDATATOOLS_API
bool createTransferFunctionPool();
64 FWDATATOOLS_API
bool createImageSliceIndex();
67 FWDATATOOLS_API
void notify();
70 FWDATATOOLS_API
void* getBuffer();
75 FWDATATOOLS_API
void* getPixelBuffer( SizeType::value_type
x, SizeType::value_type y, SizeType::value_type z );
77 FWDATATOOLS_API
void* getPixelBuffer( IndexType index );
79 FWDATATOOLS_API
void setPixelBuffer( IndexType index, Image::BufferType* pixBuf);
81 FWDATATOOLS_API
const std::string getPixelAsString(SizeType::value_type x,
82 SizeType::value_type y,
83 SizeType::value_type z );
87 FWDATATOOLS_API ::fwMemory::BufferObject::Lock getLock()
const;
91 ::fwData::Image::sptr m_image;
102 #endif // __FWDATATOOLS_HELPER_IMAGE_HPP__
base class for BufferObject Lock
#define fwCoreClassFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate methods for classes with one factory.