iMSTK
Interactive Medical Simulation Toolkit
imstkSolverBase.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 #include "imstkDataTracker.h"
9 
10 namespace imstk
11 {
18 {
19 protected:
20  SolverBase() = default;
21 
22 public:
23  virtual ~SolverBase() = default;
24 
25  virtual void solve() = 0;
26 
27  std::shared_ptr<DataTracker> m_dataTracker;
28 };
29 } // namespace imstk
Compound Geometry.
Base class for solvers.