7 #include "imstkSphObject.h" 8 #include "imstkSphModel.h" 16 if (m_sphModel ==
nullptr)
18 LOG(FATAL) <<
"Dynamics pointer cast failure in SPHObject::initialize()";
24 m_sphModel->initialize();
29 std::shared_ptr<SphModel>
bool initialize() override
Initialize the scene object.
std::shared_ptr< AbstractDynamicalModel > m_dynamicalModel
Dynamical model.
bool initialize() override
Initialize the SphObject.
std::shared_ptr< SphModel > getSphModel()
Get the model governing the Sph fluid dynamics of this object.