NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::VBWidget Class Reference

#include <cxVBWidget.h>

Inheritance diagram for cx::VBWidget:

Signals

void cameraPathChanged (MeshPtr pathMesh)
 
void cameraAtEndPosition ()
 

Public Member Functions

 VBWidget (VisServicesPtr services, QWidget *parent=0)
 
virtual ~VBWidget ()
 
void setRouteToTarget (QString uid)
 
void setRoutePositions (std::vector< Eigen::Vector3d > routePositions)
 
void setCameraRotationAlongRoute (std::vector< double > cameraRotations)
 
void setBranchingIndexAlongRoute (std::vector< int > branchingIndex)
 
void setRecordVideoOption (bool recordVideo)
 

Protected Slots

virtual void keyPressEvent (QKeyEvent *event)
 
void playButtonClickedSlot ()
 

Protected Member Functions

QString defaultWhatsThis () const
 
void enableControls (bool enable)
 
QFileInfo startRecordFullscreen ()
 
void stopRecordFullscreen ()
 

Protected Attributes

VisServicesPtr mServices
 
QVBoxLayout * mVerticalLayout
 
QSlider * mPlaybackSlider
 
QPushButton * mPlayButton
 
QTimer * mTimer
 
QDial * mRotateDial
 
QDial * mViewDial
 
QPushButton * mResetEndoscopeButton
 
QPushButton * mUseAutomaticRotationButton
 
QPalette mAutomaticRotationButtonBackgroundColor
 
StringPropertySelectMeshPtr mRouteToTarget
 
CXVBcameraPathmCameraPath
 
bool mControlsEnabled
 
bool mAutomaticRotation
 
bool mRecordVideo
 
PatientStoragePtr mStorage
 

Detailed Description

Widget for Virtual Bronchoscopy

Date
Aug 27, 2015
Author
Geir Arne Tangen, SINTEF

Definition at line 44 of file cxVBWidget.h.

Constructor & Destructor Documentation

◆ VBWidget()

cx::VBWidget::VBWidget ( VisServicesPtr  services,
QWidget *  parent = 0 
)

Definition at line 42 of file cxVBWidget.cpp.

◆ ~VBWidget()

cx::VBWidget::~VBWidget ( )
virtual

Definition at line 138 of file cxVBWidget.cpp.

Member Function Documentation

◆ cameraAtEndPosition

void cx::VBWidget::cameraAtEndPosition ( )
signal

◆ cameraPathChanged

void cx::VBWidget::cameraPathChanged ( MeshPtr  pathMesh)
signal

◆ defaultWhatsThis()

QString cx::VBWidget::defaultWhatsThis ( ) const
protected

Definition at line 338 of file cxVBWidget.cpp.

◆ enableControls()

void cx::VBWidget::enableControls ( bool  enable)
protected

Definition at line 192 of file cxVBWidget.cpp.

◆ keyPressEvent

void cx::VBWidget::keyPressEvent ( QKeyEvent *  event)
protectedvirtualslot

Definition at line 206 of file cxVBWidget.cpp.

◆ playButtonClickedSlot

void cx::VBWidget::playButtonClickedSlot ( )
protectedslot

Definition at line 274 of file cxVBWidget.cpp.

◆ setBranchingIndexAlongRoute()

void cx::VBWidget::setBranchingIndexAlongRoute ( std::vector< int >  branchingIndex)

Definition at line 166 of file cxVBWidget.cpp.

◆ setCameraRotationAlongRoute()

void cx::VBWidget::setCameraRotationAlongRoute ( std::vector< double >  cameraRotations)

Definition at line 161 of file cxVBWidget.cpp.

◆ setRecordVideoOption()

void cx::VBWidget::setRecordVideoOption ( bool  recordVideo)

Definition at line 171 of file cxVBWidget.cpp.

◆ setRoutePositions()

void cx::VBWidget::setRoutePositions ( std::vector< Eigen::Vector3d >  routePositions)

Definition at line 156 of file cxVBWidget.cpp.

◆ setRouteToTarget()

void cx::VBWidget::setRouteToTarget ( QString  uid)

Definition at line 143 of file cxVBWidget.cpp.

◆ startRecordFullscreen()

QFileInfo cx::VBWidget::startRecordFullscreen ( )
protected

Definition at line 176 of file cxVBWidget.cpp.

◆ stopRecordFullscreen()

void cx::VBWidget::stopRecordFullscreen ( )
protected

Definition at line 185 of file cxVBWidget.cpp.

Member Data Documentation

◆ mAutomaticRotation

bool cx::VBWidget::mAutomaticRotation
protected

Definition at line 72 of file cxVBWidget.h.

◆ mAutomaticRotationButtonBackgroundColor

QPalette cx::VBWidget::mAutomaticRotationButtonBackgroundColor
protected

Definition at line 67 of file cxVBWidget.h.

◆ mCameraPath

CXVBcameraPath* cx::VBWidget::mCameraPath
protected

Definition at line 70 of file cxVBWidget.h.

◆ mControlsEnabled

bool cx::VBWidget::mControlsEnabled
protected

Definition at line 71 of file cxVBWidget.h.

◆ mPlaybackSlider

QSlider* cx::VBWidget::mPlaybackSlider
protected

Definition at line 60 of file cxVBWidget.h.

◆ mPlayButton

QPushButton* cx::VBWidget::mPlayButton
protected

Definition at line 61 of file cxVBWidget.h.

◆ mRecordVideo

bool cx::VBWidget::mRecordVideo
protected

Definition at line 73 of file cxVBWidget.h.

◆ mResetEndoscopeButton

QPushButton* cx::VBWidget::mResetEndoscopeButton
protected

Definition at line 65 of file cxVBWidget.h.

◆ mRotateDial

QDial* cx::VBWidget::mRotateDial
protected

Definition at line 63 of file cxVBWidget.h.

◆ mRouteToTarget

StringPropertySelectMeshPtr cx::VBWidget::mRouteToTarget
protected

Definition at line 69 of file cxVBWidget.h.

◆ mServices

VisServicesPtr cx::VBWidget::mServices
protected

Definition at line 58 of file cxVBWidget.h.

◆ mStorage

PatientStoragePtr cx::VBWidget::mStorage
protected

Definition at line 79 of file cxVBWidget.h.

◆ mTimer

QTimer* cx::VBWidget::mTimer
protected

Definition at line 62 of file cxVBWidget.h.

◆ mUseAutomaticRotationButton

QPushButton* cx::VBWidget::mUseAutomaticRotationButton
protected

Definition at line 66 of file cxVBWidget.h.

◆ mVerticalLayout

QVBoxLayout* cx::VBWidget::mVerticalLayout
protected

Definition at line 59 of file cxVBWidget.h.

◆ mViewDial

QDial* cx::VBWidget::mViewDial
protected

Definition at line 64 of file cxVBWidget.h.


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