Support layer and interaction transparancy. Refs #1

This commit is contained in:
2018-04-05 16:08:58 +02:00
parent 21fdc45e65
commit 3e4452ca3a
12 changed files with 114 additions and 12 deletions

View File

@@ -43,15 +43,17 @@ namespace fmri
/**
* Load rendering-specific options from the given options object.
*
* @param options
* @param programOptions
*/
void loadOptions(const Options& options);
void loadOptions(const Options& programOptions);
/**
* @return Whether the network should only render activated nodes, rather than all of them.
*/
bool renderActivatedOnly() const;
bool renderInteractionPaths() const;
const Color& pathColor() const;
float interactionAlpha() const;
float layerAlpha() const;
static RenderingState& instance();
@@ -63,6 +65,8 @@ namespace fmri
bool renderInteractions = true;
bool activatedOnly = false;
bool renderInteractionPaths = false;
float layerAlpha;
float interactionAlpha;
Color pathColor;
} options;
std::array<float, 3> pos;