iMSTK
Interactive Medical Simulation Toolkit
imstkAppendMesh.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 SurfaceMesh;
14 
21 {
22 public:
23  AppendMesh();
24  ~AppendMesh() override = default;
25 
26  void addInputMesh(std::shared_ptr<SurfaceMesh> inputMesh);
27  std::shared_ptr<SurfaceMesh> getOutputMesh() const;
28 
29 protected:
30  void requestUpdate() override;
31 };
32 } // namespace imstk
Compound Geometry.
Abstract base class for geometry algorithms. GeometryAlgorithms take N input geometries and produce N...
This filter appends two SurfaceMeshes, no topological connections are made.
void requestUpdate() override
Users can implement this for the logic to be run.