23 #include <qcustomplot.h>
79 p_impl->setup_components();
84 p_impl->unsubscribe_components();
Two-dimensional color map representation of Data2DItem.
Container with viewport and collection of ColorMapItem's to plot.
void setViewportToContent() override
Sets range of x,y window to show all data.
Establishes communications and mutual updates for ColorMapViewportItem and QCutomPlot.
ColorMapViewportPlotController(QCustomPlot *plot)
~ColorMapViewportPlotController() override
std::unique_ptr< ColorMapViewportPlotControllerImpl > p_impl
void unsubscribe() override
For necessary manipulations on new item.
void subscribe() override
void setOnItemInserted(Callbacks::item_tagrow_t f)
Sets callback to be notified on child insertion.
The main object representing an editable/displayable/serializable entity.
T * item(const std::string &tag) const
Returns first item under given tag casted to a specified type.
Aggregate to hold (tag, row) information for SessionModel.
static const std::string T_ITEMS
materialitems.h Collection of materials to populate MaterialModel.
QCPColorScale * m_colorScale
ColorMapViewportItem * viewportItem()
std::unique_ptr< ViewportAxisPlotController > m_xAxisController
void unsubscribe_components()
std::unique_ptr< ViewportAxisPlotController > m_yAxisController
std::unique_ptr< ColorMapPlotController > m_colorMapController
void setup_components()
Setup controller components.
ColorMapViewportPlotControllerImpl(ColorMapViewportPlotController *master, QCustomPlot *plot)
std::unique_ptr< ColorScalePlotController > m_colorScaleController
ColorMapViewportPlotController * m_self
QCustomPlot * m_customPlot