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);
72 #endif // MERGEMESHS_H MergeMeshs action creates new mesh from two input meshs by merging points which are exactly at the sa...
Definition: MergeMeshs.h:38
MergeMeshs(camitk::ActionExtension *extension)
Default Constructor.
Definition: MergeMeshs.cpp:44
Action class is an abstract class that enables you to build a action (generally on a component)...
Definition: Action.h:207
std::vector< double > kVec
Reconstructed mesh.
Definition: MergeMeshs.h:58
ActionExtension * extension
the extension in which this action is declared and registered
Definition: Action.h:477
virtual ~MergeMeshs()
Default Destructor.
Definition: MergeMeshs.cpp:75
This class describes what is a generic Action extension.
Definition: ActionExtension.h:59
virtual ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition: MergeMeshs.cpp:80
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method) ...
Definition: Action.h:223
void printKToFile()
print for each element the k associated
Definition: MergeMeshs.cpp:330
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:307
vtkSmartPointer< vtkUnstructuredGrid > removeDuplicateCells(vtkSmartPointer< vtkPointSet > input, int nbCellMesh1, bool saveIndices)
Reconstruct a mesh without duplicating cells.
Definition: MergeMeshs.cpp:144