fw4spl
|
This class defines one surface mesh item in order to transform into DICOM/FW4SPL form. More...
#include <DicomSurface.hpp>
Public Types | |
typedef std::uint32_t | DicomCellValueType |
typedef std::vector< float > | DicomPointBufferType |
Container types to store points, cells and normals. | |
typedef std::vector< DicomCellValueType > | DicomCellBufferType |
Container types to store points, cells and normals. | |
typedef std::vector< float > | DicomNormalBufferType |
Container types to store points, cells and normals. | |
Public Member Functions | |
FWGDCMIO_API | DicomSurface (const ::fwData::Reconstruction::csptr &reconstruction) |
Constructor. More... | |
FWGDCMIO_API | DicomSurface (const ::fwData::Mesh::PointValueType *pointBuffer, const ::fwData::Mesh::Id pointBufferSize, const DicomCellValueType *cellBuffer, const ::fwData::Mesh::Id cellBufferSize, const ::fwData::Mesh::NormalValueType *normalBuffer) |
Constructor. More... | |
FWGDCMIO_API | ~DicomSurface () |
Destructor. | |
FWGDCMIO_API::fwData::Mesh::sptr | convertToData () |
Convert DicomSurface container to FW4SPL Mesh. | |
FWGDCMIO_API const DicomPointBufferType & | getPointBuffer () const |
Return point coordinates buffer. | |
FWGDCMIO_API const DicomCellBufferType & | getCellBuffer () const |
Return cell buffer. | |
FWGDCMIO_API const DicomNormalBufferType & | getNormalBuffer () const |
Return normal buffer. | |
FWGDCMIO_API std::size_t | getPointBufferSize () const |
Return point coordinates buffer size. | |
FWGDCMIO_API std::size_t | getCellBufferSize () const |
Return cell buffer size. | |
FWGDCMIO_API std::size_t | getNormalBufferSize () const |
Return normal buffer size. | |
This class defines one surface mesh item in order to transform into DICOM/FW4SPL form.
Definition at line 25 of file DicomSurface.hpp.
typedef std::uint32_t fwGdcmIO::container::DicomSurface::DicomCellValueType |
Typedef for cell index in DICOM world (32 bits see VR OL). FW4SPL uses uint64_t (see ::fwData::Mesh::CellValueType).
Definition at line 34 of file DicomSurface.hpp.
fwGdcmIO::container::DicomSurface::DicomSurface | ( | const ::fwData::Reconstruction::csptr & | reconstruction | ) |
Constructor.
[in] | reconstruction | Source reconstruction |
Definition at line 40 of file DicomSurface.cpp.
References fwDataTools::Mesh::hasUniqueCellType().
fwGdcmIO::container::DicomSurface::DicomSurface | ( | const ::fwData::Mesh::PointValueType * | pointBuffer, |
const ::fwData::Mesh::Id | pointBufferSize, | ||
const DicomCellValueType * | cellBuffer, | ||
const ::fwData::Mesh::Id | cellBufferSize, | ||
const ::fwData::Mesh::NormalValueType * | normalBuffer | ||
) |
Constructor.
[in] | pointBuffer | Points buffer |
[in] | pointBufferSize | Points buffer size |
[in] | cellBuffer | Cells buffer |
[in] | cellBufferSize | Cells buffer size |
[in] | normalBuffer | Normals buffer |
Definition at line 86 of file DicomSurface.cpp.