API Documentation
Loading...
Searching...
No Matches
QuickVisualization.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/Buffer.h>
4#include <NDEVR/String.h>
5#include <NDEVR/Vertex.h>
6namespace NDEVR
7{
8 class Model;
9 /**--------------------------------------------------------------------------------------------------
10 \brief Allows for the creation of Models that represent points or linework quickly and efficiently
11 **/
13 {
14 public:
16 {
19 : vertices(vertices)
20 {}
22 : vertices(vertices)
23 , labels(labels)
24 {}
27 uint04 start_index = 0;
28 uint04 index_per_label = 1;
29 fltp04 extra_reserve_factor = 1.0;
30 bool connect_linework = false;
31 };
32 static void SetupCoordinateModel(Model& model, const VertexVisualizationOptions& options);
33 };
34}
#define NDEVR_DESIGN_API
Definition DLLInfo.h:55
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A core class that represents a node on model heirarchy. This node may contain a Geometry or one or mo...
Definition Model.h:58
Allows for the creation of Models that represent points or linework quickly and efficiently.
Definition QuickVisualization.h:13
static void SetupCoordinateModel(Model &model, const VertexVisualizationOptions &options)
A vertex or point. A specific type of Vector used primarily for spacial location information.
Definition Vertex.hpp:48
Definition ACIColor.h:37
float fltp04
Defines an alias representing a 4 byte floating-point number Bit layout is as follows: -Sign: 1 bit a...
Definition BaseValues.hpp:127
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
VertexVisualizationOptions()
Definition QuickVisualization.h:17
VertexVisualizationOptions(const Buffer< Vertex< 3, fltp08 > > &vertices)
Definition QuickVisualization.h:18
Buffer< Vertex< 3, fltp08 > > vertices
Definition QuickVisualization.h:25
Buffer< String > labels
Definition QuickVisualization.h:26
VertexVisualizationOptions(const Buffer< Vertex< 3, fltp08 > > &vertices, const Buffer< String > &labels)
Definition QuickVisualization.h:21