Handles converting NDEVR API UUID objects into CAD HANDLE IDs.
More...
Handles converting NDEVR API UUID objects into CAD HANDLE IDs.
Definition at line 10 of file CADHandleManager.h.
◆ generateHandle()
| String CADHandleManager::generateHandle |
( |
const uint04 & | handle_index | ) |
|
Generates a hex string representation of a handle index.
- Parameters
-
| [in] | handle_index | The handle index. |
- Returns
- The hex string.
◆ generateTempHandleIndex()
| uint04 CADHandleManager::generateTempHandleIndex |
( |
| ) |
|
Generates a new temporary handle index.
- Returns
- The generated handle index.
◆ getHandleIndex() [1/2]
Gets or creates a handle index for the given name.
- Parameters
-
| [in] | handle_name | The handle name string. |
- Returns
- The handle index.
◆ getHandleIndex() [2/2]
| uint04 CADHandleManager::getHandleIndex |
( |
UUID | id | ) |
|
Gets or creates a handle index for the given UUID.
- Parameters
-
- Returns
- The handle index.
◆ getHandleUUID() [1/2]
| UUID CADHandleManager::getHandleUUID |
( |
const StringView & | handle_name | ) |
|
Returns the UUID associated with a named handle.
- Parameters
-
| [in] | handle_name | The handle name. |
- Returns
- The UUID.
◆ getHandleUUID() [2/2]
| UUID CADHandleManager::getHandleUUID |
( |
uint04 | handle | ) |
|
Returns the UUID associated with a handle index.
- Parameters
-
| [in] | handle | The handle index. |
- Returns
- The UUID.
◆ hasHandleIndex() [1/2]
| bool CADHandleManager::hasHandleIndex |
( |
const StringView & | handle_name | ) |
const |
Checks whether a handle exists for the given name.
- Parameters
-
| [in] | handle_name | The handle name string. |
- Returns
- True if a handle exists.
◆ hasHandleIndex() [2/2]
| bool CADHandleManager::hasHandleIndex |
( |
const UUID & | id | ) |
const |
Checks whether a handle exists for the given UUID.
- Parameters
-
| [in] | id | The UUID to look up. |
- Returns
- True if a handle exists.
◆ setHandleIndex() [1/2]
| void CADHandleManager::setHandleIndex |
( |
const StringView & | handle_name, |
|
|
uint04 | handle ) |
Associates a name with a handle index.
- Parameters
-
| [in] | handle_name | The name. |
| [in] | handle | The handle index. |
◆ setHandleIndex() [2/2]
| void CADHandleManager::setHandleIndex |
( |
const UUID & | handle_id, |
|
|
uint04 | handle ) |
Associates a UUID with a handle index.
- Parameters
-
| [in] | handle_id | The UUID. |
| [in] | handle | The handle index. |
◆ setHandleToUUID()
| void CADHandleManager::setHandleToUUID |
( |
const UUID & | handle_id, |
|
|
uint04 | handle ) |
Associates a handle index with a UUID in the reverse lookup.
- Parameters
-
| [in] | handle_id | The UUID. |
| [in] | handle | The handle index. |
◆ setTransfromCoords()
| void CADHandleManager::setTransfromCoords |
( |
uint04 | handle, |
|
|
const Matrix< fltp08 > & | transform ) |
Sets the transformation matrix for the given handle.
- Parameters
-
| [in] | handle | The handle index. |
| [in] | transform | The transformation matrix. |
◆ transfromCoords()
Returns the transformation matrix for the given handle.
- Parameters
-
| [in] | handle | The handle index. |
- Returns
- The transformation matrix.
The documentation for this class was generated from the following file: