Artec 3D Scanning SDK  2.0
AlgorithmWorkset.h
Go to the documentation of this file.
1 /********************************************************************
2 *
3 * Project Artec 3D Scanning SDK
4 *
5 * Purpose: Algorithm workset declaration
6 *
7 * Copyright: Artec Group
8 *
9 ********************************************************************/
10 
11 #ifndef _ALGORITHMWORKSET_H_
12 #define _ALGORITHMWORKSET_H_
13 
14 namespace artec { namespace sdk { namespace base
15 {
16 
17 class IModel;
18 class ICancellationToken;
19 class IProgressInfo;
20 
21 /// @brief Workset for algorithm parameters.
22 /// @details Pointers to Input and Output models cannot be NULL.
23 /// For most of algorithms the Input model must be filled with data (usually scans).
24 /// Output model is empty in the most cases.
26 {
27  /// Input model (container of Scans and CompositeContainer etc.) is the input values for algorithm.
29 
30  /// Output model (container of Scans and CompositeContainer etc.) is the result of algorithm.
32 
33  /// Progress report callback for an algorithm
35 
36  /// Callback to test whether the algorithm has been canceled or terminated
38 
39  /// Thread count for algorithm.
40  /// Zero means that all available threads are being used.
41  unsigned int threadsCount;
42 };
43 
44 } } } // namespace artec::sdk::base
45 
46 #endif // _ALGORITHMWORKSET_H_
ICancellationToken * cancellation
Callback to test whether the algorithm has been canceled or terminated.
IModel * in
Input model (container of Scans and CompositeContainer etc.) is the input values for algorithm...
IModel * out
Output model (container of Scans and CompositeContainer etc.) is the result of algorithm.
unsigned int threadsCount
Thread count for algorithm.
Container of Scan(s) and a single CompositeContainer.
Definition: IModel.h:60
IProgressInfo * progress
Progress report callback for an algorithm.
Callback interface to notify process about cancellation.
Workset for algorithm parameters.
Interface for a progress notification listener.
Definition: IProgressInfo.h:76