27 QString&
error)
const {
32 unsigned char cloudCount = (
cloud1 ? (
cloud2 ? 2 : 1) : 0);
34 error =
"at least two clouds are required to compute context-based "
40 error =
"math operations can't be defined on dual-cloud features";
static void error(char *msg)
DualCloudFeatureType type
Dual-cloud feature type.
virtual bool checkValidity(QString corePointRole, QString &error) const override
Checks the feature definition validity.
static QString ToString(DualCloudFeatureType type)
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.)
virtual bool checkValidity(QString corePointRole, QString &error) const
Checks the feature definition validity.
double scale
Scale (diameter)