Class Heatmap2DWidget¶
Defined in File Heatmap2DWidget.h
Inheritance Relationships¶
Base Type¶
public SmartPeak::GenericGraphicWidget(Class GenericGraphicWidget)
Class Documentation¶
-
class
SmartPeak::Heatmap2DWidget: public SmartPeak::GenericGraphicWidget¶ Class for plotting heatmaps.
Public Functions
-
inline
Heatmap2DWidget(const Eigen::Tensor<float, 2, Eigen::RowMajor> &data, const Eigen::Tensor<std::string, 1> &columns, const Eigen::Tensor<std::string, 1> &rows, const std::string &x_axis_title, const std::string &y_axis_title, const float &data_min, const float &data_max, const float &plot_width, const float &plot_height, const std::string &plot_title)¶
-
virtual void
draw() override¶ Interface to show the widget
NOTE: free to override in inherited implmementations
Public Members
-
const Eigen::Tensor<float, 2, Eigen::RowMajor> &
data_¶
-
const Eigen::Tensor<std::string, 1> &
columns_¶
-
const Eigen::Tensor<std::string, 1> &
rows_¶
-
const std::string &
x_axis_title_¶
-
const std::string &
y_axis_title_¶
-
const float &
data_min_¶
-
const float &
data_max_¶
-
const float &
plot_width_¶
-
const float &
plot_height_¶
-
const std::string
plot_title_¶
-
inline