NDEVR
API Documentation
GeometrySelectionOptimizer.h
1#pragma once
2#include <NDEVR/Geometry.h>
3#include <NDEVR/SelectionArea.h>
4namespace NDEVR
5{
22
30 {
31 public:
39 virtual void processSelection(OptimizedSelection& selection) = 0;
40 };
41
42}
The equivelent of std::vector but with a bit more control.
Definition Buffer.hpp:58
Interface for processing and optimizing geometry selections.
virtual void processSelection(OptimizedSelection &selection)=0
Processes the given selection, populating its indices and mask based on the selection area and geomet...
A core class within the model hierarchy containing vertex-based data (Usually 3D data) within a set c...
Definition Geometry.h:143
An area of N-dimensional space that is considered selected.
The primary namespace for the NDEVR SDK.
PrimitiveMode
Used with Geometry to describe how vertices and indices are used to form shapes.
float fltp04
Defines an alias representing a 4 byte floating-point number Bit layout is as follows: -Sign: 1 bit a...
PrimitiveProperty
Describes which rendering property a primitive index buffer corresponds to.
Stores the state and results of an indexed geometry selection operation.
fltp04 local_distance
The local-space distance threshold used for proximity-based selection.
SelectionArea< 3, fltp04 > area
The 3D selection area used to determine the selection region.
PrimitiveMode primitive_mode
The primitive mode (e.g., triangles, lines) of the geometry being selected.
Buffer< uint04 > indices
Indices of the selected primitives or vertices.
PrimitiveProperty primitive_property
The rendering property (e.g., Solid, Outline) of the primitives being selected.
Buffer< bool > selection_mask
Per-element mask indicating whether each element is selected.
Geometry geo
The geometry being selected from.