54 virtual bool event(QEvent* e);
75 void mergeBounds(
double bounds1[6],
double bounds2[6]);
bool checkEvents
if this is initialization time, do not consider any event
Definition: CreateSC.h:78
virtual ~CreateSC()=default
the destructor
void computeBoundsOfPointIds(PMLComponent *comp, vtkSmartPointer< vtkIdTypeArray > selectedIds, double bounds[6])
compute bounds of a given point selection (list of Point Ids)
Definition: CreateSC.cpp:137
Action class is an abstract class that enables you to build a action (generally on a component)...
Definition: Action.h:207
void mergeBounds(double bounds1[6], double bounds2[6])
Definition: CreateSC.cpp:185
virtual ApplyStatus apply()
method applied when the action is called
Definition: CreateSC.cpp:262
This class describes what is a generic Action extension.
Definition: ActionExtension.h:59
This class manages a physical model (PML) CamiTK component.
Definition: PMLComponent.h:99
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method) ...
Definition: Action.h:223
CreateSC(camitk::ActionExtension *)
the constructor
Definition: CreateSC.cpp:40
void computeBoundsOfCellIds(PMLComponent *comp, vtkSmartPointer< vtkIdTypeArray > selectedIds, double bounds[6])
compute bounds of a given cell selection (list of cell Ids)
Definition: CreateSC.cpp:167
void updateCorners(PMLComponent *)
compute and update bound properties (bottom and top corner) considering selection parameters ...
Definition: CreateSC.cpp:226
Action to generate MML/Sofa scn from a vtk mesh.
Definition: CreateSC.h:41
virtual QWidget * getWidget()
use the default widget (but update the values)
Definition: CreateSC.cpp:85
virtual bool event(QEvent *e)
intercept signal for dynamic property changed
Definition: CreateSC.cpp:62
bool computeBoundsOfSelection(PMLComponent *comp, QString selectionName, double bounds[6])
compute the bounds of a named selection
Definition: CreateSC.cpp:201