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

#include <CADHandleManager.h>

Collaboration diagram for CADHandleManager:
[legend]

Public Member Functions

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

Protected Attributes

uint04 m_temp_handle_generator = Constant<uint04>::Max / 8
 
uint04 m_object_handle_generator = 64
 
Dictionary< String, uint04m_named_handles
 
Dictionary< UUID, uint04m_id_handles
 
Dictionary< uint04, Stringm_handle_names
 
Dictionary< uint04, Matrix< fltp08 > > m_transform_coords
 
Dictionary< uint04, UUIDm_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 files: