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 
15 #include <artec/sdk/base/Errors.h>
16 
17 namespace artec { namespace sdk { namespace base
18 {
19 
20 class IModel;
21 class ICancellationToken;
22 class IProgressInfo;
23 
24 /// @brief Workset for algorithms parameters.
25 /// @details Pointers to Input and Output models cannot be NULL.
26 /// For the most of algorithms the Input model must be filled with data (usually scans).
27 /// Output model is empty in the most cases.
29 {
30  /// Input model (container of Scans and CompositeContainer etc.) is input values for algorithm.
32 
33  /// Output model (container of Scans and CompositeContainer etc.) is result of algorithm.
35 
36  /// Progress report callback for an algorithm
38 
39  /// Callback for testing an algorithm against cancellation and immediate stop
41 
42  /// Count of threads for algorithm.
43  /// Zero means use of the all available threads.
44  unsigned int threadsCount;
45 };
46 
47 } } } // namespace artec::sdk::base
48 
49 #endif // _ALGORITHMS_H_
ICancellationToken * cancellation
Callback for testing an algorithm against cancellation and immediate stop.
IModel * in
Input model (container of Scans and CompositeContainer etc.) is input values for algorithm.
IModel * out
Output model (container of Scans and CompositeContainer etc.) is result of algorithm.
This is a container of Scan(s) and a single CompositeContainer.
Definition: IModel.h:60
IProgressInfo * progress
Progress report callback for an algorithm.
Workset for algorithms parameters.