iMSTK
Interactive Medical Simulation Toolkit
imstkAnimationModel.cpp
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 #include "imstkAnimationModel.h"
8 
9 namespace imstk
10 {
11 AnimationModel::AnimationModel(std::shared_ptr<Geometry> geometry) : m_geometry(geometry)
12 {
13 }
14 
15 std::shared_ptr<Geometry>
17 {
18  return m_geometry;
19 }
20 
21 void
22 AnimationModel::setGeometry(std::shared_ptr<Geometry> geometry)
23 {
24  m_geometry = geometry;
25 }
26 } // namespace imstk
Compound Geometry.
std::shared_ptr< Geometry > getGeometry()
Get/set geometry.