1#ifndef GLK_NORMAL_DISTRIBUTIONS_HPP
2#define GLK_NORMAL_DISTRIBUTIONS_HPP
34 template <
typename T,
int D>
35 NormalDistributions(
const Eigen::Matrix<T, D, 1>* means,
const Eigen::Matrix<T, D, D>* covs,
int num_points,
float sigma = 1.0f);
42 template <
typename T,
int D,
template <
class>
class Allocator>
44 const std::vector<Eigen::Matrix<T, D, 1>, Allocator<Eigen::Matrix<T, D, 1>>>& means,
45 const std::vector<Eigen::Matrix<T, D, D>, Allocator<Eigen::Matrix<T, D, D>>>& covs,
54 static std::shared_ptr<glk::GLSLShader> vertices_shader;
55 static std::shared_ptr<glk::GLSLShader> indices_shader;
67 template <
typename T,
int D>
68 NormalDistributions_old(
const Eigen::Matrix<T, D, 1>* means,
const Eigen::Matrix<T, D, D>* covs,
int num_points,
float sigma = 1.0f);
70 template <
typename T,
int D,
template <
class>
class Allocator>
72 const std::vector<Eigen::Matrix<T, D, 1>, Allocator<Eigen::Matrix<T, D, 1>>>& means,
73 const std::vector<Eigen::Matrix<T, D, D>, Allocator<Eigen::Matrix<T, D, D>>>& covs,
82 std::unique_ptr<glk::Mesh> mesh;
Definition drawable.hpp:12
GLSLShader is a wrapper for OpenGL shader programs.
Definition glsl_shader.hpp:49
NormalDistributions_old(const Eigen::Matrix< T, D, 1 > *means, const Eigen::Matrix< T, D, D > *covs, int num_points, float sigma=1.0f)
virtual ~NormalDistributions_old()
virtual void draw(glk::GLSLShader &shader) const override
NormalDistributions_old(const std::vector< Eigen::Matrix< T, D, 1 >, Allocator< Eigen::Matrix< T, D, 1 > > > &means, const std::vector< Eigen::Matrix< T, D, D >, Allocator< Eigen::Matrix< T, D, D > > > &covs, float sigma=1.0f)
Definition normal_distributions.hpp:71
NormalDistributions(const float *means, const float *covs, int num_points, float sigma=1.0f)
Constructor.
virtual ~NormalDistributions()
virtual void draw(glk::GLSLShader &shader) const override
NormalDistributions(const Eigen::Matrix< T, D, 1 > *means, const Eigen::Matrix< T, D, D > *covs, int num_points, float sigma=1.0f)
Constructor.
NormalDistributions(const std::vector< Eigen::Matrix< T, D, 1 >, Allocator< Eigen::Matrix< T, D, 1 > > > &means, const std::vector< Eigen::Matrix< T, D, D >, Allocator< Eigen::Matrix< T, D, D > > > &covs, float sigma=1.0f)
Constructor.
Definition normal_distributions.hpp:43
Definition async_buffer_copy.hpp:6