API Documentation
Loading...
Searching...
No Matches
CADHandleManager.h
Go to the documentation of this file.
1#pragma once
3#include "Base/Headers/UUID.h"
5namespace NDEVR
6{
7 /**--------------------------------------------------------------------------------------------------
8 \brief Handles converting NDEVR API UUID objects into CAD HANDLE IDs.
9 **/
38}
Handles converting NDEVR API UUID objects into CAD HANDLE IDs.
Definition CADHandleManager.h:11
bool hasHandleIndex(const UUID &id) const
void setTransfromCoords(uint04 handle, const Matrix< fltp08 > &transform)
Matrix< fltp08 > transfromCoords(uint04 handle) const
void setHandleIndex(const UUID &handle_id, uint04 handle)
Dictionary< String, uint04 > m_named_handles
Definition CADHandleManager.h:32
UUID getHandleUUID(uint04 handle)
uint04 m_object_handle_generator
Definition CADHandleManager.h:31
String generateHandle(const uint04 &handle_index)
void setHandleIndex(const String &handle_name, uint04 handle)
void setHandleToUUID(const UUID &handle_id, uint04 handle)
UUID getHandleUUID(const String &handle_name)
uint04 getHandleIndex(UUID id)
uint04 m_temp_handle_generator
Definition CADHandleManager.h:30
uint04 generateTempHandleIndex()
Dictionary< uint04, Matrix< fltp08 > > m_transform_coords
Definition CADHandleManager.h:35
bool hasHandleIndex(const String &handle_name) const
Dictionary< uint04, String > m_handle_names
Definition CADHandleManager.h:34
uint04 getHandleIndex(const String &handle_name)
Dictionary< UUID, uint04 > m_id_handles
Definition CADHandleManager.h:33
Dictionary< uint04, UUID > m_handle_ids
Definition CADHandleManager.h:36
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
Definition Matrix.hpp:176
The core String class for the NDEVR API.
Definition String.h:69
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
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233