OpenLexocad  27.0
ShapeAttributes.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Base/Color.h>
4 #include <Base/GlobalId.h>
5 #include <Base/String.h>
7 #include <Geom/Ax2.h>
8 #include <Topo/topo_defines.h>
9 
10 class BODY;
11 
12 namespace Topo
13 {
15 {
16 public:
17  ShapeAttributes::ShapeAttributes();
18  virtual Topo::ShapeAttributes* getCopy() const = 0;
19 };
20 
21 
22 /* @brief: This class is needed and used to attach attributes to a shape. This is p.e. the case when
23  importing SAT files which have user defined attributes attached to an ENTITY. */
25 {
26 public:
27  Cdwk_SAT_Attributes::Cdwk_SAT_Attributes() {}
28 
29  Topo::ShapeAttributes* getCopy() const;
30 
32  BODY* shapeBody; // The BODY this shape attribute belongs to
33  std::vector<BODY*> openings;
34 };
35 } // namespace Topo
#define TOPO_EXPORT
Definition: topo_defines.h:8
Core::CdwkAttributeData attribute
Definition: ShapeAttributes.h:31
std::vector< BODY * > openings
Definition: ShapeAttributes.h:33
Definition: CdwkAttributeData.h:12
Definition: ShapeAttributes.h:14
Definition: Variant.h:70
Definition: ShapeAttributes.h:24
BODY * shapeBody
Definition: ShapeAttributes.h:32