Fraxinus  18.10
An IGT application
cx::VideoConnectionWidget Class Reference

GUI for setting up a connection to a video stream. More...

#include <cxVideoConnectionWidget.h>

Inheritance diagram for cx::VideoConnectionWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 VideoConnectionWidget (VisServicesPtr services, QWidget *parent)
 
virtual ~VideoConnectionWidget ()
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Protected Slots

void toggleConnectServer ()
 
void serverStatusChangedSlot ()
 
void importStreamImageSlot ()
 
void setConnectionMethodAndUpdateGuiForConnectionMethodSlot ()
 
void connectionMethodChangedSlot ()
 
void onServiceAdded (StreamerService *service)
 
void onServiceRemoved (StreamerService *service)
 

Protected Member Functions

StringPropertyActiveVideoSourcePtr initializeActiveVideoSourceSelector ()
 
QFrame * wrapStackedWidgetInAFrame ()
 
QPushButton * initializeConnectButton ()
 
QPushButton * initializeImportStreamImageButton ()
 
QWidget * wrapVerticalStretch (QWidget *input)
 
Transform3D calculate_rMd_ForAProbeImage (ToolPtr probe)
 
QString generateFilename (VideoSourcePtr videoSource)
 
void saveAndImportSnapshot (vtkImageDataPtr input, QString filename, Transform3D rMd)
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

QPushButton * mConnectButton
 
QPushButton * mImportStreamImageButton
 
QVBoxLayout * mToptopLayout
 
QStackedWidget * mStackedWidget
 
StringPropertyPtr mConnectionSelector
 
StringPropertyActiveVideoSourcePtr mActiveVideoSourceSelector
 
XmlOptionFile mOptions
 
DetailedLabeledComboBoxWidgetmConnectionSelectionWidget
 
QFrame * mStackedWidgetFrame
 
VisServicesPtr mServices
 

Additional Inherited Members

- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 

Detailed Description

GUI for setting up a connection to a video stream.

Date
2010.10.27
Author
Christian Askeland, SINTEF
Janne Beate Bakeng, SINTEF

Definition at line 56 of file cxVideoConnectionWidget.h.

Constructor & Destructor Documentation

cx::VideoConnectionWidget::VideoConnectionWidget ( VisServicesPtr  services,
QWidget *  parent 
)

Definition at line 46 of file cxVideoConnectionWidget.cpp.

cx::VideoConnectionWidget::~VideoConnectionWidget ( )
virtual

Definition at line 84 of file cxVideoConnectionWidget.cpp.

Member Function Documentation

Transform3D cx::VideoConnectionWidget::calculate_rMd_ForAProbeImage ( ToolPtr  probe)
protected

Definition at line 300 of file cxVideoConnectionWidget.cpp.

void cx::VideoConnectionWidget::connectionMethodChangedSlot ( )
protectedslot

Definition at line 213 of file cxVideoConnectionWidget.cpp.

QString cx::VideoConnectionWidget::generateFilename ( VideoSourcePtr  videoSource)
protected

Definition at line 311 of file cxVideoConnectionWidget.cpp.

void cx::VideoConnectionWidget::importStreamImageSlot ( )
protectedslot

Definition at line 258 of file cxVideoConnectionWidget.cpp.

StringPropertyActiveVideoSourcePtr cx::VideoConnectionWidget::initializeActiveVideoSourceSelector ( )
protected

Definition at line 167 of file cxVideoConnectionWidget.cpp.

QPushButton * cx::VideoConnectionWidget::initializeConnectButton ( )
protected

Definition at line 229 of file cxVideoConnectionWidget.cpp.

QPushButton * cx::VideoConnectionWidget::initializeImportStreamImageButton ( )
protected

Definition at line 237 of file cxVideoConnectionWidget.cpp.

void cx::VideoConnectionWidget::onServiceAdded ( StreamerService service)
protectedslot

Definition at line 103 of file cxVideoConnectionWidget.cpp.

void cx::VideoConnectionWidget::onServiceRemoved ( StreamerService service)
protectedslot

Definition at line 129 of file cxVideoConnectionWidget.cpp.

void cx::VideoConnectionWidget::saveAndImportSnapshot ( vtkImageDataPtr  input,
QString  filename,
Transform3D  rMd 
)
protected

Definition at line 326 of file cxVideoConnectionWidget.cpp.

void cx::VideoConnectionWidget::serverStatusChangedSlot ( )
protectedslot

Definition at line 247 of file cxVideoConnectionWidget.cpp.

void cx::VideoConnectionWidget::setConnectionMethodAndUpdateGuiForConnectionMethodSlot ( )
protectedslot

Definition at line 196 of file cxVideoConnectionWidget.cpp.

void cx::VideoConnectionWidget::toggleConnectServer ( )
protectedslot

Definition at line 221 of file cxVideoConnectionWidget.cpp.

QFrame * cx::VideoConnectionWidget::wrapStackedWidgetInAFrame ( )
protected

Definition at line 172 of file cxVideoConnectionWidget.cpp.

QWidget * cx::VideoConnectionWidget::wrapVerticalStretch ( QWidget *  input)
protected

Definition at line 184 of file cxVideoConnectionWidget.cpp.

Member Data Documentation

StringPropertyActiveVideoSourcePtr cx::VideoConnectionWidget::mActiveVideoSourceSelector
protected

Definition at line 88 of file cxVideoConnectionWidget.h.

QPushButton* cx::VideoConnectionWidget::mConnectButton
protected

Definition at line 83 of file cxVideoConnectionWidget.h.

DetailedLabeledComboBoxWidget* cx::VideoConnectionWidget::mConnectionSelectionWidget
protected

Definition at line 90 of file cxVideoConnectionWidget.h.

StringPropertyPtr cx::VideoConnectionWidget::mConnectionSelector
protected

Definition at line 87 of file cxVideoConnectionWidget.h.

QPushButton* cx::VideoConnectionWidget::mImportStreamImageButton
protected

Definition at line 84 of file cxVideoConnectionWidget.h.

XmlOptionFile cx::VideoConnectionWidget::mOptions
protected

Definition at line 89 of file cxVideoConnectionWidget.h.

VisServicesPtr cx::VideoConnectionWidget::mServices
protected

Definition at line 93 of file cxVideoConnectionWidget.h.

QStackedWidget* cx::VideoConnectionWidget::mStackedWidget
protected

Definition at line 86 of file cxVideoConnectionWidget.h.

QFrame* cx::VideoConnectionWidget::mStackedWidgetFrame
protected

Definition at line 91 of file cxVideoConnectionWidget.h.

QVBoxLayout* cx::VideoConnectionWidget::mToptopLayout
protected

Definition at line 85 of file cxVideoConnectionWidget.h.


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