27 #ifndef MMLCOMPONENT_H
28 #define MMLCOMPONENT_H
30 #include <camitkcore/Component.h>
MMLComponentPopup * myPopupMenu
the popup menu
Definition: MMLComponent.h:109
The manager of the physical model data.
Definition: PMManagerDC.h:97
virtual QMenu * getPopupMenu(QWidget *parent)
Overriden method so that we actually can build a popup menu with different actions.
Exception class to handle abortion in component instanciation.
Definition: AbortException.h:44
bool save()
save the current mml in the current file name.
TODO Describe the class here.
Definition: MMLDisplay.h:45
MMLComponent(const QString &)
Default constructor: give it the name of the file containing the data (.mml file) ...
void setDockVisible(bool visible)
show or hide mmlDock
This class manage an MML monitoring document ".mml".
Definition: MMLComponent.h:47
A GUI to manipulate mml documents.
Definition: MonitoringGuiManager.h:43
void initRepresentation()
Instanciate the concrete representation (either InterfaceGeometry or InterfaceBitMap) if needed...
Definition: MMLComponent.h:66
QString exportedMml
when a .scn is loaded, name of the automatically exported mml file (empty string otherwise) ...
Definition: MMLComponent.h:106
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:292
void saveMML()
save the mml in the current filename (and the pml if needed)
MMLDisplay * getDisplay()
get the display
PMManagerDC * pmMgr
physical model manager
Definition: MMLComponent.h:100
MonitoringGuiManager * mmlGUI
the mml GUI class is used directly
Definition: MMLComponent.h:94
QDockWidget * mmlDock
to put the mmlGUI
Definition: MMLComponent.h:97
virtual bool getModified() const
check if the mml or pml were modified in the UI
bool isDockVisible()
return true if mmlDock is visible
PMManagerDC * getPMManager()
get Physical model manager
virtual ~MMLComponent()
destructor
MonitoringGuiManager * getMonitoringGuiManager()
get MonitoringGuiManager
void connectPml()
connect pml
MMLDisplay * display
display manager
Definition: MMLComponent.h:103