PeriDyno 1.0.0
Loading...
Searching...
No Matches
GLWireframeVisualNode.h
Go to the documentation of this file.
1
16
17#pragma once
18#include <Node.h>
19
20#include <Topology/TriangleSet.h>
21
22namespace dyno
23{
24 template<typename TDataType>
26 {
27 DECLARE_TCLASS(GLWireFrameVisualNode, TDataType)
28 public:
29 typedef typename TDataType::Coord Coord;
30
32 ~GLWireframeVisualNode() override;
33
34 public:
35 std::string getNodeType() override;
36
37 public:
38 DEF_INSTANCE_IN(EdgeSet<TDataType>, TriangleSet, "A set of triangles or edges");
39 DEF_VAR(Vec3f, Color, Vec3f(0), "Color");
40
41 protected:
42 void resetStates() override;
43 };
44
46};
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
#define IMPLEMENT_TCLASS(name, T1)
Definition Object.h:103
DEF_VAR(Vec3f, Color, Vec3f(0), "Color")
DEF_INSTANCE_IN(EdgeSet< TDataType >, TriangleSet, "A set of triangles or edges")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
Vector< float, 3 > Vec3f
Definition Vector3D.h:93