|
open_iA 2024.7
|
Stores data shown in a scatter plot matrix (SPLOM). More...
#include <iASPLOMData.h>
Signals | |
| void | dataChanged (size_t paramIndex) |
| emitted when the range of a parameter has changed | |
Public Member Functions | |
| iASPLOMData () | |
| void | addParameter (QString &name) |
| Add an additional column. | |
| 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) | |
| const std::vector< std::vector< double > > & | data () const |
| Get constant ref. to the lists containing raw data points. | |
| size_t | numParams () const |
| Get number of data point parameters. | |
| size_t | numPoints () const |
| Get number of data points. | |
| const std::vector< double > & | paramData (size_t paramIndex) const |
| Get constant ref. to the list containing raw data points of a given parameter (index). | |
| QString | parameterName (size_t paramIndex) const |
| Get parameter name by its index. | |
| size_t | paramIndex (QString const ¶mName) const |
| Get the index of a specified parameter name. | |
| std::vector< QString > & | paramNames () |
| Get the names of the columns/parameters. | |
| double const * | paramRange (size_t paramIndex) const |
| Get the range of the parameter with given index. | |
| 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 | |
| void | updateRanges () |
| update range of all parameters | |
| void | updateRanges (std::vector< size_t > paramIndices) |
| update range for multiple parameters. Call if data of multiple parameters has changed | |
Static Public Attributes | |
| static const size_t | NoDataIdx = std::numeric_limits<size_t>::max() |
Protected Attributes | |
| std::vector< std::vector< double > > | m_dataPoints |
| lists containing data points | |
| std::vector< QString > | m_paramNames |
| list of parameter names | |
| std::vector< std::vector< double > > | m_ranges |
| ranges of all parameters | |
Stores data shown in a scatter plot matrix (SPLOM).
Data is represented as table with data values for one object per row, along with the names of the columns/parameters.
| iASPLOMData::iASPLOMData | ( | ) |
| void iASPLOMData::addParameter | ( | QString & | name | ) |
Add an additional column.
| 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
| const std::vector< std::vector< double > > & iASPLOMData::data | ( | ) | const |
Get constant ref. to the lists containing raw data points.
|
signal |
emitted when the range of a parameter has changed
| size_t iASPLOMData::numParams | ( | ) | const |
Get number of data point parameters.
| size_t iASPLOMData::numPoints | ( | ) | const |
Get number of data points.
| 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).
| QString iASPLOMData::parameterName | ( | size_t | paramIndex | ) | const |
Get parameter name by its index.
| size_t iASPLOMData::paramIndex | ( | QString const & | paramName | ) | const |
Get the index of a specified parameter name.
| std::vector< QString > & iASPLOMData::paramNames | ( | ) |
Get the names of the columns/parameters.
| double const * iASPLOMData::paramRange | ( | size_t | paramIndex | ) | const |
Get the range of the parameter with given index.
| void iASPLOMData::setParameterNames | ( | std::vector< QString > const & | paramNmes, |
| size_t | rowReserve = 0 ) |
| void iASPLOMData::updateRange | ( | size_t | paramIndex | ) |
update range of a single parameter. Call if data of a parameter has changed
| void iASPLOMData::updateRanges | ( | ) |
update range of all parameters
| void iASPLOMData::updateRanges | ( | std::vector< size_t > | paramIndices | ) |
update range for multiple parameters. Call if data of multiple parameters has changed
|
protected |
lists containing data points
|
protected |
list of parameter names
|
protected |
ranges of all parameters
|
static |