PeriDyno 1.0.0
Loading...
Searching...
No Matches
FastMarchingMethodGPU.h
Go to the documentation of this file.
1
16#pragma once
17#include "VolumeMacros.h"
18
19#include "Topology/LevelSet.h"
20
22
23namespace dyno {
27 template<typename TDataType>
29 {
31 public:
32 typedef typename TDataType::Real Real;
33 typedef typename TDataType::Coord Coord;
34
37
38 DEF_VAR(Real, Spacing, 0.05, "");
39
40 DEF_ENUM(BoolType, BoolType, BoolType::Union, "Volume Bool Type");
41
46 DEF_VAR(uint, MarchingNumber, 20, "");
47
48 public:
51
53
54 protected:
55 void compute() override;
56
57 private:
60 };
61}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
DEF_INSTANCE_IN(LevelSet< TDataType >, LevelSetB, "")
DEF_INSTANCE_IN(LevelSet< TDataType >, LevelSetA, "")
DEF_INSTANCE_OUT(LevelSet< TDataType >, LevelSet, "")
DEF_ENUM(BoolType, BoolType, BoolType::Union, "Volume Bool Type")
DEF_VAR(Real, Spacing, 0.05, "")
DEF_VAR(uint, MarchingNumber, 20, "")
MarchingNumber controls the distance to advance, in case its value is small while the domain is large...
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
Array3D< T, DeviceType::GPU > DArray3D
Definition Array3D.inl:90
unsigned int uint
Definition VkProgram.h:14