UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-12-17)
|
#include <visp3/ustk_gui/usResliceMatrixViewer.h>
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) |
Graphical main window containing 4 vtk views.
Definition at line 80 of file usResliceMatrixViewer.h.
usResliceMatrixViewer::usResliceMatrixViewer | ( | std::string | imageFileName | ) |
Constructor.
imageFileName | the mhd file to read. |
Definition at line 84 of file usResliceMatrixViewer.cpp.
References usVTKConverter::convert(), us3DSceneWidget::getContour1(), us3DSceneWidget::getContour2(), us3DSceneWidget::getContour3(), us3DSceneWidget::getMeshInPlane1(), us3DSceneWidget::getMeshInPlane2(), us3DSceneWidget::getMeshInPlane3(), getView1Slice(), us2DSceneWidget::init(), us3DSceneWidget::init(), openPostScan3D(), usImageIo::read(), ResetViews(), us2DSceneWidget::setColor(), us2DSceneWidget::setImageData(), us3DSceneWidget::setImageData(), us2DSceneWidget::setPolyDataMeshContour(), us2DSceneWidget::setPolyDataPlaneContour(), us2DSceneWidget::setResliceMatrix(), us3DSceneWidget::updateMatrix1(), us3DSceneWidget::updateMatrix2(), and us3DSceneWidget::updateMatrix3().
|
inline |
Definition at line 86 of file usResliceMatrixViewer.h.
|
slot |
Getter of view 1 current slice.
Definition at line 338 of file usResliceMatrixViewer.cpp.
References us2DSceneWidget::getCurrentSlice(), and usImageIo::write().
Referenced by usResliceMatrixViewer().
|
slot |
Open new image slot.
Definition at line 348 of file usResliceMatrixViewer.cpp.
References usVTKConverter::convert(), us::getDataSetPath(), usImageIo::read(), us2DSceneWidget::updateImageData(), and us3DSceneWidget::updateImageData().
Referenced by usResliceMatrixViewer().
|
virtualslot |
Render slot, to recompute all the views.
Definition at line 249 of file usResliceMatrixViewer.cpp.
Referenced by 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().
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.
|
virtualslot |
Exit slot, to exit the QApplication.
Definition at line 186 of file usResliceMatrixViewer.cpp.