PeriDyno 1.0.0
Loading...
Searching...
No Matches
ShapeSampler.h
Go to the documentation of this file.
1
16
17#pragma once
18#include "Sampler.h"
19
21
22namespace dyno
23{
24 template<typename TDataType>
25 class ShapeSampler : public Sampler<TDataType>
26 {
28
29 public:
30 typedef typename TDataType::Real Real;
31 typedef typename TDataType::Coord Coord;
32
34
35 public:
36 DEF_VAR(Real, SamplingDistance, 0.1, "Sampling distance");
37
39
40 protected:
41 void resetStates() override;
42 };
43
45}
#define IMPLEMENT_TCLASS(name, T1)
Definition Object.h:103
TDataType::Coord Coord
DEF_NODE_PORT(BasicShape< TDataType >, Shape, "")
void resetStates() override
DECLARE_TCLASS(ShapeSampler, TDataType)
DEF_VAR(Real, SamplingDistance, 0.1, "Sampling distance")
TDataType::Real Real
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25