UsTK : Ultrasound ToolKit  version 2.0.1 under development (2024-12-17)

#include <visp3/ustk_gui/us3DSceneSlicing.h>

+ Inheritance diagram for us3DSceneSlicing:

Public Slots

void updateX (int x)
 
void updateY (int y)
 
void updateZ (int z)
 
void updateRotX (int rx)
 
void updateRotY (int ry)
 
void updateRotZ (int rz)
 
virtual void ResetViews ()
 
virtual void Render ()
 
virtual void slotExit ()
 

Public Member Functions

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

Detailed Description

Graphical main window to move a plane in a 3D view using QSliders for origin and normal components.

Definition at line 81 of file us3DSceneSlicing.h.

Constructor & Destructor Documentation

◆ us3DSceneSlicing()

us3DSceneSlicing::us3DSceneSlicing ( std::string  imageFileName)

◆ ~us3DSceneSlicing()

us3DSceneSlicing::~us3DSceneSlicing ( )
inline

Definition at line 87 of file us3DSceneSlicing.h.

Member Function Documentation

◆ Render

void us3DSceneSlicing::Render ( )
virtualslot

Render slot, to recompute all the views.

Definition at line 149 of file us3DSceneSlicing.cpp.

Referenced by ResetViews().

◆ ResetViews

void us3DSceneSlicing::ResetViews ( )
virtualslot

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

Definition at line 144 of file us3DSceneSlicing.cpp.

References Render().

Referenced by us3DSceneSlicing().

◆ resizeEvent()

void us3DSceneSlicing::resizeEvent ( QResizeEvent *  event)

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

Definition at line 220 of file us3DSceneSlicing.cpp.

◆ slotExit

void us3DSceneSlicing::slotExit ( )
virtualslot

Exit slot, to exit the QApplication.

Definition at line 139 of file us3DSceneSlicing.cpp.

◆ updateRotX

void us3DSceneSlicing::updateRotX ( int  x)
slot

Updates X rotation.

Definition at line 274 of file us3DSceneSlicing.cpp.

Referenced by us3DSceneSlicing().

◆ updateRotY

void us3DSceneSlicing::updateRotY ( int  y)
slot

Updates Y rotation.

Definition at line 286 of file us3DSceneSlicing.cpp.

Referenced by us3DSceneSlicing().

◆ updateRotZ

void us3DSceneSlicing::updateRotZ ( int  z)
slot

Updates Y rotation.

Definition at line 298 of file us3DSceneSlicing.cpp.

Referenced by us3DSceneSlicing().

◆ updateX

void us3DSceneSlicing::updateX ( int  x)
slot

Updates X translation.

Definition at line 238 of file us3DSceneSlicing.cpp.

Referenced by us3DSceneSlicing().

◆ updateY

void us3DSceneSlicing::updateY ( int  y)
slot

Updates Y translation.

Definition at line 250 of file us3DSceneSlicing.cpp.

Referenced by us3DSceneSlicing().

◆ updateZ

void us3DSceneSlicing::updateZ ( int  z)
slot

Updates Z translation.

Definition at line 262 of file us3DSceneSlicing.cpp.

Referenced by us3DSceneSlicing().