PeriDyno 1.0.0
Loading...
Searching...
No Matches
HeightFieldToTriangleSet.h
Go to the documentation of this file.
1#pragma once
3
5#include "Topology/TriangleSet.h"
6
7namespace dyno
8{
9 template<typename TDataType>
11 {
12 public:
13 typedef typename TDataType::Real Real;
14 typedef typename TDataType::Coord Coord;
15
17
18 protected:
19 bool apply() override;
20
21 public:
24
25 DEF_VAR(Real, Scale, Real(1), "");
26 DEF_VAR(Coord, Translation, Coord(0), "");
27
28 private:
31 };
32}
DEF_VAR(Coord, Translation, Coord(0), "")
TriangleSet< TDataType > mStandardCapsule
DEF_VAR(Real, Scale, Real(1), "")
DEF_INSTANCE_IN(HeightField< TDataType >, HeightField, "")
TriangleSet< TDataType > mStandardSphere
DEF_INSTANCE_OUT(TriangleSet< TDataType >, TriangleSet, "")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25