31 #include <vtkUnstructuredGrid.h>
55 bool duplicateTetra(std::vector< std::vector< double > > t1, std::vector< std::vector< double > > t2);
70 vtkSmartPointer<vtkUnstructuredGrid>
removeDuplicateCells(vtkSmartPointer< vtkPointSet > input,
int nbCellMesh1,
bool saveIndices);
MergeMeshs action creates new mesh from two input meshs by merging points which are exactly at the sa...
Definition: MergeMeshs.h:38
bool duplicateTetra(std::vector< std::vector< double > > t1, std::vector< std::vector< double > > t2)
Check if one point of the first tetra is not a point of the second tetra ==> tetra are not equal.
Definition: MergeMeshs.cpp:311
vtkSmartPointer< vtkUnstructuredGrid > removeDuplicateCells(vtkSmartPointer< vtkPointSet > input, int nbCellMesh1, bool saveIndices)
Reconstruct a mesh without duplicating cells.
Definition: MergeMeshs.cpp:148
MergeMeshs(camitk::ActionExtension *extension)
Default Constructor.
Definition: MergeMeshs.cpp:48
virtual camitk::Action::ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition: MergeMeshs.cpp:84
std::vector< double > kVec
Reconstructed mesh.
Definition: MergeMeshs.h:58
void printKToFile()
print for each element the k associated
Definition: MergeMeshs.cpp:334
virtual ~MergeMeshs()
Default Destructor.
Definition: MergeMeshs.cpp:79
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:208
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition: Action.h:224
ActionExtension * extension
the extension in which this action is declared and registered
Definition: Action.h:484