4 #include <QGraphicsItemGroup> 8 #include <boost/icl/interval_set.hpp> 45 typedef boost::icl::continuous_interval<double>
boost_ival;
50 std::vector<boost_ivalset>
stack;
73 QGraphicsItem* parent=0);
82 void add(
const Interval& ival,
size_t component);
105 return stack_watermark * ROW_HEIGHT;
114 QLineF insert(
const boost_ival& ival);
120 int findRow(
const boost_ival& ival);
126 QGraphicsLineItem* createItem();
130 void releaseItem(QGraphicsItem*);
137 void setItemColor(QGraphicsLineItem* item, QColor col);
142 #endif // INTERVALVIEW_H
boost::icl::interval_set< double > boost_ivalset
set of intervals
boost::icl::continuous_interval< double > boost_ival
what's this?
global definitions for all algorithms.
std::vector< MappedInterval > IntervalMap
a vector of MappedInterval objects. Usually these are sorted according to the natural ordering impose...
Palette * palette
color palette
Orientation
orientation: horizontal or vertical
Display k-Frechet intervals, i.e. projections of connected components to the domain axes.
attaches a component ID to an interval
std::vector< boost_ivalset > stack
stack of intervals
double ROW_HEIGHT
height of a row
boost::shared_ptr< Grid > ptr
smart pointer to a Grid object
QQueue< QGraphicsLineItem * > itemPool
pool of unused QGraphicsItems
int stack_watermark
stack watermark
A simple bit vector of fixed size.
QPen LINE_PEN
pen for drawing lines
an interval of two double values.
Grid::ptr grid
coordinate grid