1#ifndef GLK_INDEXED_POINTCLOUD_BUFFER_HPP
2#define GLK_INDEXED_POINTCLOUD_BUFFER_HPP
10 IndexedPointCloudBuffer(
const std::shared_ptr<const glk::PointCloudBuffer>& cloud_buffer,
const unsigned int* indices,
int num_indices);
11 IndexedPointCloudBuffer(
const std::shared_ptr<const glk::PointCloudBuffer>& cloud_buffer,
const std::vector<unsigned int>& indices);
13 template <
typename Integral>
15 template <
typename Integral>
16 IndexedPointCloudBuffer(
const std::shared_ptr<const glk::PointCloudBuffer>& cloud_buffer,
const std::vector<Integral>& indices);
24 int size()
const {
return num_indices; }
27 std::shared_ptr<const glk::PointCloudBuffer> cloud_buffer;
Definition drawable.hpp:12
Definition glsl_shader.hpp:20
Definition indexed_pointcloud_buffer.hpp:8
IndexedPointCloudBuffer(const std::shared_ptr< const glk::PointCloudBuffer > &cloud_buffer, const unsigned int *indices, int num_indices)
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)
int size() const
Definition indexed_pointcloud_buffer.hpp:24
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
std::enable_if_t< needs_aligned_allocator< T >::value, std::shared_ptr< T > > make_shared(Args &&... args)
Definition make_shared.hpp:20