Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkFiberBundleThreadMonitor.h
Go to the documentation of this file.
1 
2 /*===================================================================
3 
4 The Medical Imaging Interaction Toolkit (MITK)
5 
6 Copyright (c) German Cancer Research Center,
7 Division of Medical and Biological Informatics.
8 All rights reserved.
9 
10 This software is distributed WITHOUT ANY WARRANTY; without
11 even the implied warranty of MERCHANTABILITY or FITNESS FOR
12 A PARTICULAR PURPOSE.
13 
14 See LICENSE.txt or http://www.mitk.org for details.
15 
16 ===================================================================*/
17 
18 #ifndef _MITK_FiberBundleThreadMonitor_H
19 #define _MITK_FiberBundleThreadMonitor_H
20 
21 //includes for MITK datastructure
22 #include "mitkBaseData.h"
23 #include <MitkFiberTrackingExports.h>
24 #include <QString>
25 
26 #include <QMutex>
27 
28 
29 namespace mitk {
30 
33  class MITKFIBERTRACKING_EXPORT FiberBundleThreadMonitor : public BaseData
34  {
35 
36  public:
37 
38  // ======virtual methods must have======
39  virtual void UpdateOutputInformation();
40  virtual void SetRequestedRegionToLargestPossibleRegion();
41  virtual bool RequestedRegionIsOutsideOfTheBufferedRegion();
42  virtual bool VerifyRequestedRegion();
43  virtual void SetRequestedRegion(const itk::DataObject *data );
44  //=======================================
45 
47  itkFactorylessNewMacro(Self)
48  itkCloneMacro(Self)
49 
50 
51  void setTextL1(QString);
52  QString getTextL1();
53 
54  QString getBracketOpen();
55  mitk::Point2D getBracketOpenPosition();
56  void setBracketOpenPosition(mitk::Point2D);
57  int getBracketOpenOpacity(); // range 0 - 10, multiplicationfactor 0.1 (in mapper)
58 
59  QString getBracketClose();
60  mitk::Point2D getBracketClosePosition();
61  void setBracketClosePosition(mitk::Point2D);
62  int getBracketCloseOpacity(); // range 0 - 10, multiplicationfactor 0.1 (in mapper)
63 
64  QString getHeading();
65  mitk::Point2D getHeadingPosition();
66  void setHeadingPosition(mitk::Point2D);
67  int getHeadingOpacity(); // range 0 - 10, multiplicationfactor 0.1 (in mapper)
68  void setHeadingOpacity(int);
69 
70  QString getMask();
71  mitk::Point2D getMaskPosition();
72  void setMaskPosition(mitk::Point2D);
73  int getMaskOpacity(); // multiplicationfactor 0.1 (in mapper)
74  void setMaskOpacity(int);
75 
76  QString getStatus();
77  void setStatus(QString);
78  mitk::Point2D getStatusPosition();
79  void setStatusPosition(mitk::Point2D);
80  int getStatusOpacity(); // multiplicationfactor 0.1 (in mapper)
81  void setStatusOpacity(int);
82 
83  int getStarted();
84  void setStarted(int);
85  mitk::Point2D getStartedPosition();
86  void setStartedPosition(mitk::Point2D);
87  int getStartedOpacity(); // multiplicationfactor 0.1 (in mapper)
88  void setStartedOpacity(int);
89 
90  int getFinished();
91  void setFinished(int);
92  mitk::Point2D getFinishedPosition();
93  void setFinishedPosition(mitk::Point2D);
94  int getFinishedOpacity(); // multiplicationfactor 0.1 (in mapper)
95  void setFinishedOpacity(int);
96 
97  int getTerminated();
98  void setTerminated(int);
99  mitk::Point2D getTerminatedPosition();
100  void setTerminatedPosition(mitk::Point2D);
101  int getTerminatedOpacity(); // multiplicationfactor 0.1 (in mapper)
102  void setTerminatedOpacity(int);
103 
104 
105  protected:
107  virtual ~FiberBundleThreadMonitor();
108 
109 
110  private:
111  QString m_monitorBracketOpen;
112  mitk::Point2D m_monitorBracketOpenPosition;
113 
114  QString m_monitorBracketClose;
115  mitk::Point2D m_monitorBracketClosePosition;
116 
117  QString m_monitorHeading;
118  mitk::Point2D m_monitorHeadingPosition;
119  int m_monitorHeadingOpacity;
120 
121  QString m_monitorMask;
122  mitk::Point2D m_monitorMaskPosition;
123  int m_monitorMaskOpacity;
124 
125  QString m_monitorStatus;
126  mitk::Point2D m_monitorStatusPosition;
127  int m_monitorStatusOpacity;
128 
129  int m_monitorStarted;
130  mitk::Point2D m_monitorStartedPosition;
131  int m_monitorStartedOpacity;
132 
133  int m_monitorFinished;
134  mitk::Point2D m_monitorFinishedPosition;
135  int m_monitorFinishedOpacity;
136 
137  int m_monitorTerminated;
138  mitk::Point2D m_monitorTerminatedPosition;
139  int m_monitorTerminatedOpacity;
140 
141  QMutex m_startedMutex;
142  QMutex m_finishedMutex;
143  QMutex m_terminatedMutex;
144  QMutex m_statusMutex;
145 
146 
147 
148 
149 
150  };
151 
152 } // namespace mitk
153 
154 #endif /* _MITK_FiberBundle_H */
Base of all data objects.
Definition: mitkBaseData.h:39
DataCollection - Class to facilitate loading/accessing structured data.
Base Class for Fiber Bundles;.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44