Allow hiding non-activated nodes.

Refs #2.
This commit is contained in:
2018-03-29 15:31:38 +02:00
parent 59ecb91713
commit c0032aa688
4 changed files with 48 additions and 26 deletions

View File

@@ -39,6 +39,10 @@ namespace fmri
void render(float time) const;
void loadSimulationData(const std::map<string, LayerInfo> &info, std::vector<std::vector<LayerData>> &&data);
/**
* @return Whether the network should only render activated nodes, rather than all of them.
*/
bool renderActivatedOnly() const;
static RenderingState& instance();
@@ -48,6 +52,7 @@ namespace fmri
bool showHelp = true;
bool renderLayers = true;
bool renderInteractions = true;
bool activatedOnly = false;
} options;
std::array<float, 3> pos;
std::array<float, 2> angle;