Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkNavigationDataRecorder.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkNavigationDataRecorder_h
14 #define mitkNavigationDataRecorder_h
15 
17 #include "mitkNavigationData.h"
18 #include "mitkNavigationDataSet.h"
19 
20 namespace mitk
21 {
35  {
36  public:
37 
39 
40  itkFactorylessNewMacro(Self);
41 
42  itkCloneMacro(Self);
43 
47  itkGetMacro(Recording, bool);
48 
53 
57  itkSetMacro(RecordCountLimit, int);
58 
62  itkGetMacro(StandardizeTime, bool);
63 
68  itkSetMacro(StandardizeTime, bool);
69 
74  itkSetMacro(RecordOnlyValidData, bool);
75 
79  itkGetMacro(RecordOnlyValidData, bool);
80 
84  virtual void StartRecording();
85 
92  virtual void StopRecording();
93 
99  virtual void ResetRecording();
100 
105  virtual int GetNumberOfRecordedSteps();
106 
107  protected:
108 
109  void GenerateData() override;
110 
112 
113  ~NavigationDataRecorder() override;
114 
115  unsigned int m_NumberOfInputs;
116 
118 
119  bool m_Recording;
120 
122 
124 
126 
128  };
129 }
130 #endif
mitk::NavigationDataRecorder::m_NavigationDataSet
mitk::NavigationDataSet::Pointer m_NavigationDataSet
Definition: mitkNavigationDataRecorder.h:117
mitk::NavigationDataRecorder::m_Recording
bool m_Recording
indicates whether the recording is started or not
Definition: mitkNavigationDataRecorder.h:119
mitk::NavigationDataRecorder::m_StandardizedTimeInitialized
bool m_StandardizedTimeInitialized
set to true the first time start recording is called.
Definition: mitkNavigationDataRecorder.h:123
mitk::NavigationDataRecorder::m_RecordOnlyValidData
bool m_RecordOnlyValidData
indicates whether only valid data is recorded
Definition: mitkNavigationDataRecorder.h:127
mitkNavigationData.h
mitk::NavigationDataToNavigationDataFilter
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
Definition: mitkNavigationDataToNavigationDataFilter.h:32
mitk::NavigationDataRecorder::m_StandardizeTime
bool m_StandardizeTime
indicates whether one should use the timestamps in NavigationData or create new timestamps upon recor...
Definition: mitkNavigationDataRecorder.h:121
mitk::NavigationDataRecorder
This class records NavigationData objects into NavigationDataSets.
Definition: mitkNavigationDataRecorder.h:34
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::NavigationDataRecorder::m_RecordCountLimit
int m_RecordCountLimit
limits the number of frames, recording will be stopped if the limit is reached. -1 disables the limit
Definition: mitkNavigationDataRecorder.h:125
mitk::NavigationDataSet
Data structure which stores streams of mitk::NavigationData for multiple tools.
Definition: mitkNavigationDataSet.h:29
mitkNavigationDataSet.h
mitkNavigationDataToNavigationDataFilter.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::NavigationDataRecorder::m_NumberOfInputs
unsigned int m_NumberOfInputs
counts the numbers of added input NavigationDatas
Definition: mitkNavigationDataRecorder.h:115
mitk::BaseData::Pointer
itk::SmartPointer< Self > Pointer
Definition: mitkBaseData.h:46