OpenLexocad  27.0
DocProperties.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <map>
4 #include <set>
5 
6 namespace Core
7 {
8 class DocObject;
9 
14 struct LX_CORE_EXPORT DocProperties
15 {
16  unsigned int elements = 0;
17  unsigned int groups = 0;
18  unsigned int spatialElements = 0;
19 
20  unsigned int acisShapeFaceCnt = 0;
21 
22  unsigned int points = 0;
23  unsigned int curves = 0;
24  unsigned int surfaces = 0;
25 
26  unsigned int solids = 0;
27  unsigned int facetedBreps = 0;
28  unsigned int extrusions = 0;
29 
30  unsigned int polygonMeshes = 0;
31 
32  unsigned int texts = 0;
33  unsigned int texts2dSingleLine = 0;
34  unsigned int texts2dMultiLine = 0;
35  unsigned int texts3d = 0;
36 
37  unsigned int ivBlocks = 0;
38  unsigned int inventorImports = 0;
39  std::set<Core::DocObject*> inventorImportIvObjects;
40  unsigned int ifcBlocks = 0;
41  std::set<Core::DocObject*> ifcBlockIvObjects;
42 
43  unsigned int dimensions = 0;
44 
45  std::map<const Core::DocObject*, int> materialUsageCache;
46  unsigned int materialsUsed = 0;
47  unsigned int materialsNotUsed = 0;
48 
49  unsigned int componentsUsed = 0;
50  unsigned int componentsNotUsed = 0;
51 
52  unsigned int others = 0;
53 };
54 
55 } // namespace Core
std::set< Core::DocObject * > ifcBlockIvObjects
Definition: DocProperties.h:41
Definition: DocProperties.h:14
std::set< Core::DocObject * > inventorImportIvObjects
Definition: DocProperties.h:39
Definition: Base.h:19
std::map< const Core::DocObject *, int > materialUsageCache
Definition: DocProperties.h:45