BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
ColorMapPlotControllerImpl (ColorMapPlotController *master, QCustomPlot *plot, QCPColorScale *color_scale) | |
~ColorMapPlotControllerImpl () | |
ColorMapItem * | colormap_item () |
void | update_colormap () |
void | update_data_controller () |
void | update_gradient () |
void | update_interpolation () |
Updates QCPColorMap's interpolation when corresponding property of ColorMapItem changed. More... | |
Public Attributes | |
QCPColorMap * | color_map {nullptr} |
QCustomPlot * | custom_plot {nullptr} |
std::unique_ptr< Data2DPlotController > | data_controller |
ColorMapPlotController * | master {nullptr} |
Definition at line 56 of file colormapplotcontroller.cpp.
|
inline |
Definition at line 62 of file colormapplotcontroller.cpp.
References ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::color_map, ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::custom_plot, and ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::data_controller.
|
inline |
Definition at line 73 of file colormapplotcontroller.cpp.
References ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::color_map, and ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::custom_plot.
|
inline |
Definition at line 75 of file colormapplotcontroller.cpp.
References ModelView::ItemListener< T >::currentItem(), and ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::master.
Referenced by ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_data_controller(), ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_gradient(), and ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_interpolation().
|
inline |
Definition at line 77 of file colormapplotcontroller.cpp.
References ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::custom_plot, ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_data_controller(), ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_gradient(), and ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_interpolation().
|
inline |
Definition at line 85 of file colormapplotcontroller.cpp.
References ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::colormap_item(), and ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::data_controller.
Referenced by ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_colormap().
|
inline |
Definition at line 95 of file colormapplotcontroller.cpp.
References ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::color_map, ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::colormap_item(), ColorMapUtils::getGradient(), ModelView::ColorMapItem::P_GRADIENT, and ModelView::SessionItem::property().
Referenced by ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_colormap().
|
inline |
Updates QCPColorMap's interpolation when corresponding property of ColorMapItem changed.
Definition at line 89 of file colormapplotcontroller.cpp.
References ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::color_map, ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::colormap_item(), ModelView::ColorMapItem::P_INTERPOLATION, and ModelView::SessionItem::property().
Referenced by ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_colormap().
QCPColorMap* ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::color_map {nullptr} |
Definition at line 59 of file colormapplotcontroller.cpp.
Referenced by ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::ColorMapPlotControllerImpl(), ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::~ColorMapPlotControllerImpl(), ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_gradient(), and ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_interpolation().
QCustomPlot* ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::custom_plot {nullptr} |
Definition at line 58 of file colormapplotcontroller.cpp.
Referenced by ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::ColorMapPlotControllerImpl(), ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::~ColorMapPlotControllerImpl(), and ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::update_colormap().
std::unique_ptr<Data2DPlotController> ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::data_controller |
ColorMapPlotController* ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::master {nullptr} |
Definition at line 57 of file colormapplotcontroller.cpp.
Referenced by ModelView::ColorMapPlotController::ColorMapPlotControllerImpl::colormap_item().