53 if (token ==
"IDIFF")
return IDIFF;
71 SFCollector* generatedScalarFields =
nullptr)
override;
73 QString&
error)
const override;
74 virtual QString
toString()
const override;
static void error(char *msg)
static DualCloudFeatureType FromUpperString(const QString &token)
DualCloudFeatureType type
Dual-cloud feature type.
virtual Type getType() const override
Returns the type (must be reimplemented by child struct)
virtual bool checkValidity(QString corePointRole, QString &error) const override
Checks the feature definition validity.
static QString ToString(DualCloudFeatureType type)
virtual Feature::Shared clone() const override
Clones this feature.
static DualCloudFeatureType FromString(const QString &token)
virtual QString toString() const override
Returns the formatted description.
virtual bool prepare(const CorePoints &corePoints, QString &error, cloudViewer::GenericProgressCallback *progressCb=nullptr, SFCollector *generatedScalarFields=nullptr) override
Prepares the feature (compute the scalar field, etc.)
DualCloudFeature(DualCloudFeatureType p_type)
Default constructor.
Generic feature descriptor.
QSharedPointer< Feature > Shared
Shared type.