7 #include "fwDataTools/helper/ImageGetter.hpp" 9 #include <fwCom/Signal.hpp> 10 #include <fwCom/Signal.hxx> 11 #include <fwCom/Signals.hpp> 13 #include <fwData/Composite.hpp> 14 #include <fwData/PointList.hpp> 15 #include <fwData/TransferFunction.hpp> 29 m_lock = ImageGetter->getDataArray()->getBufferObject()->lock();
50 SizeType size = m_image->getSize();
51 IndexType offset = x + size[0]*y + z*size[0]*size[1];
59 std::uint8_t imageGetterPixelSize = m_image->getType().sizeOf() * m_image->getNumberOfComponents();
60 BufferType* buf = static_cast < BufferType* > (this->
getBuffer());
61 BufferIndexType bufIndex = index * imageGetterPixelSize;
62 return buf + bufIndex;
68 SizeType::value_type y,
69 SizeType::value_type z )
const
LockBase< T >::BufferType getBuffer() const
Returns BufferObject's buffer pointer.