NDEVR
API Documentation
PolylineMaker.h
1#pragma once
2#include <NDEVR/LineSegment.h>
3#include <NDEVR/Dictionary.h>
4#include <NDEVR/Buffer.h>
5namespace NDEVR
6{
14 {
15 public:
32 private:
33 Dictionary<uint04, Buffer<uint04>*> m_index_cache_right;
34 Dictionary<uint04, Buffer<uint04>*> m_index_cache_left;
35 Dictionary<Vertex<3, fltp04>, uint04> m_vertex_cache;
36 Buffer<Vertex<3, fltp04>>& m_polyline_vertices;
37 Buffer<Buffer<uint04>> m_completed_polys;
38 };
39}
The equivelent of std::vector but with a bit more control.
Definition Buffer.hpp:58
A hash-based key-value store, useful for quick associative lookups.
Definition Dictionary.h:64
Class: LineSegment.
Definition Line.hpp:52
Buffer< Buffer< uint04 > > getCalculatedPolylineIndices() const
Returns a list of all calculated polylines, with each buffer representing a different polyline based ...
void addSegment(const LineSegment< 3, fltp04 > &seg)
Adds a segment and creates indices, if needed, into the index cache.
PolylineMaker(Buffer< Vertex< 3, fltp04 > > &polyline_vertices)
Initializes with a series of vertices that will be possible nodes of the polyline.
A point in N-dimensional space, used primarily for spatial location information.
Definition Vertex.hpp:44
The primary namespace for the NDEVR SDK.
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...