15 #ifndef BORNAGAIN_MVVM_MODEL_MVVM_STANDARDITEMS_COLORMAPVIEWPORTITEM_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_STANDARDITEMS_COLORMAPVIEWPORTITEM_H
28 static inline const std::string P_ZAXIS =
"P_ZAXIS";
35 void setViewportToContent()
override;
38 virtual std::pair<double, double> data_xaxis_range()
const override;
39 virtual std::pair<double, double> data_yaxis_range()
const override;
43 void update_data_range();
Container with viewport and collection of ColorMapItem's to plot.
Represents two-dimensional data (axes definition and 2d array of values).
Item to represent viewport axis.
Base class to represent 2D viewport.
virtual void setViewportToContent()
Sets range of x,y window to show all data.
materialitems.h Collection of materials to populate MaterialModel.