MeVisLab Toolbox Reference
mlDummyOp.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2007, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef ML_DUMMY_OP_H
14 #define ML_DUMMY_OP_H
15 
18 
19 //ML-includes
20 #include "mlInitSystemML.h"
21 #include "mlModuleIncludes.h"
22 
23 #include "mlModule.h"
24 
25 #if ML_DEPRECATED_SINCE(3,5,0)
26 
27 ML_START_NAMESPACE
28 
46 class MLEXPORT ML_DEPRECATED DummyOp : public BaseOp
47 {
48 
49 public:
50 
52  DummyOp();
53 
57  static DummyOp& getGlobalInstance();
58 
60  static PagedImage& getGlobalOutImg();
61 
64  static void destroyDummyOp();
65 
66 private:
67 
70  SubImageBox calcInSubImageBox(int, const SubImageBox& outSubImgBox, int) override;
71 
80  void calcOutImageProps(int /*outIndex*/) override;
81 
83  virtual void setOutOfDate();
84 
86  virtual void setImgProps(const PagedImage &imgProps);
87 
89  void calcOutSubImage(SubImage *outSubImg, int outIndex, SubImage *inSubImgs) override;
90 
91  ML_MODULE_CLASS_HEADER(DummyOp)
92 };
93 
94 ML_END_NAMESPACE
95 
96 #endif
97 
98 
99 #endif // __mlDummyOp_H
100 
101 
#define ML_DEPRECATED
Definition: CSOGroup.h:371
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
#define MLEXPORT
To export symbols from a dll/shared object, we need to mark them with the MLEXPORT symbol.
TSubImageBox< MLint > SubImageBox
Define the standard SubImageBox type used in the ML. Its size varies with the size of the MLint type.