PeriDyno 1.0.0
Loading...
Searching...
No Matches
CopyToPoint.h
Go to the documentation of this file.
1
16
17#pragma once
21
22
23namespace dyno
24{
25
26
27 template<typename TDataType>
28 class CopyToPoint : public ParametricModel<TDataType>
29 {
31
32 public:
33 typedef typename TDataType::Real Real;
34 typedef typename TDataType::Coord Coord;
35
37
38 DECLARE_ENUM(ScaleMode,
39 Power = 0,
40 Multiply = 1);
41
42 public:
43
44
46
48
49 DEF_INSTANCE_IN(PointSet<TDataType>, TargetPointSet, "");
50 //DEF_VAR_OUT(TCylinder3D<Real>, Cylinder, "");
51
53
54 protected:
55 void resetStates() override;
56
58 };
59
60
61
63}
#define DEF_INSTANCE_IN(T, name, desc)
DECLARE_TCLASS(CopyToPoint, TDataType)
DECLARE_ENUM(ScaleMode, Power=0, Multiply=1)
std::shared_ptr< GLSurfaceVisualModule > glModule
Definition CopyToPoint.h:57
TDataType::Coord Coord
Definition CopyToPoint.h:34
void resetStates() override
DEF_INSTANCE_IN(PointSet< TDataType >, TargetPointSet, "")
TDataType::Real Real
Definition CopyToPoint.h:33
DEF_INSTANCE_STATE(TriangleSet< TDataType >, TriangleSet, "")
A PointSet stores the coordinates for a set of independent points.
Definition PointSet.h:8
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
IMPLEMENT_TCLASS(Steer, TDataType)