|
ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
|
#include <Core.h>
Public Member Functions | |
| Core () | |
| ~Core () | |
| void | init () override |
| void | reset () override |
| Dataset< DatasetImpl > | addDataset (const QString &kind, const QString &dataSetGuiName, const Dataset< DatasetImpl > &parentDataset=Dataset< DatasetImpl >(), const QString &id="") override |
| void | removeDataset (Dataset< DatasetImpl > dataset) override final |
| Dataset< DatasetImpl > | createDerivedDataset (const QString &guiName, const Dataset< DatasetImpl > &sourceDataset, const Dataset< DatasetImpl > &parentDataset=Dataset< DatasetImpl >()) override |
| Dataset< DatasetImpl > | createSubsetFromSelection (const Dataset< DatasetImpl > &selection, const Dataset< DatasetImpl > &sourceDataset, const QString &guiName, const Dataset< DatasetImpl > &parentDataset, const bool &visible=true) override |
| Dataset< DatasetImpl > | requestDataset (const QString &datasetGuid) override |
| QVector< Dataset< DatasetImpl > > | requestAllDataSets (const QVector< DataType > &dataTypes=QVector< DataType >()) override |
| Dataset< DatasetImpl > | groupDatasets (const Datasets &datasets, const QString &guiName="") |
| bool | isDatasetGroupingEnabled () const override |
| void | setDatasetGroupingEnabled (const bool &datasetGroupingEnabled) override |
| void | addPlugin (plugin::Plugin *plugin) |
| AbstractActionsManager & | getActionsManager () override |
| AbstractPluginManager & | getPluginManager () override |
| AbstractEventManager & | getEventManager () override |
| AbstractDataManager & | getDataManager () override |
| AbstractDataHierarchyManager & | getDataHierarchyManager () override |
| AbstractWorkspaceManager & | getWorkspaceManager () override |
| AbstractProjectManager & | getProjectManager () |
| AbstractSettingsManager & | getSettingsManager () |
Public Member Functions inherited from hdps::CoreInterface | |
| CoreInterface () | |
| virtual bool | isInitialized () const final |
| template<class DatasetType > | |
| Dataset< DatasetType > | addDataset (const QString &kind, const QString &dataSetGuiName, const Dataset< DatasetImpl > &parentDataset=Dataset< DatasetImpl >()) |
| template<typename DatasetType > | |
| Dataset< DatasetType > | createDerivedDataset (const QString &guiName, const Dataset< DatasetImpl > &sourceDataset, const Dataset< DatasetImpl > &parentDataset=Dataset< DatasetImpl >()) |
| 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) |
| template<typename DatasetType > | |
| Dataset< DatasetType > | requestDataset (const QString &datasetGuid) |
Protected Member Functions | |
| plugin::RawData & | requestRawData (const QString &name) override |
| Dataset< DatasetImpl > | requestSelection (const QString &rawDataName) override |
Protected Member Functions inherited from hdps::CoreInterface | |
| template<typename DatasetType > | |
| Dataset< DatasetType > | requestSelection (const QString &rawDataName) |
Friends | |
| class | DataHierarchyManager |
Additional Inherited Members | |
Protected Attributes inherited from hdps::CoreInterface | |
| bool | _initialized |
| bool | _datasetGroupingEnabled |
| hdps::Core::Core | ( | ) |
Default constructor
| hdps::Core::~Core | ( | ) |
Default destructor
|
overridevirtual |
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) |
Implements hdps::CoreInterface.
| void hdps::Core::addPlugin | ( | plugin::Plugin * | plugin | ) |
Adds the given plugin to the list of plugins kept by the core
|
overridevirtual |
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) |
Implements hdps::CoreInterface.
|
overridevirtual |
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 |
Implements hdps::CoreInterface.
|
overridevirtual |
Implements hdps::CoreInterface.
|
overridevirtual |
Implements hdps::CoreInterface.
|
overridevirtual |
Implements hdps::CoreInterface.
|
overridevirtual |
Implements hdps::CoreInterface.
|
overridevirtual |
Implements hdps::CoreInterface.
|
virtual |
Implements hdps::CoreInterface.
|
virtual |
Implements hdps::CoreInterface.
|
overridevirtual |
Implements hdps::CoreInterface.
|
virtual |
Groups datasets into one dataset
| datasets | Two or more datasets to group (if empty, the user will be prompted for a name) |
Implements hdps::CoreInterface.
|
overridevirtual |
Initializes all core managers
Reimplemented from hdps::CoreInterface.
|
overridevirtual |
Get whether dataset grouping is enabled or not
Implements hdps::CoreInterface.
|
finaloverridevirtual |
Removes a single dataset
| dataset | Smart pointer to the dataset to remove |
Implements hdps::CoreInterface.
|
overridevirtual |
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 |
Implements hdps::CoreInterface.
|
overridevirtual |
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 |
Implements hdps::CoreInterface.
|
overrideprotectedvirtual |
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 |
Implements hdps::CoreInterface.
|
overrideprotectedvirtual |
Request a selection from the data manager by its corresponding raw data name.
| rawdataName | Name of the raw data |
Implements hdps::CoreInterface.
|
overridevirtual |
Resets the entire core implementation
Implements hdps::CoreInterface.
|
overridevirtual |
Get whether dataset grouping is enabled or not
Implements hdps::CoreInterface.
|
friend |
Manager for managing global settings