PeriDyno 0.9.2
Loading...
Searching...
No Matches
CubeSampler.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 CubeSampler : 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.1, "Sampling distance");
35
37
38 protected:
39 void resetStates() override;
40 };
41
43}
#define IMPLEMENT_TCLASS(name, T1)
Definition Object.h:103
void resetStates() override
DEF_VAR(Real, SamplingDistance, 0.1, "Sampling distance")
TDataType::Real Real
Definition CubeSampler.h:28
DEF_VAR_IN(TOrientedBox3D< Real >, Cube, "")
DECLARE_TCLASS(CubeSampler, TDataType)
TDataType::Coord Coord
Definition CubeSampler.h:29
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:24