gtsam_points
Loading...
Searching...
No Matches
Public Member Functions | List of all members
glk::NormalDistributions Class Reference

A drawable class to render a set of normal distributions as ellipsoids. This class efficiently perform ellipsoids mesh generation using GLSL compute shader and is much faster than the old implementation. More...

#include <normal_distributions.hpp>

Inheritance diagram for glk::NormalDistributions:
Inheritance graph
[legend]
Collaboration diagram for glk::NormalDistributions:
Collaboration graph
[legend]

Public Member Functions

 NormalDistributions (const float *means, const float *covs, int num_points, float scale=1.0f)
 
template<typename T , int D>
 NormalDistributions (const Eigen::Matrix< T, D, 1 > *means, const Eigen::Matrix< T, D, D > *covs, int num_points, float scale=1.0f)
 
template<typename T , int D, template< class > class Allocator>
 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 scale=1.0f)
 
virtual ~NormalDistributions ()
 
virtual void draw (glk::GLSLShader &shader) const override
 
- Public Member Functions inherited from glk::Drawable
virtual ~Drawable ()
 

Additional Inherited Members

- Public Types inherited from glk::Drawable
using Ptr = std::shared_ptr< Drawable >
 
using ConstPtr = std::shared_ptr< const Drawable >
 

Detailed Description

A drawable class to render a set of normal distributions as ellipsoids. This class efficiently perform ellipsoids mesh generation using GLSL compute shader and is much faster than the old implementation.

Constructor & Destructor Documentation

◆ NormalDistributions() [1/3]

glk::NormalDistributions::NormalDistributions ( const float means,
const float covs,
int  num_points,
float  scale = 1.0f 
)

◆ NormalDistributions() [2/3]

template<typename T , int D>
glk::NormalDistributions::NormalDistributions ( const Eigen::Matrix< T, D, 1 > *  means,
const Eigen::Matrix< T, D, D > *  covs,
int  num_points,
float  scale = 1.0f 
)

◆ NormalDistributions() [3/3]

template<typename T , int D, template< class > class Allocator>
glk::NormalDistributions::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  scale = 1.0f 
)
inline

◆ ~NormalDistributions()

virtual glk::NormalDistributions::~NormalDistributions ( )
virtual

Member Function Documentation

◆ draw()

virtual void glk::NormalDistributions::draw ( glk::GLSLShader shader) const
overridevirtual

Reimplemented from glk::Drawable.


The documentation for this class was generated from the following file: