26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_HISTOGRAM_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_HISTOGRAM_H
30 #include "../Config.h"
42 namespace da {
class ObjectId;
class ObjectIdSet;}
43 namespace dt {
class AbstractData; }
82 void setType(
int new_type);
90 std::map<double, unsigned int> getValues();
98 std::map<std::string, unsigned int> getStringValues();
106 double& getMinValue();
113 void setMinValue(
double new_minValue);
121 double& getInterval();
128 void setInterval(
double new_Interval);
136 std::set <std::string>& getStringInterval();
143 void setStringInterval( std::set <std::string> new_Interval);
153 void insert (std::pair<te::dt::AbstractData*, unsigned int> new_value, std::vector<te::da::ObjectId*> valuesOIds);
161 void insert(std::pair<te::dt::AbstractData*, unsigned int> new_value);
220 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_HISTOGRAM_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
This class represents a set of unique ids created in the same context. i.e. from the same data set...
boost::multi_index::multi_index_container< IntervalToObjectId, boost::multi_index::indexed_by< boost::multi_index::ordered_non_unique< boost::multi_index::identity< IntervalToObjectId > >, boost::multi_index::ordered_unique< boost::multi_index::const_mem_fun< IntervalToObjectId, std::string,&IntervalToObjectId::getObjIdAsString > > > > IntervalToObjectIdSet
A class to represent a Histogram.
mydialect insert("+", new te::da::BinaryOpEncoder("+"))
IntervalToObjectIdSet m_valuesOids
The intervals and ObjecIds ordered in a boost multi index container.
This file contains a set of utility histogram functions.
HistogramValues m_values
Histogram's values;.
std::set< std::string > m_StringIntervals
Histogram unique strings set, represents string intervals.
int m_histogramType
Histogram's type.
std::map< te::dt::AbstractData *, unsigned int, CompareHistogramInterval > HistogramValues
Histogram's values.
double m_interval
Histogram's numeric interval.
This class represents an unique id for a data set element.
A base class for values that can be retrieved from the data access module.
double m_minValue
Histogram's minimum numeric value.