PeriDyno 1.0.0
Loading...
Searching...
No Matches
GLWireframeVisualNode.cpp
Go to the documentation of this file.
2
4
5namespace dyno
6{
7 template<typename TDataType>
9 : Node()
10 {
11 auto wRender = std::make_shared<GLWireframeVisualModule>();
12 this->varColor()->connect(wRender->varBaseColor());
13 this->inTriangleSet()->connect(wRender->inEdgeSet());
14 this->graphicsPipeline()->pushModule(wRender);
15 }
16
17 template<typename TDataType>
19 {
20 printf("GLWireframeVisualNode released \n");
21 }
22
23 template<typename TDataType>
25 {
26 return "Visualization";
27 }
28
29 template<typename TDataType>
34
36}
#define DEFINE_CLASS(name)
Definition Object.h:140
std::shared_ptr< GraphicsPipeline > graphicsPipeline()
Definition Node.cpp:320
void update()
Called every time interval.
Definition Node.cpp:146
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25