PeriDyno 1.0.0
Loading...
Searching...
No Matches
Extract.h
Go to the documentation of this file.
1
16#pragma once
18
19#include "Topology/TriangleSet.h"
20#include "Topology/QuadSet.h"
21#include "Topology/PolygonSet.h"
22
23namespace dyno
24{
25 template<typename TDataType>
27 {
29 public:
30 typedef typename TDataType::Real Real;
31 typedef typename TDataType::Coord Coord;
32
35
36 inline std::string caption() override { return "Extract"; }
37
38 public:
40
42
43 protected:
44 bool apply() override;
45 };
46
47 template<typename TDataType>
49 {
51 public:
52 typedef typename TDataType::Real Real;
53 typedef typename TDataType::Coord Coord;
54
57
58 inline std::string caption() override { return "Extract"; }
59
60 public:
62
64
65 protected:
66 bool apply() override;
67 };
68
69 template<typename TDataType>
71 {
73 public:
74 typedef typename TDataType::Real Real;
75 typedef typename TDataType::Coord Coord;
76
79
80 inline std::string caption() override { return "Extract"; }
81
82 public:
84
86
87 protected:
88 bool apply() override;
89 };
90}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
std::string caption() override
Return the caption.
Definition Extract.h:36
DEF_INSTANCE_OUT(EdgeSet< TDataType >, EdgeSet, "The output EdgeSet")
DEF_INSTANCE_IN(PolygonSet< TDataType >, PolygonSet, "The input polygon set")
std::string caption() override
Return the caption.
Definition Extract.h:80
DEF_INSTANCE_IN(PolygonSet< TDataType >, PolygonSet, "The input polygon set")
DEF_INSTANCE_OUT(QuadSet< TDataType >, QuadSet, "The output QuadSet")
DEF_INSTANCE_OUT(TriangleSet< TDataType >, TriangleSet, "The output TriangleSet")
DEF_INSTANCE_IN(PolygonSet< TDataType >, PolygonSet, "The input polygon set")
std::string caption() override
Return the caption.
Definition Extract.h:58
a class to store polygon whose vertex number is greater or equal than 3
Definition PolygonSet.h:29
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25