PeriDyno 0.9.2
Loading...
Searching...
No Matches
SphereSampler.h
Go to the documentation of this file.
1
17#pragma once
18#include "Sampler.h"
19
20namespace dyno
21{
22 template<typename TDataType>
23 class SphereSampler : public Sampler<TDataType>
24 {
26
27 public:
28 typedef typename TDataType::Real Real;
29 typedef typename TDataType::Coord Coord;
30
32
33 public:
34 DEF_VAR(Real, SamplingDistance, 0.05, "Sampling distance");
35
37
38 protected:
39 void resetStates() override;
40 };
41
43}
#define IMPLEMENT_TCLASS(name, T1)
Definition Object.h:103
TDataType::Coord Coord
TDataType::Real Real
DEF_VAR_IN(TSphere3D< Real >, Sphere, "")
void resetStates() override
DEF_VAR(Real, SamplingDistance, 0.05, "Sampling distance")
DECLARE_TCLASS(SphereSampler, TDataType)
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:24