7 #ifndef __FWDATATOOLS_HELPER_MESHGETTER_HPP__ 8 #define __FWDATATOOLS_HELPER_MESHGETTER_HPP__ 10 #include "fwDataTools/config.hpp" 11 #include "fwDataTools/helper/ArrayGetter.hpp" 13 #include <fwData/Mesh.hpp> 15 #include <fwMemory/BufferObject.hpp> 17 #include <fwTools/Type.hpp> 31 FWDATATOOLS_API
MeshGetter( ::fwData::Mesh::csptr mesh );
33 FWDATATOOLS_API
virtual ~MeshGetter();
36 FWDATATOOLS_API ::fwData::Mesh::ConstPointsMultiArrayType getPoints()
const;
38 FWDATATOOLS_API ::fwData::Mesh::ConstCellTypesMultiArrayType getCellTypes()
const;
40 FWDATATOOLS_API ::fwData::Mesh::ConstCellDataMultiArrayType getCellData()
const;
42 FWDATATOOLS_API ::fwData::Mesh::ConstCellDataOffsetsMultiArrayType getCellDataOffsets()
const;
44 FWDATATOOLS_API ::fwData::Mesh::ConstPointColorsMultiArrayType getPointColors()
const;
46 FWDATATOOLS_API ::fwData::Mesh::ConstCellColorsMultiArrayType getCellColors()
const;
48 FWDATATOOLS_API ::fwData::Mesh::ConstPointNormalsMultiArrayType getPointNormals()
const;
50 FWDATATOOLS_API ::fwData::Mesh::ConstCellNormalsMultiArrayType getCellNormals()
const;
52 FWDATATOOLS_API ::fwData::Mesh::ConstPointTexCoordsMultiArrayType getPointTexCoords()
const;
54 FWDATATOOLS_API ::fwData::Mesh::ConstCellTexCoordsMultiArrayType getCellTexCoords()
const;
57 FWDATATOOLS_API ::fwData::Mesh::csptr getMesh()
const;
63 FWDATATOOLS_API
bool isClosed();
67 ::fwData::Mesh::csptr m_mesh;
69 ::fwDataTools::helper::ArrayGetter::uptr m_helperPoints;
70 ::fwDataTools::helper::ArrayGetter::uptr m_helperCellTypes;
71 ::fwDataTools::helper::ArrayGetter::uptr m_helperCellData;
72 ::fwDataTools::helper::ArrayGetter::uptr m_helperCellDataOffsets;
73 ::fwDataTools::helper::ArrayGetter::uptr m_helperPointColors;
74 ::fwDataTools::helper::ArrayGetter::uptr m_helperCellColors;
75 ::fwDataTools::helper::ArrayGetter::uptr m_helperPointNormals;
76 ::fwDataTools::helper::ArrayGetter::uptr m_helperCellNormals;
77 ::fwDataTools::helper::ArrayGetter::uptr m_helperPointTexCoords;
78 ::fwDataTools::helper::ArrayGetter::uptr m_helperCellTexCoords;
87 #endif // __FWDATATOOLS_HELPER_MESHGETTER_HPP__