fw4spl
|
This class contains helper to manipulate ::fwData::ModelSeries. More...
#include <ModelSeries.hpp>
Static Public Member Functions | |
static FWMEDDATATOOLS_API void | addReconstruction (::fwMedData::ModelSeries::sptr &_modelSeries,::fwData::Reconstruction::sptr &_rec) |
Add a mesh into a model series. A reconstruction for this mesh will be created. More... | |
static FWMEDDATATOOLS_API::fwData::Reconstruction::sptr | createReconstructionFromMesh (const ::fwData::Mesh::sptr &_mesh, const std::string &_organName, const std::string &_structureType, const ::fwData::Color::sptr &_color=::fwData::Color::New(),::fwData::Material::RepresentationType _mode=::fwData::Material::SURFACE, bool _visible=true) |
Create a reconstruction from a mesh. More... | |
static FWMEDDATATOOLS_API void | addMesh (::fwMedData::ModelSeries::sptr &_modelSeries, const ::fwData::Mesh::sptr &_mesh, const std::string &_organName, const std::string &_structureType, const ::fwData::Color::sptr &_color=::fwData::Color::New(),::fwData::Material::RepresentationType _mode=::fwData::Material::SURFACE, bool _visible=true) |
Add a mesh into a model series. A reconstruction for this mesh will be automatically created. More... | |
This class contains helper to manipulate ::fwData::ModelSeries.
Definition at line 28 of file ools/include/fwMedDataTools/ModelSeries.hpp.
|
static |
Add a mesh into a model series. A reconstruction for this mesh will be automatically created.
_modelSeries | Model series where the mesh must be added. |
_mesh | Mesh that must be added |
_organName | Organ name to associate with the mesh |
_structureType | Structure type to associate with the mesh |
_color | Color of the material of the reconstruction. |
_mode | Representation mode of the material of the reconstruction. |
_visible | Visibility flag of the reconstruction. |
Definition at line 17 of file ools/src/fwMedDataTools/ModelSeries.cpp.
References addReconstruction(), createReconstructionFromMesh(), and fwMedData::ModelSeries::s_RECONSTRUCTIONS_ADDED_SIG.
|
static |
Add a mesh into a model series. A reconstruction for this mesh will be created.
_modelSeries | Model series where the mesh must be added. |
_rec | Reconstruction that must be added |
Definition at line 63 of file ools/src/fwMedDataTools/ModelSeries.cpp.
Referenced by addMesh().
|
static |
Create a reconstruction from a mesh.
_mesh | Mesh that must be added |
_organName | Organ name to associate with the mesh |
_structureType | Structure type to associate with the mesh |
_color | Color of the material of the reconstruction. |
_mode | Representation mode of the material of the reconstruction. |
_visible | Visibility flag of the reconstruction. |
Definition at line 38 of file ools/src/fwMedDataTools/ModelSeries.cpp.
Referenced by addMesh().