13#ifndef QmitkToFUtilView_h
14#define QmitkToFUtilView_h
16#include <QmitkAbstractView.h>
17#include <berryIWorkbenchPartReference.h>
18#include <mitkIZombieViewPart.h>
21#include <ui_QmitkToFUtilViewControls.h>
28#include <mitkSurface.h>
153 mitk::DataNode::Pointer ReplaceNodeData(std::string nodeName, mitk::BaseData* data);
155 void ProcessVideoTransform();
160 void ResetGUIToDefault();
static const std::string VIEW_ID
bool m_Framerateoutput
defines if the framerate is computed condinously
void OnChangeCoronalWindowOutput(int index)
Slot invoked when user alters the coronal window input from RGB to Intensity or vice versa.
void UseToFVisibilitySettings(bool useToF)
initialize the visibility settings of ToF data (images + surface)
mitk::DataNode::Pointer m_RGBImageNode
DataNode holding the rgb image of the selected camera.
void OnToFCameraConnected()
Slot called when the "Connect" button of the ConnectionWidget is pressed.
void OnToFCameraStarted()
Slot called when the "Start" button of the RecorderWidget is pressed.
mitk::ToFImageGrabber::Pointer m_ToFImageGrabber
Source of a ToF image processing pipeline. Provides pointers to distance, amplitude and intensity ima...
mitk::ToFDistanceImageToSurfaceFilter::Pointer m_ToFDistanceImageToSurfaceFilter
Filter for calculating a surface representation from a given distance image.
mitk::DataNode::Pointer m_DistanceImageNode
DataNode holding the distance image of the selected camera.
mitk::Image::Pointer m_MitkIntensityImage
member holding a pointer to the intensity image of the selected camera
void Deactivated() override
mitk::Image::Pointer m_MitkDistanceImage
member holding a pointer to the distance image of the selected camera
void OnUpdateCamera()
Slot triggered from the timer to update the images and visualization.
mitk::ToFImageRecorder::Pointer m_ToFImageRecorder
ToF image recorder used for lossless recording of ToF image data.
int m_StepsForFramerate
number of steps used for calculating the display framerate
mitk::RealTimeClock::Pointer m_RealTimeClock
real time clock used to calculate the display framerate
QString m_SelectedCamera
String holding the selected camera.
double m_2DTimeAfter
holds the time stamp at the end of the display framerate measurement
Ui::QmitkToFUtilViewControls * m_Controls
void OnToFCameraStopped()
Slot called when the "Stop" button of the RecorderWidget is pressed.
~QmitkToFUtilView() override
void OnToFCameraDisconnected()
Slot called when the "Disconnect" button of the ConnectionWidget is pressed.
mitk::Image::Pointer m_MitkAmplitudeImage
member holding a pointer to the amplitude image of the selected camera
void OnKinectAcquisitionModeChanged()
Slot invoked when acquisition mode of Kinect is changed.
mitk::ToFCompositeFilter::Pointer m_ToFCompositeFilter
Filter combining several processing steps (thresholding, Median filtering, Bilateral filtering)
int m_2DDisplayCount
member used to determine whether frame rate output should be shown
void CreateQtPartControl(QWidget *parent) override
mitk::DataNode::Pointer m_IntensityImageNode
DataNode holding the intensity image of the selected camera.
QTimer * m_Frametimer
Timer used to continuously update the images.
mitk::Surface::Pointer m_Surface
member holding a pointer to the surface generated from the distance image of the selected camera
double m_2DTimeBefore
holds the time stamp at the beginning of the display framerate measurement
void Activated() override
Called when the view gets activated.
void ActivatedZombieView(berry::IWorkbenchPartReference::Pointer zombieView) override
Called when the view gets deactivated. In this case the zombie view of this view becomes active!
mitk::CameraIntrinsics::Pointer m_CameraIntrinsics
member holding the intrinsic parameters of the camera
mitk::DataNode::Pointer m_AmplitudeImageNode
DataNode holding the amplitude image of the selected camera.
mitk::DataNode::Pointer m_SurfaceNode
DataNode holding the surface generated from the distanc image of the selected camera.