fw4spl
amp/src/fwDataCamp/Reconstruction.cpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #include <fwCamp/UserObject.hpp>
8 #include "fwDataCamp/Reconstruction.hpp"
9 
10 fwCampImplementDataMacro((fwData)(Reconstruction))
11 {
12  builder
13  .tag("object_version", "3")
14  .tag("lib_name", "fwData")
15  .base< ::fwData::Object>()
16  .property("is_visible", &::fwData::Reconstruction::m_bIsVisible)
17  .property("organ_name", &::fwData::Reconstruction::m_sOrganName)
18  .property("structure_type", &::fwData::Reconstruction::m_sStructureType)
19  .property("material", &::fwData::Reconstruction::m_material)
20  .property("image", &::fwData::Reconstruction::m_image)
21  .property("mesh", &::fwData::Reconstruction::m_mesh)
22  .property("volume", &::fwData::Reconstruction::m_computedMaskVolume)
23  ;
24 }
bool m_bIsVisible
true if this reconstruction is visible
double m_computedMaskVolume
Reconstruction&#39;s mask volume.
Base class for each data object.
std::shared_ptr< ::fwData::Image > m_image
Reconstruction&#39;s mask.
std::shared_ptr< ::fwData::Mesh > m_mesh
Reconstruction&#39;s mesh.
std::string m_sStructureType
Structure type.
Contains the representation of the data objects used in the framework.
std::shared_ptr< ::fwData::Material > m_material
Reconstruction&#39;s material.