|
ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
|
#include <CoreInterface.h>
Public Member Functions | |
| CoreInterface () | |
| virtual void | init () |
| virtual void | reset ()=0 |
| virtual bool | isInitialized () const final |
| virtual Dataset< DatasetImpl > | addDataset (const QString &kind, const QString &dataSetGuiName, const Dataset< DatasetImpl > &parentDataset=Dataset< DatasetImpl >(), const QString &id="")=0 |
| virtual void | removeDataset (Dataset< DatasetImpl > dataset)=0 |
| template<class DatasetType > | |
| Dataset< DatasetType > | addDataset (const QString &kind, const QString &dataSetGuiName, const Dataset< DatasetImpl > &parentDataset=Dataset< DatasetImpl >()) |
| virtual Dataset< DatasetImpl > | createDerivedDataset (const QString &guiName, const Dataset< DatasetImpl > &sourceDataset, const Dataset< DatasetImpl > &parentDataset=Dataset< DatasetImpl >())=0 |
| template<typename DatasetType > | |
| Dataset< DatasetType > | createDerivedDataset (const QString &guiName, const Dataset< DatasetImpl > &sourceDataset, const Dataset< DatasetImpl > &parentDataset=Dataset< DatasetImpl >()) |
| virtual Dataset< DatasetImpl > | createSubsetFromSelection (const Dataset< DatasetImpl > &selection, const Dataset< DatasetImpl > &sourceDataset, const QString &guiName, const Dataset< DatasetImpl > &parentDataset, const bool &visible=true)=0 |
| template<typename DatasetType > | |
| Dataset< DatasetType > | createSubsetFromSelection (const Dataset< DatasetImpl > &selection, const Dataset< DatasetImpl > &sourceDataset, const QString &guiName, const Dataset< DatasetImpl > &parentDataset, const bool &visible=true) |
| virtual Dataset< DatasetImpl > | requestDataset (const QString &datasetGuid)=0 |
| template<typename DatasetType > | |
| Dataset< DatasetType > | requestDataset (const QString &datasetGuid) |
| virtual QVector< Dataset< DatasetImpl > > | requestAllDataSets (const QVector< DataType > &dataTypes=QVector< DataType >())=0 |
| virtual Dataset< DatasetImpl > | groupDatasets (const Datasets &datasets, const QString &guiName="")=0 |
| virtual bool | isDatasetGroupingEnabled () const =0 |
| virtual void | setDatasetGroupingEnabled (const bool &datasetGroupingEnabled)=0 |
| virtual AbstractActionsManager & | getActionsManager ()=0 |
| virtual AbstractPluginManager & | getPluginManager ()=0 |
| virtual AbstractEventManager & | getEventManager ()=0 |
| virtual AbstractDataManager & | getDataManager ()=0 |
| virtual AbstractDataHierarchyManager & | getDataHierarchyManager ()=0 |
| virtual AbstractWorkspaceManager & | getWorkspaceManager ()=0 |
| virtual AbstractProjectManager & | getProjectManager ()=0 |
| virtual AbstractSettingsManager & | getSettingsManager ()=0 |
Protected Member Functions | |
| virtual plugin::RawData & | requestRawData (const QString &datasetName)=0 |
| virtual Dataset< DatasetImpl > | requestSelection (const QString &rawDataName)=0 |
| template<typename DatasetType > | |
| Dataset< DatasetType > | requestSelection (const QString &rawDataName) |
Protected Attributes | |
| bool | _initialized |
| bool | _datasetGroupingEnabled |
Friends | |
| class | plugin::RawData |
| class | DatasetImpl |
| class | EventListener |
|
inline |
Default constructor
|
inline |
Requests the plugin manager to create new RawData of the given kind The manager will add the raw data to the core and return the unique name of the data set linked with the raw data
| kind | Kind of plugin |
| datasetGuiName | Name of the added dataset in the GUI |
| parentDataset | Smart pointer to the parent dataset in the data hierarchy (root if smart pointer is not valid) |
|
pure virtual |
Requests the plugin manager to create new RawData of the given kind The manager will add the raw data to the core and return the unique name of the data set linked with the raw data
| kind | Kind of plugin |
| datasetGuiName | Name of the added dataset in the GUI |
| parentDataset | Smart pointer to the parent dataset in the data hierarchy (root if not valid) |
| id | Globally unique dataset identifier (use only for deserialization) |
Implemented in hdps::Core.
|
inline |
Creates a dataset derived from a source dataset.
| guiName | GUI name for the new dataset from the core |
| sourceDataset | Smart pointer to the source dataset from which this dataset will be derived |
| parentDataset | Smart pointer to the parent dataset in the data hierarchy (will attach to root in hierarchy if not valid) |
|
pure virtual |
Creates a dataset derived from a source dataset.
| guiName | GUI name for the new dataset from the core |
| sourceDataset | Smart pointer to the source dataset from which this dataset will be derived |
| parentDataset | Smart pointer to the parent dataset in the data hierarchy (will attach to source dataset in hierarchy if not valid) |
Implemented in hdps::Core.
|
inline |
Creates a copy of the given selection set, adds the new set to the data manager and notifies all data consumers of the new set
| selection | Smart pointer to the selection set |
| sourceDataset | Smart pointer to the source dataset |
| guiName | GUI name of the subset |
| parentDataset | Smart pointer to the parent dataset in the data hierarchy (sourceSetName if not valid) |
| visible | Whether the new dataset is visible in the user interface |
|
pure virtual |
Creates a copy of the given selection set, adds the new set to the data manager and notifies all data consumers of the new set
| selection | Smart pointer to the selection set |
| sourceDataset | Smart pointer to the source dataset |
| guiName | GUI name of the subset |
| parentDataset | Smart pointer to the parent dataset in the data hierarchy (sourceSetName if not valid) |
| visible | Whether the new dataset is visible in the user interface |
Implemented in hdps::Core.
|
pure virtual |
Implemented in hdps::Core.
|
pure virtual |
Implemented in hdps::Core.
|
pure virtual |
Implemented in hdps::Core.
|
pure virtual |
Implemented in hdps::Core.
|
pure virtual |
Implemented in hdps::Core.
|
pure virtual |
Implemented in hdps::Core.
|
pure virtual |
Implemented in hdps::Core.
|
pure virtual |
Implemented in hdps::Core.
|
pure virtual |
Groups datasets into one dataset
| datasets | Two or more datasets to group |
| guiName | Name of the created dataset in the GUI (if empty, the user will be prompted for a name) |
Implemented in hdps::Core.
|
inlinevirtual |
Initializes all core managers
Reimplemented in hdps::Core.
|
pure virtual |
Get whether dataset grouping is enabled or not
Implemented in hdps::Core.
|
inlinefinalvirtual |
Get whether the core is initialized or not
|
pure virtual |
Removes a single dataset
| dataset | Smart pointer to the dataset to remove |
Implemented in hdps::Core.
|
pure virtual |
Returns all data sets that are present in the core, filtered by data type(s) Returns all data sets in case of an empty filter
| dataTypes | Data types to filter |
Implemented in hdps::Core.
|
inline |
Requests a dataset of a specific type from the core by dataset GUID, if no such instance can be found a fatal error is thrown
| datasetGuid | GUID of the dataset |
|
pure virtual |
Requests a dataset from the core by dataset GUID (if no such instance can be found a fatal error is thrown)
| datasetGuid | GUID of the dataset |
Implemented in hdps::Core.
|
protectedpure virtual |
Requests an instance of a data type plugin from the core which has the same unique name as the given parameter, if no such instance can be found a fatal error is thrown
| datasetName | Name of the dataset |
Implemented in hdps::Core.
|
inlineprotected |
Request a selection from the data manager by its corresponding raw data name.
| rawdataName | Name of the raw data |
|
protectedpure virtual |
Request a selection from the data manager by its corresponding raw data name.
| rawdataName | Name of the raw data |
Implemented in hdps::Core.
|
pure virtual |
Resets the entire core implementation
Implemented in hdps::Core.
|
pure virtual |
Get whether dataset grouping is enabled or not
Implemented in hdps::Core.
|
friend |
|
friend |
|
friend |
Whether datasets can be grouped or not
|
protected |
Boolean determining whether the core is initialized or not
|
protected |