UsTK : Ultrasound ToolKit  version 2.0.1 under development (2024-11-21)

#include <visp3/ustk_gui/usResliceMatrixViewer.h>

+ Inheritance diagram for usResliceMatrixViewer:

Public Slots

virtual void ResetViews ()
 
virtual void Render ()
 
virtual void slotExit ()
 
void getView1Slice ()
 
void openPostScan3D ()
 

Public Member Functions

 usResliceMatrixViewer (std::string imageFileName)
 
 ~usResliceMatrixViewer ()
 
void resizeEvent (QResizeEvent *event)
 

Detailed Description

Graphical main window containing 4 vtk views.

Definition at line 80 of file usResliceMatrixViewer.h.

Constructor & Destructor Documentation

◆ usResliceMatrixViewer()

◆ ~usResliceMatrixViewer()

usResliceMatrixViewer::~usResliceMatrixViewer ( )
inline

Definition at line 86 of file usResliceMatrixViewer.h.

Member Function Documentation

◆ getView1Slice

void usResliceMatrixViewer::getView1Slice ( )
slot

Getter of view 1 current slice.

Definition at line 338 of file usResliceMatrixViewer.cpp.

References us2DSceneWidget::getCurrentSlice(), and usImageIo::write().

Referenced by usResliceMatrixViewer().

◆ openPostScan3D

void usResliceMatrixViewer::openPostScan3D ( )
slot

◆ Render

void usResliceMatrixViewer::Render ( )
virtualslot

Render slot, to recompute all the views.

Definition at line 249 of file usResliceMatrixViewer.cpp.

Referenced by ResetViews().

◆ ResetViews

void usResliceMatrixViewer::ResetViews ( )
virtualslot

Reset views slot : reset the planes positions at the middle of the volume.

Definition at line 191 of file usResliceMatrixViewer.cpp.

References usVTKConverter::convert(), Render(), us2DSceneWidget::setResliceMatrix(), us3DSceneWidget::updateMatrix1(), us3DSceneWidget::updateMatrix2(), and us3DSceneWidget::updateMatrix3().

Referenced by usResliceMatrixViewer().

◆ resizeEvent()

void usResliceMatrixViewer::resizeEvent ( QResizeEvent *  event)

Get the resize event of the window, to re-comute size and positions of all widgets/layouts.

Definition at line 321 of file usResliceMatrixViewer.cpp.

◆ slotExit

void usResliceMatrixViewer::slotExit ( )
virtualslot

Exit slot, to exit the QApplication.

Definition at line 186 of file usResliceMatrixViewer.cpp.