Computer Assisted Medical Intervention Tool Kit  version 5.2
 
Loading...
Searching...
No Matches
PMLExplorerWidget Class Reference

This class is the Pml explore action widget presented/controller. More...

#include <PMLExplorerWidget.h>

Public Slots

void createNewProperty ()
 called when the user click on new in the object controller
 
void propertyChanged ()
 called when the user click on apply in the object controller
 
void showAtomGlyphToggled (bool)
 This slot is connected to the corresponding UI Checkbox, update the showAtomGlyph state.
 

Public Member Functions

 PMLExplorerWidget (PMLComponent *comp)
 Constructor.
 
void updateTarget (PMLComponent *comp)
 Update the widget content as the input selected component changed.
 
 ~PMLExplorerWidget () override
 Destructor.
 

Detailed Description

This class is the Pml explore action widget presented/controller.

It allows to map the graphical treeview widget from the pml object.

Considering the MVP pattern:

  • M = the PMLComponent and the PhysicalModel instances it encapsulates
  • V = the Qt Widget build using Qt Designer (ui_pmlExploreWidget)
  • P = this class, it uses the data in the PMLComponent/PhysicalModel to build the GUI representation (update the widget) and use the user feedback to modify the PMLComponent/PhysicalModel.

Constructor & Destructor Documentation

◆ PMLExplorerWidget()

PMLExplorerWidget::PMLExplorerWidget ( PMLComponent comp)

◆ ~PMLExplorerWidget()

PMLExplorerWidget::~PMLExplorerWidget ( )
override

Destructor.

Member Function Documentation

◆ createNewProperty

void PMLExplorerWidget::createNewProperty ( )
slot

called when the user click on new in the object controller

References a, CamiTKPropertyList::addProperty(), camitk::Component::addProperty(), and camitk::ObjectController::setObject().

Referenced by PMLExplorerWidget().

◆ propertyChanged

◆ showAtomGlyphToggled

void PMLExplorerWidget::showAtomGlyphToggled ( bool  checkBoxState)
slot

This slot is connected to the corresponding UI Checkbox, update the showAtomGlyph state.

Referenced by PMLExplorerWidget().

◆ updateTarget()

void PMLExplorerWidget::updateTarget ( PMLComponent comp)

Update the widget content as the input selected component changed.

References camitk::ObjectController::setObject().

Referenced by PMLExplorerAction::getWidget().


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