cosmoscout / cosmoscout-vr

:milky_way: A virtual universe which lets you explore, analyze and present huge planetary datasets and large simulation data in real-time.
Other
347 stars 27 forks source link

Node Editor Improvements #362

Closed JonasGilg closed 8 months ago

JonasGilg commented 8 months ago

This PR adds two new features to the csl-node-editor and implements them in the csp-demo-node-editor.

  1. csl::nodeeditor::Node now has a virtual init() function which can be implemented to do some initialization directly after the node is in a valid state.
  2. Add a function to the csl::nodeditor::NodeFactory to register Rete.Control sublcasses, so they can be reused by multiple nodes.
coveralls commented 8 months ago

Pull Request Test Coverage Report for Build 6717522795


Changes Missing Coverage Covered Lines Changed/Added Lines %
plugins/csl-node-editor/src/Node.hpp 0 1 0.0%
plugins/csp-demo-node-editor/src/Plugin.cpp 0 1 0.0%
plugins/csl-node-editor/src/NodeEditor.cpp 0 2 0.0%
plugins/csp-demo-node-editor/src/nodes/TimeNode.cpp 0 4 0.0%
plugins/csl-node-editor/src/NodeFactory.cpp 0 6 0.0%
<!-- Total: 0 14 0.0% -->
Files with Coverage Reduction New Missed Lines %
plugins/csl-node-editor/src/NodeEditor.cpp 1 0.0%
plugins/csp-demo-node-editor/src/nodes/TimeNode.cpp 1 0.0%
plugins/csl-node-editor/src/NodeFactory.cpp 2 0.0%
<!-- Total: 4 -->
Totals Coverage Status
Change from base Build 5463431705: -0.001%
Covered Lines: 193
Relevant Lines: 16590

💛 - Coveralls