13#ifndef mitkNavigationDataRecorderDeprecated_h
14#define mitkNavigationDataRecorderDeprecated_h
16#include <itkProcessObject.h>
18#include "MitkIGTExports.h"
122 void SetAdditionalAttribute(
const NavigationData* nd,
const std::string& attributeName
123 ,
const std::string& attributeValue );
134 void StartRecording();
142 void StartRecording(std::ostream* stream);
147 void StopRecording();
153 void Update()
override;
173 void GenerateData()
override;
This class records NavigationData objects.
itkSetMacro(DoNotOverwriteFiles, bool)
If true the recorder will never overwrite a file.
mitkClassMacroItkParent(NavigationDataRecorderDeprecated, itk::ProcessObject)
bool m_StreamMustBeDeleted
bool m_Recording
indicates whether the recording is started or not
int m_RecordCounter
counts the number of frames which are recorded since StartRecording
std::map< const mitk::NavigationData *, std::pair< std::string, std::string > > m_AdditionalAttributes
bool m_DoNotOverwriteFiles
do not overwrite any files if true
itkGetStringMacro(FileName)
Returns the file name of the recording file (in OutputMode NormalFile and ZipFile)
unsigned int m_NumberOfInputs
counts the numbers of added input NavigationDatas
itkSetMacro(OutputFormat, mitk::NavigationDataRecorderDeprecated::OutputFormatEnum)
Sets the output format which causes different formats of output streams. The XML format is default....
mitk::RealTimeClock::Pointer m_SystemTimeClock
system time clock for system time tag in output xml file
OutputFormatEnum
Determines the output format.
itkGetMacro(Recording, bool)
Returns whether the NavigationDataRecorderDeprecated is recording or not.
itkSetMacro(RecordCountLimit, int)
Sets a limit of recorded data sets / frames. Recording will be stopped if the number is reached....
itkGetMacro(RecordingMode, RecordingMode)
Returns the recording mode.
std::string m_FileName
stores the file name and path
unsigned int m_NumberOfRecordedFiles
necessary for the naming of the file if there is more than one start-stop cycle
itkGetMacro(RecordCounter, int)
Returns the number of data sets / frames which were recorded by the NavigationDataRecorderDeprecated ...
RecordingMode m_RecordingMode
stores the mode see enum RecordingMode
std::ostream * m_Stream
the output stream
int m_RecordCountLimit
limits the number of frames, recording will be stopped if the limit is reached. -1 disables the limit
RecordingMode
Determines where the output is directed to.
itkSetStringMacro(FileName)
sets the file name for the OutputMode NormalFile and ZipFile
OutputFormatEnum m_OutputFormat
stores the output format; see enum OutputFormat