26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_SCATTER_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_SCATTER_H
30 #include "../Config.h"
38 namespace da {
class ObjectIdSet;}
58 Scatter(
const std::vector<double>& axisX,
const std::vector<double>& axisY);
71 void calculateMinMaxValues();
94 double getX(
unsigned int idx);
112 double getY(
unsigned int idx);
162 void setMinX(
double& new_minX);
167 void setMaxX(
double& new_maxX);
172 void setMinY(
double& new_minY);
177 void setMaxY(
double& maxY);
185 void addX(
double& xValue);
192 void addY(
double& yValue);
247 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_SCATTER_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...
std::vector< double > m_yValues
Double values for axis Y.
double m_maxY
The maximum value of the y Axis.
double m_maxX
The maximum value of the x Axis.
A class to represent a scatter.
PointToObjectIdSet m_valuesOids
The intervals and ObjecIds ordered in a boost multi index container.
boost::multi_index::multi_index_container< PointToObjectId, boost::multi_index::indexed_by< boost::multi_index::ordered_non_unique< boost::multi_index::identity< PointToObjectId > >, boost::multi_index::ordered_unique< boost::multi_index::const_mem_fun< PointToObjectId, std::string,&PointToObjectId::getObjIdAsString > > > > PointToObjectIdSet
This class represents an unique id for a data set element.
std::vector< double > m_xValues
Double values for axis X.
This file contains a set of utility scatter functions.
double m_minX
The minimum value of the x Axis.
double m_minY
The minimum value of the y Axis.