PeriDyno 1.2.1
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 {
13 public:
14 typedef typename TDataType::Real Real;
15 typedef typename TDataType::Coord Coord;
16
18
19 protected:
20 bool apply() override;
21
22 public:
25
26 DEF_VAR(Real, Scale, Real(1), "");
27 DEF_VAR(Coord, Translation, Coord(0), "");
28
29 private:
32 };
33}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
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