fw4spl
fwDataTools::helper::MeshGetter Class Reference

Helper to manage Mesh. Lock the mesh buffer before to modify it. More...

#include <MeshGetter.hpp>

Public Member Functions

FWDATATOOLS_API MeshGetter (::fwData::Mesh::csptr mesh)
 
FWDATATOOLS_API::fwData::Mesh::ConstPointsMultiArrayType getPoints () const
 Returns the internal corresponding array as a boost::multi_array_ref.
 
FWDATATOOLS_API::fwData::Mesh::ConstCellTypesMultiArrayType getCellTypes () const
 Returns the internal corresponding array as a boost::multi_array_ref.
 
FWDATATOOLS_API::fwData::Mesh::ConstCellDataMultiArrayType getCellData () const
 Returns the internal corresponding array as a boost::multi_array_ref.
 
FWDATATOOLS_API::fwData::Mesh::ConstCellDataOffsetsMultiArrayType getCellDataOffsets () const
 Returns the internal corresponding array as a boost::multi_array_ref.
 
FWDATATOOLS_API::fwData::Mesh::ConstPointColorsMultiArrayType getPointColors () const
 Returns the internal corresponding array as a boost::multi_array_ref.
 
FWDATATOOLS_API::fwData::Mesh::ConstCellColorsMultiArrayType getCellColors () const
 Returns the internal corresponding array as a boost::multi_array_ref.
 
FWDATATOOLS_API::fwData::Mesh::ConstPointNormalsMultiArrayType getPointNormals () const
 Returns the internal corresponding array as a boost::multi_array_ref.
 
FWDATATOOLS_API::fwData::Mesh::ConstCellNormalsMultiArrayType getCellNormals () const
 Returns the internal corresponding array as a boost::multi_array_ref.
 
FWDATATOOLS_API::fwData::Mesh::ConstPointTexCoordsMultiArrayType getPointTexCoords () const
 Returns the internal corresponding array as a boost::multi_array_ref.
 
FWDATATOOLS_API::fwData::Mesh::ConstCellTexCoordsMultiArrayType getCellTexCoords () const
 Returns the internal corresponding array as a boost::multi_array_ref.
 
FWDATATOOLS_API::fwData::Mesh::csptr getMesh () const
 Returns the internal fwData::Mesh.
 
FWDATATOOLS_API bool isClosed ()
 Return true if the mesh is closed. The result is computed for each call.
 

Protected Attributes

::fwData::Mesh::csptr m_mesh
 
::fwDataTools::helper::ArrayGetter::uptr m_helperPoints
 
::fwDataTools::helper::ArrayGetter::uptr m_helperCellTypes
 
::fwDataTools::helper::ArrayGetter::uptr m_helperCellData
 
::fwDataTools::helper::ArrayGetter::uptr m_helperCellDataOffsets
 
::fwDataTools::helper::ArrayGetter::uptr m_helperPointColors
 
::fwDataTools::helper::ArrayGetter::uptr m_helperCellColors
 
::fwDataTools::helper::ArrayGetter::uptr m_helperPointNormals
 
::fwDataTools::helper::ArrayGetter::uptr m_helperCellNormals
 
::fwDataTools::helper::ArrayGetter::uptr m_helperPointTexCoords
 
::fwDataTools::helper::ArrayGetter::uptr m_helperCellTexCoords
 

Detailed Description

Helper to manage Mesh. Lock the mesh buffer before to modify it.

Definition at line 28 of file MeshGetter.hpp.


The documentation for this class was generated from the following files: