PointNormalsBuffer is a drawable that represents a point cloud with normals.
More...
#include <pointnormals_buffer.hpp>
|
| | PointNormalsBuffer (const float *vertices, size_t vertex_stride, const float *normals, size_t normal_stride, int num_points, double normal_length) |
| | Constructor.
|
| template<template< class > class Allocator> |
| | PointNormalsBuffer (const std::vector< Eigen::Vector3f, Allocator< Eigen::Vector3f > > &vertices, const std::vector< Eigen::Vector3f, Allocator< Eigen::Vector3f > > &normals, double normal_length) |
| virtual | ~PointNormalsBuffer () override |
| virtual void | draw (glk::GLSLShader &shader) const override |
| virtual | ~Drawable () |
PointNormalsBuffer is a drawable that represents a point cloud with normals.
◆ Ptr
◆ PointNormalsBuffer() [1/2]
| glk::PointNormalsBuffer::PointNormalsBuffer |
( |
const float * | vertices, |
|
|
size_t | vertex_stride, |
|
|
const float * | normals, |
|
|
size_t | normal_stride, |
|
|
int | num_points, |
|
|
double | normal_length ) |
Constructor.
- Parameters
-
| vertices | Vertex positions |
| vertex_stride | Stride (in bytes) between consecutive vertices |
| normals | Normal vectors |
| normal_stride | Stride (in bytes) between consecutive normals |
| num_points | Number of points |
| normal_length | Length of the normal vectors |
◆ PointNormalsBuffer() [2/2]
template<template< class > class Allocator>
| glk::PointNormalsBuffer::PointNormalsBuffer |
( |
const std::vector< Eigen::Vector3f, Allocator< Eigen::Vector3f > > & | vertices, |
|
|
const std::vector< Eigen::Vector3f, Allocator< Eigen::Vector3f > > & | normals, |
|
|
double | normal_length ) |
◆ ~PointNormalsBuffer()
| virtual glk::PointNormalsBuffer::~PointNormalsBuffer |
( |
| ) |
|
|
overridevirtual |
◆ draw()
| virtual void glk::PointNormalsBuffer::draw |
( |
glk::GLSLShader & | shader | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file: