PeriDyno 1.0.0
Loading...
Searching...
No Matches
Transform.h
Go to the documentation of this file.
1
16
17#pragma once
21#include "GLPointVisualModule.h"
22
23
24namespace dyno
25{
26
27
28 template<typename TDataType>
29 class TransformModel : public ParametricModel<TDataType>
30 {
32
33 public:
34 typedef typename TDataType::Real Real;
35 typedef typename TDataType::Coord Coord;
36
38 {
39 Point_ = 0,
40 Edge_ = 1,
43 };
44
46
47 public:
48 //DEF_INSTANCE_IN(TriangleSet<TDataType>, TriangleSet, "")
49 DEF_INSTANCE_IN(TopologyModule, Topology, "")
50
54
57 void Transform();
58
59 protected:
60 void resetStates() override;
61
65
66 };
67
68
69
71}
#define DEF_INSTANCE_IN(T, name, desc)
A PointSet stores the coordinates for a set of independent points.
Definition PointSet.h:8
std::shared_ptr< GLSurfaceVisualModule > glModule
Definition Transform.h:62
TDataType::Real Real
Definition Transform.h:34
std::shared_ptr< GLWireframeVisualModule > glWireModule
Definition Transform.h:63
void resetStates() override
TDataType::Coord Coord
Definition Transform.h:35
DECLARE_TCLASS(TransformModel, TDataType)
std::shared_ptr< GLPointVisualModule > glPointModule
Definition Transform.h:64
DEF_INSTANCE_STATE(TriangleSet< TDataType >, TriangleSet, "")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
IMPLEMENT_TCLASS(Steer, TDataType)