54 virtual bool event(QEvent* e);
66 bool computeBoundsOfSelection(
PMLComponent* comp, QString selectionName,
double bounds[6]);
69 void computeBoundsOfPointIds(
PMLComponent* comp, vtkSmartPointer<vtkIdTypeArray> selectedIds,
double bounds[6]);
72 void computeBoundsOfCellIds(
PMLComponent* comp, vtkSmartPointer<vtkIdTypeArray> selectedIds,
double bounds[6]);
75 void mergeBounds(
double bounds1[6],
double bounds2[6]);
Action to generate MML/Sofa scn from a vtk mesh.
Definition: CreateSC.h:41
virtual ~CreateSC()=default
the destructor
virtual bool event(QEvent *e)
intercept signal for dynamic property changed
Definition: CreateSC.cpp:62
virtual camitk::Action::ApplyStatus apply()
method applied when the action is called
Definition: CreateSC.cpp:270
CreateSC(camitk::ActionExtension *)
the constructor
Definition: CreateSC.cpp:40
virtual QWidget * getWidget()
use the default widget (but update the values)
Definition: CreateSC.cpp:85
This class manages a physical model (PML) CamiTK component.
Definition: PMLComponent.h:103
This class describes what is a generic Action extension.
Definition: ActionExtension.h:57
Action class is an abstract class that enables you to build a action (generally on a component).
Definition: Action.h:209
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition: Action.h:225