Class for storing data shown in a scatter plot matrix (SPLOM) (a table with data values for one object per row, along with the names of the columns/parameters).
More...
#include <iASPLOMData.h>
|
| | iASPLOMData () |
| |
| void | addParameter (QString &name) |
| | Add an additional column. More...
|
| |
| std::vector< std::vector< double > > & | data () |
| | Set the parameter names (clears all columns) with an optional row "size" (i.e. how many rows are planned to be there, i.e. used in vector::reserve) More...
|
| |
| const std::vector< std::vector< double > > & | data () const |
| | Get constant ref. to the lists containing raw data points. More...
|
| |
| size_t | numParams () const |
| | Get number of data point parameters. More...
|
| |
| size_t | numPoints () const |
| | Get number of data points. More...
|
| |
| const std::vector< double > & | paramData (size_t paramIndex) const |
| | Get constant ref. to the list containing raw data points of a given parameter (index). More...
|
| |
| QString | parameterName (size_t paramIndex) const |
| | Get parameter name by its index. More...
|
| |
| size_t | paramIndex (QString const ¶mName) const |
| | Get the index of a specified parameter name. More...
|
| |
| std::vector< QString > & | paramNames () |
| | Get the names of the columns/parameters. More...
|
| |
| double const * | paramRange (size_t paramIndex) const |
| | Get the range of the parameter with given index. More...
|
| |
| void | setParameterNames (std::vector< QString > const ¶mNmes, size_t rowReserve=0) |
| |
| void | updateRange (size_t paramIndex) |
| | update range of a single parameter. Call if data of a parameter has changed More...
|
| |
| void | updateRanges () |
| | update range of all parameters More...
|
| |
| void | updateRanges (std::vector< size_t > paramIndices) |
| | update range for multiple parameters. Call if data of multiple parameters has changed More...
|
| |
|
| static const size_t | NoDataIdx = std::numeric_limits<size_t>::max() |
| |
Class for storing data shown in a scatter plot matrix (SPLOM) (a table with data values for one object per row, along with the names of the columns/parameters).
◆ iASPLOMData()
| iASPLOMData::iASPLOMData |
( |
| ) |
|
◆ addParameter()
| void iASPLOMData::addParameter |
( |
QString & |
name | ) |
|
Add an additional column.
◆ data() [1/2]
| std::vector< std::vector< double > > & iASPLOMData::data |
( |
| ) |
|
Set the parameter names (clears all columns) with an optional row "size" (i.e. how many rows are planned to be there, i.e. used in vector::reserve)
Get the table values
◆ data() [2/2]
| const std::vector< std::vector< double > > & iASPLOMData::data |
( |
| ) |
const |
Get constant ref. to the lists containing raw data points.
◆ dataChanged
| void iASPLOMData::dataChanged |
( |
size_t |
paramIndex | ) |
|
|
signal |
emitted when the range of a parameter has changed
◆ numParams()
| size_t iASPLOMData::numParams |
( |
| ) |
const |
Get number of data point parameters.
◆ numPoints()
| size_t iASPLOMData::numPoints |
( |
| ) |
const |
Get number of data points.
◆ paramData()
| const std::vector< double > & iASPLOMData::paramData |
( |
size_t |
paramIndex | ) |
const |
Get constant ref. to the list containing raw data points of a given parameter (index).
◆ parameterName()
| QString iASPLOMData::parameterName |
( |
size_t |
paramIndex | ) |
const |
Get parameter name by its index.
◆ paramIndex()
| size_t iASPLOMData::paramIndex |
( |
QString const & |
paramName | ) |
const |
Get the index of a specified parameter name.
◆ paramNames()
| std::vector< QString > & iASPLOMData::paramNames |
( |
| ) |
|
Get the names of the columns/parameters.
◆ paramRange()
| double const * iASPLOMData::paramRange |
( |
size_t |
paramIndex | ) |
const |
Get the range of the parameter with given index.
◆ setParameterNames()
| void iASPLOMData::setParameterNames |
( |
std::vector< QString > const & |
paramNmes, |
|
|
size_t |
rowReserve = 0 |
|
) |
| |
◆ updateRange()
| void iASPLOMData::updateRange |
( |
size_t |
paramIndex | ) |
|
update range of a single parameter. Call if data of a parameter has changed
◆ updateRanges() [1/2]
| void iASPLOMData::updateRanges |
( |
| ) |
|
update range of all parameters
◆ updateRanges() [2/2]
| void iASPLOMData::updateRanges |
( |
std::vector< size_t > |
paramIndices | ) |
|
update range for multiple parameters. Call if data of multiple parameters has changed
◆ m_dataPoints
| std::vector<std::vector<double> > iASPLOMData::m_dataPoints |
|
protected |
lists containing data points
◆ m_paramNames
| std::vector<QString> iASPLOMData::m_paramNames |
|
protected |
◆ m_ranges
| std::vector<std::vector<double> > iASPLOMData::m_ranges |
|
protected |
◆ NoDataIdx
| const size_t iASPLOMData::NoDataIdx = std::numeric_limits<size_t>::max() |
|
static |
The documentation for this class was generated from the following files: