API Documentation
Loading...
Searching...
No Matches
CADHandleManager Class Reference

Handles converting NDEVR API UUID objects into CAD HANDLE IDs. More...

#include <CADHandleManager.h>

Collaboration diagram for CADHandleManager:
[legend]

Public Member Functions

 CADHandleManager ()
 
String generateHandle (const uint04 &handle_index)
 
uint04 generateTempHandleIndex ()
 
uint04 getHandleIndex (const String &handle_name)
 
uint04 getHandleIndex (UUID id)
 
UUID getHandleUUID (const String &handle_name)
 
UUID getHandleUUID (uint04 handle)
 
bool hasHandleIndex (const String &handle_name) const
 
bool hasHandleIndex (const UUID &id) const
 
void resetAll ()
 
void resetTempHandles ()
 
void setHandleIndex (const String &handle_name, uint04 handle)
 
void setHandleIndex (const UUID &handle_id, uint04 handle)
 
void setHandleToUUID (const UUID &handle_id, uint04 handle)
 
void setTransfromCoords (uint04 handle, const Matrix< fltp08 > &transform)
 
Matrix< fltp08transfromCoords (uint04 handle) const
 

Protected Attributes

Dictionary< uint04, UUIDm_handle_ids
 
Dictionary< uint04, Stringm_handle_names
 
Dictionary< UUID, uint04m_id_handles
 
Dictionary< String, uint04m_named_handles
 
uint04 m_object_handle_generator = 64
 
uint04 m_temp_handle_generator = Constant<uint04>::Max / 8
 
Dictionary< uint04, Matrix< fltp08 > > m_transform_coords
 

Detailed Description

Handles converting NDEVR API UUID objects into CAD HANDLE IDs.


Constructor & Destructor Documentation

◆ CADHandleManager()

Member Function Documentation

◆ generateHandle()

String generateHandle ( const uint04 & handle_index)

◆ generateTempHandleIndex()

uint04 generateTempHandleIndex ( )

◆ getHandleIndex() [1/2]

uint04 getHandleIndex ( const String & handle_name)

◆ getHandleIndex() [2/2]

uint04 getHandleIndex ( UUID id)

◆ getHandleUUID() [1/2]

UUID getHandleUUID ( const String & handle_name)

◆ getHandleUUID() [2/2]

UUID getHandleUUID ( uint04 handle)

◆ hasHandleIndex() [1/2]

bool hasHandleIndex ( const String & handle_name) const

◆ hasHandleIndex() [2/2]

bool hasHandleIndex ( const UUID & id) const

◆ resetAll()

void resetAll ( )

◆ resetTempHandles()

void resetTempHandles ( )

◆ setHandleIndex() [1/2]

void setHandleIndex ( const String & handle_name,
uint04 handle )

◆ setHandleIndex() [2/2]

void setHandleIndex ( const UUID & handle_id,
uint04 handle )

◆ setHandleToUUID()

void setHandleToUUID ( const UUID & handle_id,
uint04 handle )

◆ setTransfromCoords()

void setTransfromCoords ( uint04 handle,
const Matrix< fltp08 > & transform )

◆ transfromCoords()

Matrix< fltp08 > transfromCoords ( uint04 handle) const

Member Data Documentation

◆ m_handle_ids

Dictionary<uint04, UUID> m_handle_ids
protected

◆ m_handle_names

Dictionary<uint04, String> m_handle_names
protected

◆ m_id_handles

Dictionary<UUID, uint04> m_id_handles
protected

◆ m_named_handles

Dictionary<String, uint04> m_named_handles
protected

◆ m_object_handle_generator

uint04 m_object_handle_generator = 64
protected

◆ m_temp_handle_generator

uint04 m_temp_handle_generator = Constant<uint04>::Max / 8
protected

◆ m_transform_coords

Dictionary<uint04, Matrix<fltp08> > m_transform_coords
protected

The documentation for this class was generated from the following file: