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 
25 {
26  IModel* in; ///< Algorithm's input
27  IModel* out; ///< Algorithm's output
28 
29  IProgressInfo* progress; ///< Algorithm's progress report with steps
30  ICancellationToken* cancellation; ///< Cancellation callback
31 
32  unsigned int threadsCount; ///< 0 == max available threads
33 };
34 
35 } } } // namespace artec::sdk::base
36 
37 #endif // _ALGORITHMS_H_
ICancellationToken * cancellation
Cancellation callback.
IModel * in
Algorithm's input.
IModel * out
Algorithm's output.
unsigned int threadsCount
0 == max available threads
IProgressInfo * progress
Algorithm's progress report with steps.