PeriDyno 1.0.0
Loading...
Searching...
No Matches
GLSurfaceVisualNode.cpp
Go to the documentation of this file.
2
4
5namespace dyno
6{
7 template<typename TDataType>
9 : Node()
10 {
11 auto sRender = std::make_shared<GLSurfaceVisualModule>();
12 this->varColor()->connect(sRender->varBaseColor());
13 this->inTriangleSet()->connect(sRender->inTriangleSet());
14 this->graphicsPipeline()->pushModule(sRender);
15 }
16
17 template<typename TDataType>
19 {
20 printf("GLSurfaceVisualNode released \n");
21 }
22
23 template<typename TDataType>
25 {
26 return "Surface Visualizer";
27 }
28
29 template<typename TDataType>
31 {
32 return "Visualization";
33 }
34
35 template<typename TDataType>
40
42}
#define DEFINE_CLASS(name)
Definition Object.h:140
std::string caption() override
Return the caption.
GLSurfaceVisualNode(bool phong=false)
std::string getNodeType() override
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