Skip to main content
Part of Toolbox a base class for algorithms that apply a simple algorithm to obtain a single object from a single set of samples.

Public Types

Public Member Functions

Public Attributes

Detailed Description

template<dataobject_types TYPE> class ComputeSingleObjectPerSample< TYPE >

a base class for algorithms that apply a simple algorithm to obtain a single object from a single set of samples. Template Parameters

Member Typedef Documentation

TAlgorithmFunction

defines a function object Parameters Returns the result of the operation

Constructor & Destructor Documentation

ComputeSingleObjectPerSample() [1/2]

constructor which assumes an empty selection It is mainly used to initialized the object and to provide a functional “compute()” method. Parameters

ComputeSingleObjectPerSample() [2/2]

constructor which sets suitable defaults for all members Parameters

Member Function Documentation

check()

checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine. Parameters

compute() [1/2]

performs the action for a single set of samples Parameters

compute() [2/2]

performs the action using the defined settings. Parameters