iMSTK
Interactive Medical Simulation Toolkit
imstkSphObjectCollision.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 "imstkCollisionInteraction.h"
10 #include "imstkMacros.h"
11 
12 namespace imstk
13 {
14 class SphObject;
15 
23 {
24 public:
25  SphObjectCollision(std::shared_ptr<SphObject> obj1, std::shared_ptr<CollidingObject> obj2,
26  std::string cdType = "");
27  ~SphObjectCollision() override = default;
28 
29  IMSTK_TYPE_NAME(SphObjectCollision)
30 
31 
32  void initGraphEdges(std::shared_ptr<TaskNode> source, std::shared_ptr<TaskNode> sink) override;
35 };
36 } // namespace imstk
Compound Geometry.
This class defines where collision should happen between SphObject and CollidingObject pipelines...
Abstract class for defining collision interactions between objects.
void initGraphEdges()
Initializes the edges of the SceneObject&#39;s computational graph.