PeriDyno 1.0.0
Loading...
Searching...
No Matches
CollisionDetector.h
Go to the documentation of this file.
1
16#pragma once
18
19#include "Topology/PointSet.h"
20#include "Topology/EdgeSet.h"
21
22namespace dyno
23{
27 template<typename TDataType>
28 class CollisionDetector : public Node
29 {
31 public:
32 typedef typename TDataType::Coord Coord;
33
35 ~CollisionDetector() override {};
36
37 std::string getNodeType() override { return "Collision"; }
38
39 public:
41
43
44 public:
46
48
49 protected:
50 void resetStates() override;
51
52 bool validateInputs() override;
53 };
54}
DEF_INSTANCE_STATE(EdgeSet< TDataType >, Normals, "")
DEF_NODE_PORT(BasicShape< TDataType >, ShapeA, "")
std::string getNodeType() override
DEF_NODE_PORT(BasicShape< TDataType >, ShapeB, "")
DEF_INSTANCE_STATE(PointSet< TDataType >, Contacts, "")
DECLARE_TCLASS(CollisionDetector, TDataType)
A PointSet stores the coordinates for a set of independent points.
Definition PointSet.h:8
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25