PeriDyno 1.0.0
Loading...
Searching...
No Matches
GLCommonPointVisualNode.h
Go to the documentation of this file.
1#pragma once
2#include "Node.h"
3
4#include "Topology/PointSet.h"
5
6namespace dyno
7{
8 template<typename TDataType>
10 {
12 public:
13 typedef typename TDataType::Coord Coord;
14
16 ~GLCommonPointVisualNode() override;
17
18 public:
19 std::string getNodeType() override;
20
21 protected:
22 void resetStates() override;
23
25
26 DEF_VAR(Vec3f, Color, Vec3f(0,0,1.0f), "Color");
27 DEF_VAR(Real, PointSize, 0.01f, "Point size");
28 };
29
31};
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
#define IMPLEMENT_TCLASS(name, T1)
Definition Object.h:103
double Real
Definition Typedef.inl:23
DEF_INSTANCE_IN(PointSet< TDataType >, PointSet, "A set of points")
DEF_VAR(Real, PointSize, 0.01f, "Point size")
DEF_VAR(Vec3f, Color, Vec3f(0, 0, 1.0f), "Color")
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
Vector< float, 3 > Vec3f
Definition Vector3D.h:93