PeriDyno 1.0.0
Loading...
Searching...
No Matches
VolumeGenerator.h
Go to the documentation of this file.
1
16#pragma once
17#include "Volume.h"
18#include "Array/Array3D.h"
19
20#include "Topology/TriangleSet.h"
21
22namespace dyno {
23 template<typename TDataType>
24 class VolumeGenerator : public Volume<TDataType>
25 {
27 public:
28 typedef typename TDataType::Real Real;
29 typedef typename TDataType::Coord Coord;
31
33 ~VolumeGenerator() override;
34
35 DEF_VAR(Real, Spacing, 0.05f, "");
36
37 DEF_VAR(uint, Padding, 10, "");
38
39 public:
41
43
44 protected:
45 void resetStates() override;
46 };
47}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
Vector< PointType, 3 > Triangle
TopologyModule::Triangle Triangle
DEF_INSTANCE_OUT(LevelSet< TDataType >, LevelSet, "")
TDataType::Coord Coord
DEF_INSTANCE_IN(TriangleSet< TDataType >, TriangleSet, "")
DEF_VAR(uint, Padding, 10, "")
void resetStates() override
DEF_VAR(Real, Spacing, 0.05f, "")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
unsigned int uint
Definition VkProgram.h:14