Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkIGTLoggerWidget Class Reference

GUI to access the IGT recorder. User can specify the file name where the output shall be stored and how long the recording shall be performed. More...

#include <QmitkIGTLoggerWidget.h>

Inheritance diagram for QmitkIGTLoggerWidget:
Collaboration diagram for QmitkIGTLoggerWidget:

Signals

void SignalRecordingStarted ()
 
void SignalRecordingStopped ()
 

Public Member Functions

 QmitkIGTLoggerWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~QmitkIGTLoggerWidget ()
 
void SetDataStorage (mitk::DataStorage *dataStorage)
 
void SetRecorder (mitk::NavigationDataRecorder::Pointer recorder)
 

Static Public Attributes

static const std::string VIEW_ID
 

Protected Slots

void OnChangePressed ()
 
void OnStartRecording (bool recording)
 
void OnRecording ()
 
void UpdateRecordingTime ()
 
void StopRecording ()
 
void UpdateOutputFileName ()
 

Protected Member Functions

virtual void CreateConnections ()
 Creation of the connections. More...
 
virtual void CreateQtPartControl (QWidget *parent)
 
void SetDefaultRecordingSettings ()
 
void SetOutputFileName ()
 

Protected Attributes

Ui::QmitkIGTLoggerWidgetControls * m_Controls
 
mitk::DataStorage::Pointer m_DataStorage
 holds the DataStorage More...
 
mitk::NavigationDataRecorder::Pointer m_Recorder
 records NDs to a XML file More...
 
QString m_CmpFilename
 
QString m_Dir
 
QTimer * m_RecordingTimer
 
QString m_MilliSeconds
 
QString m_Samples
 
bool m_RecordingActivated
 

Detailed Description

GUI to access the IGT recorder. User can specify the file name where the output shall be stored and how long the recording shall be performed.

Documentation:

Definition at line 40 of file QmitkIGTLoggerWidget.h.

Constructor & Destructor Documentation

QmitkIGTLoggerWidget::QmitkIGTLoggerWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
QmitkIGTLoggerWidget::~QmitkIGTLoggerWidget ( )

Definition at line 54 of file QmitkIGTLoggerWidget.cpp.

References m_Recorder, and m_RecordingTimer.

Member Function Documentation

void QmitkIGTLoggerWidget::CreateConnections ( )
protectedvirtual
void QmitkIGTLoggerWidget::CreateQtPartControl ( QWidget *  parent)
protectedvirtual

Definition at line 61 of file QmitkIGTLoggerWidget.cpp.

References m_Controls, and m_RecordingTimer.

Referenced by QmitkIGTLoggerWidget().

void QmitkIGTLoggerWidget::OnChangePressed ( )
protectedslot

Definition at line 197 of file QmitkIGTLoggerWidget.cpp.

References m_CmpFilename, and m_Controls.

Referenced by CreateConnections().

void QmitkIGTLoggerWidget::OnRecording ( )
protectedslot

Definition at line 181 of file QmitkIGTLoggerWidget.cpp.

References m_Controls, m_Recorder, m_Samples, and StopRecording().

Referenced by CreateConnections().

void QmitkIGTLoggerWidget::OnStartRecording ( bool  recording)
protectedslot
void QmitkIGTLoggerWidget::SetDataStorage ( mitk::DataStorage dataStorage)

Definition at line 87 of file QmitkIGTLoggerWidget.cpp.

References m_DataStorage.

void QmitkIGTLoggerWidget::SetDefaultRecordingSettings ( )
protected

Definition at line 279 of file QmitkIGTLoggerWidget.cpp.

References m_Controls, m_MilliSeconds, and m_Samples.

Referenced by QmitkIGTLoggerWidget(), and UpdateRecordingTime().

void QmitkIGTLoggerWidget::SetOutputFileName ( )
protected

Definition at line 287 of file QmitkIGTLoggerWidget.cpp.

References filename, m_CmpFilename, and m_Controls.

Referenced by QmitkIGTLoggerWidget().

void QmitkIGTLoggerWidget::SetRecorder ( mitk::NavigationDataRecorder::Pointer  recorder)

Definition at line 224 of file QmitkIGTLoggerWidget.cpp.

References m_Recorder.

void QmitkIGTLoggerWidget::SignalRecordingStarted ( )
signal

Referenced by OnStartRecording().

void QmitkIGTLoggerWidget::SignalRecordingStopped ( )
signal

Referenced by StopRecording().

void QmitkIGTLoggerWidget::UpdateOutputFileName ( )
protectedslot

Definition at line 211 of file QmitkIGTLoggerWidget.cpp.

References m_CmpFilename, and m_Controls.

Referenced by CreateConnections().

void QmitkIGTLoggerWidget::UpdateRecordingTime ( )
protectedslot

Member Data Documentation

QString QmitkIGTLoggerWidget::m_CmpFilename
protected
mitk::DataStorage::Pointer QmitkIGTLoggerWidget::m_DataStorage
protected

holds the DataStorage

Definition at line 79 of file QmitkIGTLoggerWidget.h.

Referenced by SetDataStorage().

QString QmitkIGTLoggerWidget::m_Dir
protected

Definition at line 84 of file QmitkIGTLoggerWidget.h.

QString QmitkIGTLoggerWidget::m_MilliSeconds
protected

Definition at line 86 of file QmitkIGTLoggerWidget.h.

Referenced by SetDefaultRecordingSettings(), and UpdateRecordingTime().

mitk::NavigationDataRecorder::Pointer QmitkIGTLoggerWidget::m_Recorder
protected

records NDs to a XML file

Definition at line 81 of file QmitkIGTLoggerWidget.h.

Referenced by OnRecording(), OnStartRecording(), SetRecorder(), StopRecording(), and ~QmitkIGTLoggerWidget().

bool QmitkIGTLoggerWidget::m_RecordingActivated
protected

Definition at line 88 of file QmitkIGTLoggerWidget.h.

Referenced by OnStartRecording(), and StopRecording().

QTimer* QmitkIGTLoggerWidget::m_RecordingTimer
protected
QString QmitkIGTLoggerWidget::m_Samples
protected
const std::string QmitkIGTLoggerWidget::VIEW_ID
static

Definition at line 45 of file QmitkIGTLoggerWidget.h.


The documentation for this class was generated from the following files: