31#include <vtkSmartPointer.h>
32#include <vtkIdTypeArray.h>
57 virtual bool event(QEvent* e);
69 bool computeBoundsOfSelection(
PMLComponent* comp, QString selectionName,
double bounds[6]);
72 void computeBoundsOfPointIds(
PMLComponent* comp, vtkSmartPointer<vtkIdTypeArray> selectedIds,
double bounds[6]);
75 void computeBoundsOfCellIds(
PMLComponent* comp, vtkSmartPointer<vtkIdTypeArray> selectedIds,
double bounds[6]);
78 void mergeBounds(
double bounds1[6],
double bounds2[6]);
Action to generate MML/Sofa scn from a vtk mesh.
Definition CreateSC.h:44
virtual ~CreateSC()=default
the destructor
virtual bool event(QEvent *e)
intercept signal for dynamic property changed
Definition CreateSC.cpp:64
virtual camitk::Action::ApplyStatus apply()
method applied when the action is called
Definition CreateSC.cpp:272
virtual QWidget * getWidget()
use the default widget (but update the values)
Definition CreateSC.cpp:87
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 an algorithm that wor...
Definition Action.h:215
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition Action.h:231