heatmap_data Class Reference
#include <heatmap_data.h>
Inheritance diagram for heatmap_data:

Public Member Functions | |
heatmap_data () | |
virtual ~heatmap_data () | |
float at (const size_t row, const size_t col) const INTEROP_THROW_SPEC((model | |
float at (const size_t idx) const INTEROP_THROW_SPEC((model | |
float operator[] (const size_t idx) const INTEROP_THROW_SPEC((model | |
float operator() (const size_t row, const size_t col) const INTEROP_THROW_SPEC((model | |
float & operator() (const size_t row, const size_t col) INTEROP_THROW_SPEC((model | |
size_t row_count () const | |
size_t column_count () const | |
size_t length () const | |
bool empty () const | |
void set_buffer (float *data) INTEROP_THROW_SPEC((model | |
void set_buffer (float *data, const size_t rows, const size_t cols, const float default_val=std::numeric_limits< float >::quiet_NaN()) | |
void resize (const size_t rows, const size_t cols, const float default_val=std::numeric_limits< float >::quiet_NaN()) | |
void clear () | |
size_t index_of (const size_t row, const size_t col) const | |
![]() | |
void set_axes (const axes &xyaxes) | |
void set_xaxis (const axis &xaxes) | |
void set_yaxis (const axis &yaxes) | |
void set_xlabel (const std::string &label) | |
void set_ylabel (const std::string &label) | |
void set_range (const float xmin, const float xmax, const float ymin, const float ymax) | |
void set_xrange (const float vmin, const float vmax) | |
void set_yrange (const float vmin, const float vmax) | |
void set_title (const std::string &title) | |
void clear () | |
const axis & x_axis () const | |
const axis & y_axis () const | |
const std::string & title () const | |
const axes & xyaxes () const | |
Friends | |
std::ostream & operator<< (std::ostream &out, const heatmap_data &data) | |
std::istream & operator>> (std::istream &in, heatmap_data &data) | |
Detailed Description
Encapsulates all data for a heatmap
Constructor & Destructor Documentation
|
inline |
Constructor
|
inlinevirtual |
Destructor
Member Function Documentation
|
inline |
Clear the data
|
inline |
Get the index of the row and column in the array
- Parameters
-
row row index col column index
- Returns
- index in array
|
inline |
Resize the heat map to the given number of rows and columns
- Parameters
-
rows number of rows cols number of columns default_val value to fill heatmap
|
inline |
Resize the heat map to the given number of rows and columns
- Parameters
-
data use the given buffer to back the heat map
|
inline |
Resize the heat map to the given number of rows and columns
- Parameters
-
data use the given buffer to back the heat map rows number of rows cols number of columns default_val value to fill heatmap
Friends And Related Function Documentation
|
friend |
|
friend |
The documentation for this class was generated from the following file:
- /io/interop/model/plot/heatmap_data.h