3#include "Components/Core/DynamicComponent.h"
24 static void registerType();
37template<>
inline Cogs::StringView getName<Cogs::Core::DataSet2DComponent>() {
return "DataSet2DComponent"; }
Base class for components implementing dynamic behavior.
Provides a weakly referenced view over the contents of a string.
Contains all Cogs related functionality.
float minValue
Minimum value in dataset, updated by component.
float maxValue
Maximum value in dataset, updated by component.
std::vector< float > data
Values of the dataset, should be of size layout.x*layout.y.
int sizeI
2D layout of dataset.
int sizeJ
2D layout of dataset.
bool hasData
True if data and layout contains coherent data, updated by component.