|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
31 #include <vtkUnstructuredGrid.h>
55 bool duplicateTetra(std::vector< std::vector< double > > t1, std::vector< std::vector< double > > t2);
58 std::vector<double>
kVec;
70 vtkSmartPointer<vtkUnstructuredGrid>
removeDuplicateCells(vtkSmartPointer< vtkPointSet > input,
int nbCellMesh1,
bool saveIndices);
72 #endif // MERGEMESHS_H
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:136
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:266
virtual ~MergeMeshs()
Default Destructor.
Definition: MergeMeshs.cpp:79
virtual camitk::Action::ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition: MergeMeshs.cpp:84
MergeMeshs action creates new mesh from two input meshs by merging points which are exactly at the sa...
Definition: MergeMeshs.h:38
@ SUCCESS
everything went according to plan
Definition: Action.h:248
@ ABORTED
the action was aborted before completion
Definition: Action.h:251
ApplyStatus
Definition: Action.h:247
void setName(QString name)
Definition: Action.cpp:120
vtkSmartPointer< vtkUnstructuredGrid > removeDuplicateCells(vtkSmartPointer< vtkPointSet > input, int nbCellMesh1, bool saveIndices)
Reconstruct a mesh without duplicating cells.
Definition: MergeMeshs.cpp:148
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:131
const ComponentList getTargets() const
the currently selected and valid (regarding the component property) components, for which this action...
Definition: Action.cpp:166
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:303
vtkSmartPointer< vtkPointSet > getDataPort
Definition: sdk/libraries/core/component/Component.h:585
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:141
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
virtual vtkSmartPointer< vtkPointSet > getPointSet()=0
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
void setAttribute(const QString &attribute, const QVariant &value)
Set a given property for this attribute.
Definition: Property.cpp:183
ActionExtension * extension
the extension in which this action is declared and registered
Definition: Action.h:507
void printKToFile()
print for each element the k associated
Definition: MergeMeshs.cpp:334
void setDescription(QString description)
the description of the action
Definition: Action.cpp:126
QString getName() const override
get the name to be displayed
Definition: sdk/libraries/core/component/Component.h:907
MergeMeshs(camitk::ActionExtension *extension)
Default Constructor.
Definition: MergeMeshs.cpp:48
virtual bool addParameter(Property *)
Add a new parameter to the action, using the CamiTK property class.
Definition: Action.cpp:440
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
Basic component to manage any kind of mesh.
Definition: MeshComponent.h:53
void refresh()
refresh the display
std::vector< double > kVec
Reconstructed mesh.
Definition: MergeMeshs.h:81
Definition: Action.cpp:35