|
Dynamic Neural Field Composer 0.0.0
A C++20 library and interactive application for building and simulating Dynamic Neural Field (DNF) architectures.
|
Abstract base class for all renderable plots. More...
#include <plot.h>
Public Member Functions | |
| PlotAnnotations | getAnnotations () const |
| PlotDimensions | getDimensions () const |
| PlotType | getType () const |
| int | getUniqueIdentifier () const |
| Plot (PlotCommonParameters parameters=PlotCommonParameters()) | |
| Construct a plot with the given common parameters. | |
| virtual void | render (const std::vector< std::vector< double > * > &data, const std::vector< std::string > &legends)=0 |
| Render the plot using the provided data and legends. | |
| void | setAnnotations (const PlotAnnotations &annotations) |
| void | setDimensions (const PlotDimensions &dimensions) |
| virtual std::string | toString () const =0 |
| virtual | ~Plot ()=default |
Protected Attributes | |
| PlotCommonParameters | commonParameters |
| Type, axes ranges, and annotation strings. | |
| int | uniqueIdentifier |
| Auto-assigned unique ID. | |
Static Protected Attributes | |
| static int | uniqueIdentifierCounter = 0 |
| Global counter for plot ID assignment. | |
Abstract base class for all renderable plots.
Each Plot has a unique integer ID, common parameters (type, dimensions, axis labels), and implements a render() method that draws the plot using the provided data pointers and legend strings.
|
virtualdefault |
|
explicit |
Construct a plot with the given common parameters.
| parameters | Type, dimensions, and annotations (defaults to LINE_PLOT with default ranges). |
| PlotAnnotations dnf_composer::Plot::getAnnotations | ( | ) | const |
| PlotDimensions dnf_composer::Plot::getDimensions | ( | ) | const |
| PlotType dnf_composer::Plot::getType | ( | ) | const |
| int dnf_composer::Plot::getUniqueIdentifier | ( | ) | const |
|
pure virtual |
Render the plot using the provided data and legends.
| data | Pointers to the component vectors to display. |
| legends | Legend label for each data series. |
Implemented in dnf_composer::Heatmap, and dnf_composer::LinePlot.
| void dnf_composer::Plot::setAnnotations | ( | const PlotAnnotations & | annotations | ) |
| void dnf_composer::Plot::setDimensions | ( | const PlotDimensions & | dimensions | ) |
|
pure virtual |
Implemented in dnf_composer::Heatmap, and dnf_composer::LinePlot.
|
protected |
Type, axes ranges, and annotation strings.
|
protected |
Auto-assigned unique ID.
|
inlinestaticprotected |
Global counter for plot ID assignment.