19#ifndef _SAMPLERS_MAP_H
20#define _SAMPLERS_MAP_H
22#include <Samplers/Sampler.h>
27 std::default_random_engine m_generator;
31 unsigned m_stride = 1;
33 std::vector<Real> m_lambda;
34 unsigned int m_cols = 1, m_rows = 1;
39 virtual bool sampleRandom(std::vector<Vec3> &);
40 virtual bool sampleUniform(std::vector<Vec3> &);
46 virtual void setRadius(Real R)
override;
48 std::vector<Real>
const &map,
50 unsigned int stride = 0);
51 void setFromPNG(std::string
const &);