PeriDyno 1.0.0
Loading...
Searching...
No Matches
PointSetToTriangleSet.h
Go to the documentation of this file.
1#pragma once
2#include "Node.h"
3
4#include "Topology/PointSet.h"
5#include "Topology/TriangleSet.h"
6
7namespace dyno
8{
9 template<typename TDataType> class PointSetToPointSet;
10
11 template<typename TDataType>
13 {
15 public:
16 typedef typename TDataType::Real Real;
17 typedef typename TDataType::Coord Coord;
18
21 ~PointSetToTriangleSet() override;
22
24
26
28
29 protected:
30 void resetStates() override;
31 void updateStates() override;
32
33 private:
34 std::shared_ptr<PointSetToPointSet<TDataType>> mPointMapper;
35 Real mRadius = 0.0125;
36 };
37
39}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
#define IMPLEMENT_TCLASS(name, T1)
Definition Object.h:103
A PointSet stores the coordinates for a set of independent points.
Definition PointSet.h:8
DEF_INSTANCE_OUT(TriangleSet< TDataType >, Shape, "")
DEF_INSTANCE_IN(TriangleSet< TDataType >, InitialShape, "")
DEF_INSTANCE_IN(PointSet< TDataType >, PointSet, "")
std::shared_ptr< PointSetToPointSet< TDataType > > mPointMapper
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25