AnalysisPlugin

Qualified name: mv::plugin::AnalysisPlugin

class AnalysisPlugin : public mv::plugin::Plugin

Public Functions

void setObjectName(const QString &name)

Set name of the object.

Parameters:

name – Name of the object

void setInputDataset(const Dataset<DatasetImpl> &inputDataset)

Set input dataset smart pointer.

Parameters:

inputDataset – Smart pointer to the input dataset

void setInputDatasets(const Datasets &inputDatasets)

Set input datasets smart pointers.

Parameters:

inputDatasets – Vector of smart pointers to the input datasets

template<typename DatasetType = DatasetImpl>
inline Dataset<DatasetType> getInputDataset()

Get input dataset smart pointer.

inline Datasets getInputDatasets()

Get input dataset smart pointer vector.

void setOutputDataset(const Dataset<DatasetImpl> &outputDataset)

Set output dataset smart pointer.

Parameters:

outputDataset – Smart pointer to output dataset

void setOutputDatasets(const Datasets &outputDatasets)

Set output datasets smart pointers.

Parameters:

outputDatasets – Vector of smart pointers to output datasets

template<typename DatasetType = DatasetImpl>
inline Dataset<DatasetType> getOutputDataset()

Get output dataset smart pointer.

inline Datasets getOutputDatasets()

Get output dataset smart pointers.

virtual void fromVariantMap(const QVariantMap &variantMap) override

Load analysis plugin from variant.

Parameters:

Variant – representation of the analysis plugin

virtual QVariantMap toVariantMap() const override

Save analysis plugin to variant.

Parameters:

Variant – representation of the analysis plugin

Protected Functions

inline bool outputDataInit() const

Returns whether any output dataset is given.

Protected Attributes

Datasets _output

Input datasets smart pointers.