IndexedPointCloudBuffer is a drawable that represents a point cloud with an index buffer. It is useful for rendering a subset of points without duplicating the point cloud data.
More...
#include <indexed_pointcloud_buffer.hpp>
IndexedPointCloudBuffer is a drawable that represents a point cloud with an index buffer. It is useful for rendering a subset of points without duplicating the point cloud data.
◆ IndexedPointCloudBuffer() [1/4]
| glk::IndexedPointCloudBuffer::IndexedPointCloudBuffer |
( |
const std::shared_ptr< const glk::PointCloudBuffer > & | cloud_buffer, |
|
|
const unsigned int * | indices, |
|
|
int | num_indices ) |
Constructor.
- Parameters
-
| cloud_buffer | Shared pointer to the point cloud buffer. |
| indices | Pointer to the index buffer. |
| num_indices | Number of indices in the index buffer. |
◆ IndexedPointCloudBuffer() [2/4]
| glk::IndexedPointCloudBuffer::IndexedPointCloudBuffer |
( |
const std::shared_ptr< const glk::PointCloudBuffer > & | cloud_buffer, |
|
|
const std::vector< unsigned int > & | indices ) |
Constructor.
- Parameters
-
| cloud_buffer | Shared pointer to the point cloud buffer. |
| indices | Vector of indices. |
◆ IndexedPointCloudBuffer() [3/4]
template<typename Integral>
| glk::IndexedPointCloudBuffer::IndexedPointCloudBuffer |
( |
const std::shared_ptr< const glk::PointCloudBuffer > & | cloud_buffer, |
|
|
const Integral * | indices, |
|
|
int | num_indices ) |
◆ IndexedPointCloudBuffer() [4/4]
template<typename Integral>
| glk::IndexedPointCloudBuffer::IndexedPointCloudBuffer |
( |
const std::shared_ptr< const glk::PointCloudBuffer > & | cloud_buffer, |
|
|
const std::vector< Integral > & | indices ) |
◆ ~IndexedPointCloudBuffer()
| virtual glk::IndexedPointCloudBuffer::~IndexedPointCloudBuffer |
( |
| ) |
|
|
overridevirtual |
◆ draw()
| virtual void glk::IndexedPointCloudBuffer::draw |
( |
glk::GLSLShader & | shader | ) |
const |
|
overridevirtual |
◆ ebo_id()
| GLuint glk::IndexedPointCloudBuffer::ebo_id |
( |
| ) |
const |
◆ size()
| int glk::IndexedPointCloudBuffer::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: