API Documentation
Loading...
Searching...
No Matches
DesignSelection.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/Model.h>
3#include <NDEVR/Geometry.h>
4#include <NDEVR/SelectionArea.h>
5namespace NDEVR
6{
7 struct GeometryVertices;
19 {
20 public:
22 void clear();
23 const UUID& uuid() const;
24 bool processBoundsSelection(Buffer<uint04>& indices, PrimitiveMode index_mode);
25 Bounds<3, fltp08> bounds() const;
26 bool processBoundsSelection(Buffer<bool>& indices, PrimitiveMode index_mode);
27 void createDiff(const DesignSelection& new_info, DesignSelection& removed, DesignSelection& added) const;
28 void getEnclosedVertices(GeometryVertices& vertices, fltp08 line_vertex_spacing = Constant<fltp08>::NaN, fltp08 surface_vertex_spacing = Constant<fltp08>::NaN) const;
32 };
33}
#define NDEVR_DESIGN_API
Definition DLLInfo.h:77
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:57
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition DesignSelection.h:19
UUID id
Definition DesignSelection.h:29
Buffer< EnclosedModelInfo > enclosed_info
Definition DesignSelection.h:30
Buffer< SelectionArea< 3, fltp08 > > selection_areas
Definition DesignSelection.h:31
Definition DesignSelection.h:9
Buffer< bool > shape_select_mask
Definition DesignSelection.h:16
Geometry geo
Definition DesignSelection.h:12
Model model
Definition DesignSelection.h:11
Buffer< bool > vertex_select_mask
Definition DesignSelection.h:15
Buffer< uint04 > vertex_indices
Definition DesignSelection.h:13
Buffer< uint04 > shape_indices
Definition DesignSelection.h:14
Definition Geometry.h:64
Definition Model.h:54
Definition UUID.h:66
Definition ACIColor.h:37
PrimitiveMode
Definition DesignObjectBase.h:113
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:181
Definition BaseValues.hpp:272
Definition GeometryVertices.h:14