7 #ifndef __FWGDCMIO_CONTAINER_DICOMSURFACE_HPP__ 8 #define __FWGDCMIO_CONTAINER_DICOMSURFACE_HPP__ 10 #include "fwGdcmIO/config.hpp" 12 #include <fwData/Mesh.hpp> 13 #include <fwData/Reconstruction.hpp> 48 FWGDCMIO_API
DicomSurface(const ::fwData::Reconstruction::csptr& reconstruction);
58 FWGDCMIO_API
DicomSurface(const ::fwData::Mesh::PointValueType* pointBuffer,
59 const ::fwData::Mesh::Id pointBufferSize,
60 const DicomCellValueType* cellBuffer,
61 const ::fwData::Mesh::Id cellBufferSize,
62 const ::fwData::Mesh::NormalValueType* normalBuffer);
68 FWGDCMIO_API ::fwData::Mesh::sptr convertToData();
71 FWGDCMIO_API
const DicomPointBufferType& getPointBuffer()
const;
73 FWGDCMIO_API
const DicomCellBufferType& getCellBuffer()
const;
76 FWGDCMIO_API
const DicomNormalBufferType& getNormalBuffer()
const;
79 FWGDCMIO_API std::size_t getPointBufferSize()
const;
82 FWGDCMIO_API std::size_t getCellBufferSize()
const;
85 FWGDCMIO_API std::size_t getNormalBufferSize()
const;
93 DicomPointBufferType m_pointBuffer;
102 DicomCellBufferType m_cellBuffer;
108 DicomNormalBufferType m_normalBuffer;
This class defines one surface mesh item in order to transform into DICOM/FW4SPL form.
std::uint32_t DicomCellValueType
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
std::vector< float > DicomNormalBufferType
Container types to store points, cells and normals.
std::vector< DicomCellValueType > DicomCellBufferType
Container types to store points, cells and normals.
std::vector< float > DicomPointBufferType
Container types to store points, cells and normals.