Show normalization rates in visualisation.
This commit is contained in:
21
src/ImageInteractionAnimation.hpp
Normal file
21
src/ImageInteractionAnimation.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "Animation.hpp"
|
||||
#include "utils.hpp"
|
||||
#include "Texture.hpp"
|
||||
|
||||
namespace fmri
|
||||
{
|
||||
class ImageInteractionAnimation : public Animation
|
||||
{
|
||||
public:
|
||||
ImageInteractionAnimation(const DType* data, const std::vector<int>& shape, const std::vector<float>& prevPositions, const std::vector<float>& curPositions, float xDist);
|
||||
virtual void draw(float step);
|
||||
|
||||
private:
|
||||
Texture texture;
|
||||
std::vector<float> startingPositions;
|
||||
std::vector<float> deltas;
|
||||
std::vector<float> textureCoordinates;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user