PeriDyno 1.0.0
Loading...
Searching...
No Matches
PointFromCurve.h
Go to the documentation of this file.
1
16
17#pragma once
19
22
23#include "Field/Curve.h"
24
25namespace dyno
26{
27
28
29 template<typename TDataType>
30 class PointFromCurve : public ParametricModel<TDataType>
31 {
33
34 public:
35 typedef typename TDataType::Real Real;
36 typedef typename TDataType::Coord Coord;
37
39
40 public:
41
42 DEF_VAR(Real, UniformScale, 1, "Uniform Scale");
43
45
47
49
50
51
52 protected:
53 void resetStates() override;
54
55
56 private:
57 void varChanged();
58
59 };
60
61
62
64}
#define IMPLEMENT_TCLASS(name, T1)
Definition Object.h:103
void resetStates() override
DEF_INSTANCE_STATE(PointSet< TDataType >, PointSet, "Points")
TDataType::Real Real
DEF_INSTANCE_STATE(EdgeSet< TDataType >, EdgeSet, "Curve")
DECLARE_TCLASS(PointFromCurve, TDataType)
DEF_VAR(Real, UniformScale, 1, "Uniform Scale")
TDataType::Coord Coord
DEF_VAR(Curve, Curve, Curve::CurveMode::Open, "")
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