iMSTK
Interactive Medical Simulation Toolkit
imstkExtractEdges.h
1 /*
2 ** This file is part of the Interactive Medical Simulation Toolkit (iMSTK)
3 ** iMSTK is distributed under the Apache License, Version 2.0.
4 ** See accompanying NOTICE for details.
5 */
6 
7 #pragma once
8 
9 #include "imstkGeometryAlgorithm.h"
10 
11 namespace imstk
12 {
13 class LineMesh;
14 class SurfaceMesh;
15 
22 {
23 public:
24  ExtractEdges();
25  ~ExtractEdges() override = default;
26 
27  std::shared_ptr<LineMesh> getOutputMesh() const;
28 
29  void setInputMesh(std::shared_ptr<SurfaceMesh> inputMesh);
30 
31 protected:
32  void requestUpdate() override;
33 };
34 } // namespace imstk
Compound Geometry.
void requestUpdate() override
Users can implement this for the logic to be run.
Abstract base class for geometry algorithms. GeometryAlgorithms take N input geometries and produce N...
This filter extracts the edges of a SurfaceMesh producing a LineMesh.