PeriDyno 0.9.2
Loading...
Searching...
No Matches
SurfaceLevelSetConstructionNode.h
Go to the documentation of this file.
1
17#include "Node.h"
18#include "ParticleSystem/ParticleSystem.h"
20#include "Topology/TriangleSet.h"
22namespace dyno
23{
24 template<typename TDataType>
26 {
28 public:
29 typedef typename TDataType::Real Real;
30 typedef typename TDataType::Coord Coord;
31
34
36
38
39 DEF_ARRAY_STATE(Coord, Points, DeviceType::GPU, "Point positions");
40
42
44
45 DEF_ARRAY_STATE(Coord, GridPoistion, DeviceType::GPU, "Grid positions");
46
47 DEF_VAR_STATE(Real, GridSpacing, 0.01, "Grid spacing");
48
49 protected:
51
53
55
56 };
57
58
59}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
This class represents the base class for more advanced particle-based nodes.
DEF_ARRAY_STATE(Coord, GridPoistion, DeviceType::GPU, "Grid positions")
DEF_INSTANCE_STATE(TriangleSet< TDataType >, TriangleSet, "An iso surface")
DEF_NODE_PORT(ParticleSystem< TDataType >, ParticleSystem, "Initial Fluid Particles")
DEF_ARRAY_STATE(Coord, Points, DeviceType::GPU, "Point positions")
DEF_INSTANCE_STATE(SignedDistanceField< TDataType >, LevelSet, "A 3D signed distance field")
DEF_VAR_STATE(Real, GridSpacing, 0.01, "Grid spacing")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:24