iMSTK
Interactive Medical Simulation Toolkit
imstkFeDeformableObject.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 "imstkDynamicObject.h"
10 #include "imstkMacros.h"
11 #include "imstkMath.h"
12 
13 namespace imstk
14 {
15 class FemDeformableBodyModel;
16 
23 {
24 public:
25  FeDeformableObject(const std::string& name = "FeDeformableObject") : DynamicObject(name) { }
26  ~FeDeformableObject() override = default;
27 
28  IMSTK_TYPE_NAME(FeDeformableObject)
29 
30 
31  bool initialize() override;
34 
35  std::shared_ptr<FemDeformableBodyModel> getFEMModel();
36 
37 protected:
38  std::shared_ptr<FemDeformableBodyModel> m_femModel = nullptr;
39 };
40 } // namespace imstk
Base class for scene objects that move and/or deform.
Compound Geometry.
Scene objects that can deform.
bool initialize() override
Initialize the deformable object.