PeriDyno 1.0.0
Loading...
Searching...
No Matches
GLCommonPointVisualNode.cpp
Go to the documentation of this file.
2
3#include <Module/CalculateNorm.h>
5#include <ColorMapping.h>
6
7namespace dyno
8{
9 template<typename TDataType>
11 : Node()
12 {
13 auto pRender = std::make_shared<GLPointVisualModule>();
14 this->varColor()->connect(pRender->varBaseColor());
15 this->varPointSize()->connect(pRender->varPointSize());
16 this->inPointSet()->connect(pRender->inPointSet());
17 this->graphicsPipeline()->pushModule(pRender);
18 }
19
20 template<typename TDataType>
22 {
23 printf("GLCommonPointVisualNode released \n");
24 }
25
26 template<typename TDataType>
28 {
29 return "Visualization";
30 }
31
32 template<typename TDataType>
37
39}
#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