![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
The popup menu of the Physical Manager data component. More...
#include <PMManagerDCPopup.h>
Inherits camitk::ComponentPopupMenu.
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... | |
| LoadsManager * | myLM |
| 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 | |
| Component * | myComponent |
| the Component concerned by this popup menu More... | |
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)
| PMManagerDCPopup::PMManagerDCPopup | ( | camitk::Component * | dc, |
| QWidget * | parent | ||
| ) |
the popup constructor
References camitk::ComponentPopupMenu::addAction(), camitk::ComponentPopupMenu::addSeparator(), atomDataDisplay(), close, closeLoads(), displayLoads(), edit, editLoads(), fixAtomDataScale, hideAtomData, maxNrOfRecents, camitk::ComponentPopupMenu::myComponent, myLM, nrOfRecents, openLoads(), openReferencePML(), preview, previewLoads(), recentLoadFiles, recentLoads, save, saveAs, saveAsLoads(), saveLoads(), setAtomDataScale(), showAddOnAtomData, showDisplacements, showDistances, showLoads, showRENError, simulation(), and updateRecentLoads().
|
private |
add a recent document to the list
References nrOfRecents, recentLoadFiles, and saveRecentLoads().
Referenced by openLoads().
|
slot |
show one of the atom data display
References LoadsManager::ADD_ON, LoadsManager::DISPLACEMENTS, LoadsManager::DISTANCES, LoadsManager::getReferencePM(), hideAtomData, myLM, LoadsManager::NONE, openReferencePML(), LoadsManager::RELATIVE_ENERGY_NORM_ERROR, LoadsManager::setAtomDataDisplay(), showAddOnAtomData, showDisplacements, showDistances, and showRENError.
Referenced by PMManagerDCPopup().
|
slot |
this slot allows you to close the current impload file
References LoadsManager::close(), myLM, and updateMenuActions().
Referenced by PMManagerDCPopup().
|
slot |
show the loads in 3D
References myLM, LoadsManager::setDisplayLoads(), showLoads, and updateMenuActions().
Referenced by PMManagerDCPopup().
|
slot |
this slot allows you to edit the current list of loads
References LoadsManager::editLoads(), myLM, and updateMenuActions().
Referenced by PMManagerDCPopup().
|
protected |
|
slot |
This slot allows you open a impload file.
References camitk::Component::getFileName(), camitk::ComponentPopupMenu::myComponent, and recentLoadFiles.
Referenced by openRecentLoad(), and PMManagerDCPopup().
|
private |
open a given loads file
References addRecentLoads(), myLM, LoadsManager::open(), LoadsManager::updateLoadsDisplay(), updateMenuActions(), and updateRecentLoads().
|
slot |
|
slot |
open the reference PML file
References camitk::Component::getFileName(), camitk::ComponentPopupMenu::myComponent, myLM, and LoadsManager::setReferencePML().
Referenced by atomDataDisplay(), and PMManagerDCPopup().
|
slot |
this slot allows you to see the preview
References myLM, LoadsManager::previewLoads(), and updateMenuActions().
Referenced by PMManagerDCPopup().
|
slot |
this slot allows you to save the current impload to another file
References camitk::Component::getFileName(), camitk::ComponentPopupMenu::myComponent, myLM, recentLoadFiles, LoadsManager::saveAs(), and updateMenuActions().
Referenced by PMManagerDCPopup().
|
slot |
this slot allows you to save the current impload file
References myLM, LoadsManager::save(), and updateMenuActions().
Referenced by PMManagerDCPopup().
|
private |
save the recent loads file name in the settings
References maxNrOfRecents, and recentLoadFiles.
Referenced by addRecentLoads().
|
slot |
atom data scale min/max can be fixed by the user
References fixAtomDataScale, LoadsManager::getUserConstrainedAtomDataScale(), myLM, LoadsManager::updateAtomDataScale(), and LoadsManager::userConstrainedAtomDataScale().
Referenced by PMManagerDCPopup().
|
slot |
show the simulator widgets
References myLM, and LoadsManager::simulation().
Referenced by PMManagerDCPopup().
| void PMManagerDCPopup::updateMenuActions | ( | ) |
check which menus are possible, and enable them, disable the others
References LoadsManager::ADD_ON, close, LoadsManager::DISPLACEMENTS, LoadsManager::displayLoads(), LoadsManager::DISTANCES, edit, LoadsManager::getAtomDataDisplay(), LoadsManager::getLoads(), hideAtomData, LoadsManager::isModified(), myLM, LoadsManager::NONE, Loads::numberOfLoads(), preview, LoadsManager::RELATIVE_ENERGY_NORM_ERROR, save, saveAs, showAddOnAtomData, showDisplacements, showDistances, showLoads, and showRENError.
Referenced by closeLoads(), displayLoads(), editLoads(), openLoads(), previewLoads(), saveAsLoads(), and saveLoads().
|
private |
update the recent loads popup
References maxNrOfRecents, nrOfRecents, openRecentLoad(), recentLoadFiles, and recentLoads.
Referenced by openLoads(), and PMManagerDCPopup().
|
private |
Referenced by PMManagerDCPopup(), and updateMenuActions().
|
private |
Referenced by PMManagerDCPopup(), and updateMenuActions().
|
private |
Referenced by PMManagerDCPopup(), and setAtomDataScale().
|
private |
Referenced by atomDataDisplay(), PMManagerDCPopup(), and updateMenuActions().
|
private |
max nr of recent loads to keep
Referenced by PMManagerDCPopup(), saveRecentLoads(), and updateRecentLoads().
|
private |
the load manager for this PML
Referenced by atomDataDisplay(), closeLoads(), displayLoads(), editLoads(), openLoads(), openReferencePML(), PMManagerDCPopup(), previewLoads(), saveAsLoads(), saveLoads(), setAtomDataScale(), simulation(), and updateMenuActions().
|
private |
current nr of recent loads kept
Referenced by addRecentLoads(), PMManagerDCPopup(), and updateRecentLoads().
|
private |
Referenced by PMManagerDCPopup(), and updateMenuActions().
|
private |
the recent loads file names
Referenced by addRecentLoads(), openLoads(), PMManagerDCPopup(), saveAsLoads(), saveRecentLoads(), and updateRecentLoads().
|
private |
the recent loads popup
Referenced by PMManagerDCPopup(), and updateRecentLoads().
|
private |
menus id
Referenced by PMManagerDCPopup(), and updateMenuActions().
|
private |
Referenced by PMManagerDCPopup(), and updateMenuActions().
|
private |
Referenced by atomDataDisplay(), PMManagerDCPopup(), and updateMenuActions().
|
private |
Referenced by atomDataDisplay(), PMManagerDCPopup(), and updateMenuActions().
|
private |
Referenced by atomDataDisplay(), PMManagerDCPopup(), and updateMenuActions().
|
private |
Referenced by displayLoads(), PMManagerDCPopup(), and updateMenuActions().
|
private |
Referenced by atomDataDisplay(), PMManagerDCPopup(), and updateMenuActions().
1.8.13