Implement a specialized input visualisation.
This commit is contained in:
22
src/InputLayerVisualisation.hpp
Normal file
22
src/InputLayerVisualisation.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "LayerData.hpp"
|
||||
#include "LayerVisualisation.hpp"
|
||||
#include "Texture.hpp"
|
||||
|
||||
namespace fmri
|
||||
{
|
||||
class InputLayerVisualisation : public LayerVisualisation
|
||||
{
|
||||
public:
|
||||
explicit InputLayerVisualisation(const LayerData &data);
|
||||
|
||||
void render() override;
|
||||
|
||||
private:
|
||||
Texture texture;
|
||||
float targetWidth;
|
||||
float targetHeight;
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user