9 #include "imstkGeometryAlgorithm.h" 28 std::shared_ptr<SurfaceMesh> getOutputMesh()
const;
33 void setInputMesh(std::shared_ptr<SurfaceMesh> inputMesh);
35 imstkGetMacro(UseAbsolute,
bool);
42 this->m_Tolerance = tolerance;
43 m_UseAbsolute =
false;
46 imstkGetMacro(Tolerance,
double);
49 void setAbsoluteTolerance(
const double tolerance)
51 this->m_AbsoluteTolerance = tolerance;
55 imstkGetMacro(AbsoluteTolerance,
double);
61 double m_Tolerance = 0.0;
62 double m_AbsoluteTolerance = 1.0;
63 bool m_UseAbsolute =
false;
void setInputMesh(std::shared_ptr< SurfaceMesh > inputMesh)
Required input, port 0.
void requestUpdate() override
Users can implement this for the logic to be run.
void setTolerance(const double tolerance)
Get/Set the tolerance for point merging, fraction of bounding box length.
Abstract base class for geometry algorithms. GeometryAlgorithms take N input geometries and produce N...
This filter can merge duplicate points and cells, it only works with LineMesh and SurfaceMesh...