![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
The popup menu of the multi component data component. More...
#include <MultiComponentDCPopup.h>
Inherits camitk::ComponentPopupMenu.
Public Slots | |
void | addNewMultiComponent () |
This slot allows you to create a new multi component inside this one. More... | |
void | addNewStructuralComponent () |
This slot allows you to create a new structural component inside this one. More... | |
Public Member Functions | |
MultiComponentDCPopup (camitk::Component *, QWidget *) | |
![]() | |
ComponentPopupMenu (Component *, QWidget *) | |
default constructor More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
Component * | myComponent |
the Component concerned by this popup menu More... | |
The popup menu of the multi component data component.
Allows one to do different things directly from the DC popup.
MultiComponentDCPopup::MultiComponentDCPopup | ( | camitk::Component * | dc, |
QWidget * | parent | ||
) |
|
slot |
This slot allows you to create a new multi component inside this one.
References MultiComponent::addSubComponent(), Component::getPhysicalModel(), Component::isExclusive(), camitk::ComponentPopupMenu::myComponent, camitk::Component::refresh(), Component::setExclusive(), and camitk::Component::setModified().
Referenced by MultiComponentDCPopup().
|
slot |
This slot allows you to create a new structural component inside this one.
References MultiComponent::addSubComponent(), Component::getPhysicalModel(), Component::isExclusive(), camitk::ComponentPopupMenu::myComponent, camitk::Component::refresh(), Component::setExclusive(), StructuralComponent::setMode(), camitk::Component::setModified(), and RenderingMode::SURFACE.
Referenced by MultiComponentDCPopup().