fw4spl
amp/src/fwDataCamp/Histogram.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 <fwData/Histogram.hpp>
8 #include <fwCamp/UserObject.hpp>
9 
10 fwCampImplementDataMacro((fwData)(Histogram))
11 {
12  builder
13  .tag("object_version", "1")
14  .tag("lib_name", "fwData")
15  .property("value",&::fwData::Histogram::m_values)
16  .property("bins_width",&::fwData::Histogram::m_binsWidth)
17  .property("min_value",&::fwData::Histogram::m_minValue)
18  .property("max_value",&::fwData::Histogram::m_maxValue)
19  ;
20 }
fwHistogramValues m_values
Histogram values.
Definition: Histogram.hpp:124
float m_minValue
The minimum pixel value within the histogram (a default value is set to 0).
Definition: Histogram.hpp:130
float m_maxValue
The maximum pixel value within the histogram (a default value is set to 100).
Definition: Histogram.hpp:133
float m_binsWidth
The pixel width of the bins (a default value is set to 1).
Definition: Histogram.hpp:127
Contains the representation of the data objects used in the framework.