26 #include <qfiledialog.h>
27 #include <qinputdialog.h>
28 #include <qmessagebox.h>
29 #include <qscrollbar.h>
32 #include <igtlStringMessage.h>
33 #include <igtlBindMessage.h>
34 #include <igtlQuaternionTrackingDataMessage.h>
35 #include <igtlTrackingDataMessage.h>
41 "org.mitk.views.igtldevicesourcemanagementwidget";
83 int ms = 1.0 / (double)fps * 1000;
virtual bool IsDataValid() const
returns true if the object contains valid data
itk::SmartPointer< Self > Pointer
~QmitkIGTLStreamingConnector()
void Initialize(mitk::IGTLMessageSource::Pointer msgSource, mitk::IGTLMessageProvider::Pointer msgProvider)
Sets the message source that is the end of the pipeline and the message provider which will send the ...
void OnUpdateSource()
updates the message source and sends the latest output to the provider
static const std::string VIEW_ID
A wrapper for the OpenIGTLink message type.
mitk::IGTLMessageProvider::Pointer m_IGTLMessageProvider
holds the message provider that will send the stream data from the source
mitk::IGTLMessageSource::Pointer m_IGTLMessageSource
holds the message source that has to stream its data
static const unsigned int MILISECONDS_BETWEEN_FPS_CHECK
QTimer m_CheckFPSTimer
Everytime this timer is fired the fps of the message source are checked and the streaming is started ...
void OnCheckFPS()
checks the fps of the message source, if it is unequal 0 the streaming is started.
QmitkIGTLStreamingConnector(QObject *parent=0)
QTimer m_StreamingTimer
the timer that is configured depending on the fps, if it is fired the pipeline is updated and the IGT...