PeriDyno 1.0.0
Loading...
Searching...
No Matches
StaticMeshLoader.h
Go to the documentation of this file.
1#pragma once
3
4#include "Topology/TriangleSet.h"
5#include "FilePath.h"
6
7namespace dyno
8{
9 template <typename TDataType> class TriangleSet;
17 template<typename TDataType>
18 class StaticMeshLoader : public ParametricModel<TDataType>
19 {
21 public:
22 typedef typename TDataType::Real Real;
23 typedef typename TDataType::Coord Coord;
24
26 std::string getNodeType() override { return "IO"; }
27 public:
28 DEF_VAR(FilePath, FileName, "", "");
29
30 DEF_INSTANCE_STATE(TriangleSet<TDataType>, InitialTriangleSet, "Initial topology");
32 };
33}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
DEF_INSTANCE_STATE(TriangleSet< TDataType >, TriangleSet, "Transformed Topology")
std::string getNodeType() override
DEF_INSTANCE_STATE(TriangleSet< TDataType >, InitialTriangleSet, "Initial topology")
DEF_VAR(FilePath, FileName, "", "")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25