|
gtsam_points
|
#include <pointcloud_buffer.hpp>


Public Types | |
| using | Ptr = std::shared_ptr< PointCloudBuffer > |
Public Types inherited from glk::Drawable | |
| using | Ptr = std::shared_ptr< Drawable > |
| using | ConstPtr = std::shared_ptr< const Drawable > |
Public Member Functions | |
| PointCloudBuffer (int stride, int num_points) | |
| PointCloudBuffer (const float *data, int stride, int num_points) | |
| PointCloudBuffer (const Eigen::Matrix< float, 3, -1 > &points) | |
| PointCloudBuffer (const Eigen::Matrix< double, 3, -1 > &points) | |
| template<typename Scalar , int Dim, typename Allocator > | |
| PointCloudBuffer (const std::vector< Eigen::Matrix< Scalar, Dim, 1 >, Allocator > &points) | |
| PointCloudBuffer (const Eigen::Vector3f *points, int num_points) | |
| PointCloudBuffer (const Eigen::Vector4f *points, int num_points) | |
| PointCloudBuffer (const Eigen::Vector3d *points, int num_points) | |
| PointCloudBuffer (const Eigen::Vector4d *points, int num_points) | |
| virtual | ~PointCloudBuffer () override |
| template<int N, typename Allocator > | |
| void | add_normals (const std::vector< Eigen::Matrix< float, N, 1 >, Allocator > &normals) |
| template<int N, typename Allocator > | |
| void | add_normals (const std::vector< Eigen::Matrix< double, N, 1 >, Allocator > &normals) |
| template<int N> | |
| void | add_normals (const Eigen::Matrix< float, N, 1 > *normals, int num_points) |
| template<int N> | |
| void | add_normals (const Eigen::Matrix< double, N, 1 > *normals, int num_points) |
| template<typename Scalar , typename Allocator > | |
| void | add_color (const std::vector< Eigen::Matrix< Scalar, 4, 1 >, Allocator > &colors) |
| void | add_color (const Eigen::Vector4f *colors, int num_points) |
| void | add_color (const Eigen::Vector4d *colors, int num_points) |
| void | add_intensity (glk::COLORMAP colormap, const std::vector< float > &intensities, float scale=1.0f) |
| void | add_intensity (glk::COLORMAP colormap, const std::vector< double > &intensities, float scale=1.0f) |
| void | add_intensity (glk::COLORMAP colormap, const float *intensities, const int num_points, float scale=1.0f) |
| void | add_intensity (glk::COLORMAP colormap, const double *intensities, const int num_points, float scale=1.0f) |
| void | add_normals (const float *data, int stride, int num_points) |
| void | add_color (const float *data, int stride, int num_points) |
| void | add_intensity (glk::COLORMAP colormap, const float *data, int stride, int num_points, float scale=1.0f) |
| void | set_colormap_buffer (const std::string &attribute_name) |
| void | add_colormap (std::vector< float > &cmap, float scale=1.0f) |
| void | add_colormap (std::vector< double > &cmap, float scale=1.0) |
| void | add_colormap (const float *data, int stride, int num_points, float scale=1.0f) |
| void | add_buffer (const std::string &attribute_name, const std::vector< float > &data) |
| void | add_buffer (const std::string &attribute_name, const std::vector< double > &data) |
| template<typename Scalar , int D, typename Allocator > | |
| void | add_buffer (const std::string &attribute_name, const std::vector< Eigen::Matrix< Scalar, D, 1 >, Allocator > &data) |
| void | add_buffer (const std::string &attribute_name, int dim, const float *data, int stride, int num_points) |
| void | update_buffer_with_indices (GLuint buffer, const float *data, int stride, const unsigned int *indices, int num_indices) |
| void | update_buffer_with_indices (const std::string &attribute_name, int dim, const float *data, int stride, const unsigned int *indices, int num_indices) |
| template<typename Scalar , int D, typename Allocator > | |
| void | update_points_with_indices (const std::vector< Eigen::Matrix< Scalar, D, 1 >, Allocator > &points, const std::vector< unsigned int > &indices) |
| void | update_points_with_indices (const Eigen::Vector3f *points, const unsigned int *indices, int num_indices) |
| void | update_points_with_indices (const Eigen::Vector4f *points, const unsigned int *indices, int num_indices) |
| void | update_points_with_indices (const Eigen::Vector3d *points, const unsigned int *indices, int num_indices) |
| void | update_points_with_indices (const Eigen::Vector4d *points, const unsigned int *indices, int num_indices) |
| void | update_points_with_indices (const float *data, int stride, const unsigned int *indices, int num_indices) |
| template<typename Scalar , typename Allocator > | |
| void | update_color_with_indices (const std::vector< Eigen::Matrix< Scalar, 4, 1 >, Allocator > &colors, const std::vector< unsigned int > &indices) |
| void | update_color_with_indices (const Eigen::Vector4f *colors, const unsigned int *indices, int num_indices) |
| void | update_color_with_indices (const Eigen::Vector4d *colors, const unsigned int *indices, int num_indices) |
| void | enable_partial_rendering (int points_budget=8192 *5) |
| void | disable_partial_rendering () |
| void | bind (glk::GLSLShader &shader) const |
| void | unbind (glk::GLSLShader &shader) const |
| virtual void | draw (glk::GLSLShader &shader) const override |
| GLuint | vba_id () const |
| GLuint | vbo_id () const |
| GLuint | ebo_id () const |
| int | get_aux_size () const |
| const AuxBufferData & | get_aux_buffer (int i) const |
| int | size () const |
| size_t | memory_usage () const |
Public Member Functions inherited from glk::Drawable | |
| virtual | ~Drawable () |
| using glk::PointCloudBuffer::Ptr = std::shared_ptr<PointCloudBuffer> |
| glk::PointCloudBuffer::PointCloudBuffer | ( | const std::vector< Eigen::Matrix< Scalar, Dim, 1 >, Allocator > & | points | ) |
|
overridevirtual |
| void glk::PointCloudBuffer::add_buffer | ( | const std::string & | attribute_name, |
| const std::vector< double > & | data | ||
| ) |
| void glk::PointCloudBuffer::add_buffer | ( | const std::string & | attribute_name, |
| const std::vector< Eigen::Matrix< Scalar, D, 1 >, Allocator > & | data | ||
| ) |
| void glk::PointCloudBuffer::add_buffer | ( | const std::string & | attribute_name, |
| const std::vector< float > & | data | ||
| ) |
| void glk::PointCloudBuffer::add_buffer | ( | const std::string & | attribute_name, |
| int | dim, | ||
| const float * | data, | ||
| int | stride, | ||
| int | num_points | ||
| ) |
| void glk::PointCloudBuffer::add_color | ( | const std::vector< Eigen::Matrix< Scalar, 4, 1 >, Allocator > & | colors | ) |
| void glk::PointCloudBuffer::add_colormap | ( | const float * | data, |
| int | stride, | ||
| int | num_points, | ||
| float | scale = 1.0f |
||
| ) |
| void glk::PointCloudBuffer::add_intensity | ( | glk::COLORMAP | colormap, |
| const double * | intensities, | ||
| const int | num_points, | ||
| float | scale = 1.0f |
||
| ) |
| void glk::PointCloudBuffer::add_intensity | ( | glk::COLORMAP | colormap, |
| const float * | data, | ||
| int | stride, | ||
| int | num_points, | ||
| float | scale = 1.0f |
||
| ) |
| void glk::PointCloudBuffer::add_intensity | ( | glk::COLORMAP | colormap, |
| const float * | intensities, | ||
| const int | num_points, | ||
| float | scale = 1.0f |
||
| ) |
| void glk::PointCloudBuffer::add_intensity | ( | glk::COLORMAP | colormap, |
| const std::vector< double > & | intensities, | ||
| float | scale = 1.0f |
||
| ) |
| void glk::PointCloudBuffer::add_intensity | ( | glk::COLORMAP | colormap, |
| const std::vector< float > & | intensities, | ||
| float | scale = 1.0f |
||
| ) |
| void glk::PointCloudBuffer::add_normals | ( | const Eigen::Matrix< double, N, 1 > * | normals, |
| int | num_points | ||
| ) |
| void glk::PointCloudBuffer::add_normals | ( | const Eigen::Matrix< float, N, 1 > * | normals, |
| int | num_points | ||
| ) |
| void glk::PointCloudBuffer::add_normals | ( | const std::vector< Eigen::Matrix< double, N, 1 >, Allocator > & | normals | ) |
| void glk::PointCloudBuffer::add_normals | ( | const std::vector< Eigen::Matrix< float, N, 1 >, Allocator > & | normals | ) |
| void glk::PointCloudBuffer::bind | ( | glk::GLSLShader & | shader | ) | const |
| void glk::PointCloudBuffer::disable_partial_rendering | ( | ) |
|
overridevirtual |
Reimplemented from glk::Drawable.
| GLuint glk::PointCloudBuffer::ebo_id | ( | ) | const |
| const AuxBufferData & glk::PointCloudBuffer::get_aux_buffer | ( | int | i | ) | const |
| int glk::PointCloudBuffer::get_aux_size | ( | ) | const |
| size_t glk::PointCloudBuffer::memory_usage | ( | ) | const |
|
inline |
| void glk::PointCloudBuffer::unbind | ( | glk::GLSLShader & | shader | ) | const |
| void glk::PointCloudBuffer::update_buffer_with_indices | ( | const std::string & | attribute_name, |
| int | dim, | ||
| const float * | data, | ||
| int | stride, | ||
| const unsigned int * | indices, | ||
| int | num_indices | ||
| ) |
| void glk::PointCloudBuffer::update_buffer_with_indices | ( | GLuint | buffer, |
| const float * | data, | ||
| int | stride, | ||
| const unsigned int * | indices, | ||
| int | num_indices | ||
| ) |
| void glk::PointCloudBuffer::update_color_with_indices | ( | const Eigen::Vector4d * | colors, |
| const unsigned int * | indices, | ||
| int | num_indices | ||
| ) |
| void glk::PointCloudBuffer::update_color_with_indices | ( | const Eigen::Vector4f * | colors, |
| const unsigned int * | indices, | ||
| int | num_indices | ||
| ) |
| void glk::PointCloudBuffer::update_color_with_indices | ( | const std::vector< Eigen::Matrix< Scalar, 4, 1 >, Allocator > & | colors, |
| const std::vector< unsigned int > & | indices | ||
| ) |
| void glk::PointCloudBuffer::update_points_with_indices | ( | const Eigen::Vector3d * | points, |
| const unsigned int * | indices, | ||
| int | num_indices | ||
| ) |
| void glk::PointCloudBuffer::update_points_with_indices | ( | const Eigen::Vector3f * | points, |
| const unsigned int * | indices, | ||
| int | num_indices | ||
| ) |
| void glk::PointCloudBuffer::update_points_with_indices | ( | const Eigen::Vector4d * | points, |
| const unsigned int * | indices, | ||
| int | num_indices | ||
| ) |
| void glk::PointCloudBuffer::update_points_with_indices | ( | const Eigen::Vector4f * | points, |
| const unsigned int * | indices, | ||
| int | num_indices | ||
| ) |
| void glk::PointCloudBuffer::update_points_with_indices | ( | const float * | data, |
| int | stride, | ||
| const unsigned int * | indices, | ||
| int | num_indices | ||
| ) |
| void glk::PointCloudBuffer::update_points_with_indices | ( | const std::vector< Eigen::Matrix< Scalar, D, 1 >, Allocator > & | points, |
| const std::vector< unsigned int > & | indices | ||
| ) |
| GLuint glk::PointCloudBuffer::vba_id | ( | ) | const |
| GLuint glk::PointCloudBuffer::vbo_id | ( | ) | const |