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.
Action class is an abstract class that enables you to build a action (generally on a component)...
Definition: Action.h:184
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:422
This class describes what is a generic Action extension.
Definition: ActionExtension.h:61
virtual ~MergeMeshs()
Default Destructor.
vtkSmartPointer< vtkUnstructuredGrid > removeDuplicateCells(vtkSmartPointer< vtkPointSet > input, int nbCellMesh1, bool saveIndices)
Reconstruct a mesh without duplicating cells.
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method) ...
Definition: Action.h:196
void printKToFile()
print for each element the k associated
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...
virtual ApplyStatus apply()
this method is automatically called when the action is triggered.