fw4spl
amp/src/fwDataCamp/Resection.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/Resection.hpp"
9 
10 fwCampImplementDataMacro((fwData)(Resection))
11 {
12  builder
13  .tag("object_version", "1")
14  .tag("lib_name", "fwData")
15  .base< ::fwData::Object>()
16  .property("name", &::fwData::Resection::m_name)
17  .property("plane_list", &::fwData::Resection::m_planeList)
18  .property("inputs", &::fwData::Resection::m_vInputs)
19  .property("outputs", &::fwData::Resection::m_vOutputs)
20  .property("is_safe_part", &::fwData::Resection::m_isSafePart)
21  .property("is_valid", &::fwData::Resection::m_isValid)
22  .property("is_visible", &::fwData::Resection::m_isVisible)
23  ;
24 }
bool m_isSafePart
flag if the part is safe
ResectionOutputs m_vOutputs
Outputs (reconstructions)
ResectionInputs m_vInputs
Inputs (reconstructions)
std::string m_name
Resection name.
bool m_isValid
flag if the resection is valid
Base class for each data object.
bool m_isVisible
flag if the resection is visible
::fwData::PlaneList::sptr m_planeList
Planes list.
Contains the representation of the data objects used in the framework.