Composite class
The abstract base class for all composite measurement features.
Contents
- Reference
To define a composite measurement feature, derive from this class and override all the pure vitrual functions,
including the ones from dip::Feature::Base. See the existing composite features in /src/measurement/ for examples.
Base classes
-
class dip::
Feature:: Base abstract - The abstract base class for all measurement features. more...
Functions
- void Compose(dip::Measurement::IteratorObject& dependencies, dip::Measurement::ValueIterator output) pure virtual
- Called once for each object, the input
dependenciesobject contains the measurements for the object from all the features in thedip::Feature::Composite::Dependencieslist. - auto Dependencies() -> dip::StringArray pure virtual
- Lists the features that the measurement depends on. These features will be computed and made
available to the
Measuremethod. This function is always called afterdip::Feature::Base::Initialize. more...
Function documentation
dip::StringArray Dependencies( ) pure virtual
Lists the features that the measurement depends on. These features will be computed and made
available to the Measure method. This function is always called after dip::Feature::Base::Initialize.
void Compose( dip::Measurement::IteratorObject& dependencies, dip::Measurement::ValueIterator output) pure virtual
Called once for each object, the input dependencies object contains the measurements
for the object from all the features in the dip::Feature::Composite::Dependencies list.