1#ifndef GLK_INDEXED_POINTCLOUD_BUFFER_HPP
2#define GLK_INDEXED_POINTCLOUD_BUFFER_HPP
16 IndexedPointCloudBuffer(
const std::shared_ptr<const glk::PointCloudBuffer>& cloud_buffer,
const unsigned int* indices,
int num_indices);
21 IndexedPointCloudBuffer(
const std::shared_ptr<const glk::PointCloudBuffer>& cloud_buffer,
const std::vector<unsigned int>& indices);
23 template <
typename Integral>
24 IndexedPointCloudBuffer(
const std::shared_ptr<const glk::PointCloudBuffer>& cloud_buffer,
const Integral* indices,
int num_indices);
26 template <
typename Integral>
27 IndexedPointCloudBuffer(
const std::shared_ptr<const glk::PointCloudBuffer>& cloud_buffer,
const std::vector<Integral>& indices);
35 int size()
const {
return num_indices; }
38 std::shared_ptr<const glk::PointCloudBuffer> cloud_buffer;
Definition drawable.hpp:12
GLSLShader is a wrapper for OpenGL shader programs.
Definition glsl_shader.hpp:49
IndexedPointCloudBuffer(const std::shared_ptr< const glk::PointCloudBuffer > &cloud_buffer, const unsigned int *indices, int num_indices)
Constructor.
IndexedPointCloudBuffer(const std::shared_ptr< const glk::PointCloudBuffer > &cloud_buffer, const Integral *indices, int num_indices)
IndexedPointCloudBuffer(const std::shared_ptr< const glk::PointCloudBuffer > &cloud_buffer, const std::vector< unsigned int > &indices)
Constructor.
int size() const
Definition indexed_pointcloud_buffer.hpp:35
virtual ~IndexedPointCloudBuffer() override
IndexedPointCloudBuffer(const std::shared_ptr< const glk::PointCloudBuffer > &cloud_buffer, const std::vector< Integral > &indices)
virtual void draw(glk::GLSLShader &shader) const override
Definition async_buffer_copy.hpp:6