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;
8
9 /**--------------------------------------------------------------------------------------------------
10 \brief A reference to some included Geometry or Model data included in a DesignSelection
11 **/
22 /**--------------------------------------------------------------------------------------------------
23 \brief A simple structure for storing a collection of data
24 **/
40}
#define NDEVR_DESIGN_API
Definition DLLInfo.h:55
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:52
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A simple structure for storing a collection of data.
Definition DesignSelection.h:26
UUID id
Definition DesignSelection.h:36
Buffer< EnclosedModelInfo > enclosed_info
Definition DesignSelection.h:37
Buffer< SelectionArea< 3, fltp08 > > selection_areas
Definition DesignSelection.h:38
void createDiff(const DesignSelection &new_info, DesignSelection &removed, DesignSelection &added) const
void getEnclosedVertices(GeometryVertices &vertices, fltp08 line_vertex_spacing=Constant< fltp08 >::Invalid, fltp08 surface_vertex_spacing=Constant< fltp08 >::Invalid) const
bool processBoundsSelection(Buffer< bool > &indices, PrimitiveMode index_mode)
const UUID & uuid() const
Bounds< 3, fltp08 > bounds() const
bool processBoundsSelection(Buffer< uint04 > &indices, PrimitiveMode index_mode)
A reference to some included Geometry or Model data included in a DesignSelection.
Definition DesignSelection.h:13
Buffer< bool > shape_select_mask
Definition DesignSelection.h:20
Geometry geo
Definition DesignSelection.h:16
Model model
Definition DesignSelection.h:15
Buffer< bool > vertex_select_mask
Definition DesignSelection.h:19
Buffer< uint04 > vertex_indices
Definition DesignSelection.h:17
Buffer< uint04 > shape_indices
Definition DesignSelection.h:18
A core class within the model heirarchy containing vertex-based data (Usually 3D data) within a set c...
Definition Geometry.h:64
A core class that represents a node on model heirarchy. This node may contain a Geometry or one or mo...
Definition Model.h:58
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60
Definition ACIColor.h:37
PrimitiveMode
Used with Geometry to describe how vertices and indices are used to form shapes.
Definition DesignObjectBase.h:116
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233
An container for storing some number of vertices for editing.
Definition GeometryVertices.h:18