LayOut C API

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
selectionset.h
Go to the documentation of this file.
1 // Copyright 2022 Trimble Inc. All rights reserved.
2 // This file is intended for public distribution.
3
4 #ifndef LAYOUT_MODEL_SELECTIONSET_H_
5 #define LAYOUT_MODEL_SELECTIONSET_H_
6
7 #include <LayOutAPI/common.h>
8 #include <LayOutAPI/model/defs.h>
9
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
30 LO_RESULT LOSelectionSetAddEntity(LOSelectionSetRef selection_set, LOEntityRef entity);
31
41 LO_RESULT LOSelectionSetAddEntities(LOSelectionSetRef selection_set, LOEntityListRef entities);
42
52 LO_RESULT LOSelectionSetSelectEntity(LOSelectionSetRef selection_set, LOEntityRef entity);
53
63 LO_RESULT LOSelectionSetSelectEntities(LOSelectionSetRef selection_set, LOEntityListRef entities);
64
74 LO_RESULT LOSelectionSetRemoveEntity(LOSelectionSetRef selection_set, LOEntityRef entity);
75
85 LO_RESULT LOSelectionSetRemoveEntities(LOSelectionSetRef selection_set, LOEntityListRef entities);
86
95 LO_RESULT LOSelectionSetClear(LOSelectionSetRef selection_set);
96
107 LO_RESULT LOSelectionSetGetNumberOfEntities(LOSelectionSetRef selection_set, size_t* num_entities);
108
122 LO_RESULT LOSelectionSetGetEntityAtIndex(
123 LOSelectionSetRef selection_set, size_t index, LOEntityRef* entity);
124
125 #ifdef __cplusplus
126 } // extern "C" {
127 #endif
128
129 #endif // LAYOUT_MODEL_SELECTIONSET_H_