PeriDyno 1.0.0
Loading...
Searching...
No Matches
ComputeSurfaceLevelSet.h
Go to the documentation of this file.
1
16#pragma once
18#include "Topology/LevelSet.h"
20
21
22namespace dyno
23{
24 template<typename TDataType>
26 {
28 public:
29 typedef typename TDataType::Real Real;
30 typedef typename TDataType::Coord Coord;
31
34
35 void constrain() override;
36
37 DEF_ARRAY_IN(Coord, Points, DeviceType::GPU, "Point positions");
38
39 DEF_INSTANCE_IN(LevelSet<TDataType>, LevelSet, "A 3D signed distance field");
40
41 DEF_VAR_IN(Real, GridSpacing, "Grid spacing");
42
43 private:
45
46 };
47
49}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
#define IMPLEMENT_TCLASS(name, T1)
Definition Object.h:103
DEF_ARRAY_IN(Coord, Points, DeviceType::GPU, "Point positions")
DEF_VAR_IN(Real, GridSpacing, "Grid spacing")
DEF_INSTANCE_IN(LevelSet< TDataType >, LevelSet, "A 3D signed distance field")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25