23 : m_monitorBracketOpen(
"[")
24 , m_monitorBracketClose(
"]")
25 , m_monitorHeading(
"Monitoring Fiberprocessing Threads")
26 , m_monitorMask(
"Thread Status:\nStarted: Finished: Terminated:")
27 , m_monitorStatus(
"_initialized")
29 , m_monitorFinished(0)
30 , m_monitorTerminated(0)
32 m_monitorBracketOpenPosition[0] = 0;
33 m_monitorBracketOpenPosition[1] = 0;
34 m_monitorBracketClosePosition[0] = 0;
35 m_monitorBracketClosePosition[1] = 0;
36 m_monitorHeadingPosition[0] = 0;
37 m_monitorHeadingPosition[1] = 0;
38 m_monitorMaskPosition[0] = 0;
39 m_monitorMaskPosition[1] = 0;
40 m_monitorStatusPosition[0] = 0;
41 m_monitorStatusPosition[1] = 0;
42 m_monitorStartedPosition[0] = 0;
43 m_monitorStartedPosition[1] = 0;
44 m_monitorFinishedPosition[0] = 0;
45 m_monitorFinishedPosition[1] = 0;
46 m_monitorTerminatedPosition[0] = 0;
47 m_monitorTerminatedPosition[1] = 0;
50 m_monitorHeadingOpacity = 0;
51 m_monitorMaskOpacity = 0;
52 m_monitorTerminatedOpacity = 0;
53 m_monitorFinishedOpacity = 0;
54 m_monitorStartedOpacity = 0;
55 m_monitorStatusOpacity = 0;
65 return m_monitorBracketOpen;
68 return m_monitorBracketOpenPosition;
71 m_monitorBracketOpenPosition[0] = pnt[0];
72 m_monitorBracketOpenPosition[1] = pnt[1];
79 return m_monitorBracketClose;
82 return m_monitorBracketClosePosition;
85 m_monitorBracketClosePosition[0] = pnt[0];
86 m_monitorBracketClosePosition[1] = pnt[1];
92 return m_monitorHeading;
95 return m_monitorHeadingPosition;
98 m_monitorHeadingPosition[0] = pnt[0];
99 m_monitorHeadingPosition[1] = pnt[1];
102 return m_monitorHeadingOpacity;
105 m_monitorHeadingOpacity = opacity;
112 return m_monitorMask;
115 return m_monitorMaskPosition;
118 m_monitorMaskPosition[0] = pnt[0];
119 m_monitorMaskPosition[1] = pnt[1];
122 return m_monitorMaskOpacity;
125 m_monitorMaskOpacity = opacity;
133 return m_monitorStatus;
136 m_statusMutex.lock();
137 m_monitorStatus = status;
138 m_statusMutex.unlock();
141 return m_monitorStatusPosition;
144 m_monitorStatusPosition[0] = pnt[0];
145 m_monitorStatusPosition[1] = pnt[1];
148 return m_monitorStatusOpacity;
151 m_monitorStatusOpacity = opacity;
156 return m_monitorStarted;
161 m_startedMutex.lock();
162 m_monitorStarted = val;
163 m_startedMutex.unlock();
166 return m_monitorStartedPosition;
169 m_monitorStartedPosition[0] = pnt[0];
170 m_monitorStartedPosition[1] = pnt[1];
173 return m_monitorStartedOpacity;
176 m_monitorStartedOpacity = opacity;
183 return m_monitorFinished;
187 m_finishedMutex.lock();
188 m_monitorFinished = val;
189 m_finishedMutex.unlock();
192 return m_monitorFinishedPosition;
195 m_monitorFinishedPosition[0] = pnt[0];
196 m_monitorFinishedPosition[1] = pnt[1];
199 return m_monitorFinishedOpacity;
202 m_monitorFinishedOpacity = opacity;
209 return m_monitorTerminated;
213 m_terminatedMutex.lock();
214 m_monitorTerminated = val;
215 m_terminatedMutex.unlock();
218 return m_monitorTerminatedPosition;
221 m_monitorTerminatedPosition[0] = pnt[0];
222 m_monitorTerminatedPosition[1] = pnt[1];
225 return m_monitorTerminatedOpacity;
228 m_monitorTerminatedOpacity = opacity;
mitk::Point2D getMaskPosition()
mitk::Point2D getTerminatedPosition()
mitk::Point2D getBracketClosePosition()
FiberBundleThreadMonitor()
virtual void SetRequestedRegion(const itk::DataObject *data)
Set the requested region from this data object to match the requested region of the data object passe...
void setFinishedPosition(mitk::Point2D)
mitk::Point2D getBracketOpenPosition()
QString getBracketClose()
mitk::Point2D getStatusPosition()
void setMaskPosition(mitk::Point2D)
void setStatusPosition(mitk::Point2D)
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion()
Determine whether the RequestedRegion is outside of the BufferedRegion.
void setHeadingPosition(mitk::Point2D)
int getTerminatedOpacity()
virtual void SetRequestedRegionToLargestPossibleRegion()
Set the RequestedRegion to the LargestPossibleRegion.
virtual ~FiberBundleThreadMonitor()
mitk::Point2D getHeadingPosition()
void setTerminatedPosition(mitk::Point2D)
mitk::Point2D getStartedPosition()
void setStartedPosition(mitk::Point2D)
void setFinishedOpacity(int)
void setBracketOpenPosition(mitk::Point2D)
void setTerminatedOpacity(int)
void setStartedOpacity(int)
void setHeadingOpacity(int)
mitk::Point2D getFinishedPosition()
virtual void UpdateOutputInformation()
virtual bool VerifyRequestedRegion()
Verify that the RequestedRegion is within the LargestPossibleRegion.
void setStatusOpacity(int)
void setBracketClosePosition(mitk::Point2D)