Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
PMManagerDCPopup Class Reference

The popup menu of the Physical Manager data component. More...

#include <PMManagerDCPopup.h>

+ Inheritance diagram for PMManagerDCPopup:

Public Slots

void atomDataDisplay (QAction *)
 show one of the atom data display More...
 
void closeLoads ()
 this slot allows you to close the current impload file More...
 
void displayLoads ()
 show the loads in 3D More...
 
void editLoads ()
 this slot allows you to edit the current list of loads More...
 
void openLoads ()
 This slot allows you open a impload file. More...
 
void openRecentLoad ()
 to manage the clic on a recent load More...
 
void openReferencePML ()
 open the reference PML file More...
 
void previewLoads ()
 this slot allows you to see the preview More...
 
void saveAsLoads ()
 this slot allows you to save the current impload to another file More...
 
void saveLoads ()
 this slot allows you to save the current impload file More...
 
void setAtomDataScale ()
 atom data scale min/max can be fixed by the user More...
 
void simulation ()
 show the simulator widgets More...
 

Public Member Functions

 PMManagerDCPopup (camitk::Component *, QWidget *)
 the popup constructor More...
 
void updateMenuActions ()
 check which menus are possible, and enable them, disable the others More...
 
- Public Member Functions inherited from camitk::ComponentPopupMenu
 ComponentPopupMenu (Component *, QWidget *)
 default constructor More...
 

Protected Member Functions

void getSettings ()
 
- Protected Member Functions inherited from camitk::ComponentPopupMenu
QAction * addAction (const QString name, const char *member, bool isCheckable=true)
 Add a new item to the popup menu) More...
 
QAction * addSeparator ()
 insert a menu separator and return the corresponding action More...
 

Private Member Functions

void addRecentLoads (QString)
 add a recent document to the list More...
 
void openLoads (QString)
 open a given loads file More...
 
void saveRecentLoads ()
 save the recent loads file name in the settings More...
 
void updateRecentLoads ()
 update the recent loads popup More...
 

Private Attributes

QAction * close
 
QAction * edit
 
QAction * fixAtomDataScale
 
QAction * hideAtomData
 
unsigned int maxNrOfRecents
 max nr of recent loads to keep More...
 
LoadsManagermyLM
 the load manager for this PML More...
 
unsigned int nrOfRecents
 current nr of recent loads kept More...
 
QAction * preview
 
QStringList recentLoadFiles
 the recent loads file names More...
 
QMenu * recentLoads
 the recent loads popup More...
 
QAction * save
 menus id More...
 
QAction * saveAs
 
QAction * showAddOnAtomData
 
QAction * showDisplacements
 
QAction * showDistances
 
QAction * showLoads
 
QAction * showRENError
 

Additional Inherited Members

- Protected Attributes inherited from camitk::ComponentPopupMenu
ComponentmyComponent
 the Component concerned by this popup menu More...
 

Detailed Description

The popup menu of the Physical Manager data component.

Allows one to do different things directly from the DC popup (right-clic on the object or action menu when the physical model is selected)

Constructor & Destructor Documentation

PMManagerDCPopup::PMManagerDCPopup ( camitk::Component ,
QWidget *   
)

the popup constructor

Member Function Documentation

void PMManagerDCPopup::addRecentLoads ( QString  )
private

add a recent document to the list

void PMManagerDCPopup::atomDataDisplay ( QAction *  )
slot

show one of the atom data display

void PMManagerDCPopup::closeLoads ( )
slot

this slot allows you to close the current impload file

void PMManagerDCPopup::displayLoads ( )
slot

show the loads in 3D

void PMManagerDCPopup::editLoads ( )
slot

this slot allows you to edit the current list of loads

void PMManagerDCPopup::getSettings ( )
protected
void PMManagerDCPopup::openLoads ( )
slot

This slot allows you open a impload file.

void PMManagerDCPopup::openLoads ( QString  )
private

open a given loads file

void PMManagerDCPopup::openRecentLoad ( )
slot

to manage the clic on a recent load

void PMManagerDCPopup::openReferencePML ( )
slot

open the reference PML file

void PMManagerDCPopup::previewLoads ( )
slot

this slot allows you to see the preview

void PMManagerDCPopup::saveAsLoads ( )
slot

this slot allows you to save the current impload to another file

void PMManagerDCPopup::saveLoads ( )
slot

this slot allows you to save the current impload file

void PMManagerDCPopup::saveRecentLoads ( )
private

save the recent loads file name in the settings

void PMManagerDCPopup::setAtomDataScale ( )
slot

atom data scale min/max can be fixed by the user

void PMManagerDCPopup::simulation ( )
slot

show the simulator widgets

void PMManagerDCPopup::updateMenuActions ( )

check which menus are possible, and enable them, disable the others

void PMManagerDCPopup::updateRecentLoads ( )
private

update the recent loads popup

Member Data Documentation

QAction * PMManagerDCPopup::close
private
QAction * PMManagerDCPopup::edit
private
QAction * PMManagerDCPopup::fixAtomDataScale
private
QAction * PMManagerDCPopup::hideAtomData
private
unsigned int PMManagerDCPopup::maxNrOfRecents
private

max nr of recent loads to keep

LoadsManager* PMManagerDCPopup::myLM
private

the load manager for this PML

unsigned int PMManagerDCPopup::nrOfRecents
private

current nr of recent loads kept

QAction * PMManagerDCPopup::preview
private
QStringList PMManagerDCPopup::recentLoadFiles
private

the recent loads file names

QMenu* PMManagerDCPopup::recentLoads
private

the recent loads popup

QAction* PMManagerDCPopup::save
private

menus id

QAction * PMManagerDCPopup::saveAs
private
QAction * PMManagerDCPopup::showAddOnAtomData
private
QAction * PMManagerDCPopup::showDisplacements
private
QAction * PMManagerDCPopup::showDistances
private
QAction * PMManagerDCPopup::showLoads
private
QAction * PMManagerDCPopup::showRENError
private

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