OpenLexocad  27.1
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 
9 class BODY;
10 
11 namespace Topo
12 {
13 class LX_TOPO_EXPORT ShapeAttributes
14 {
15 public:
16  ShapeAttributes::ShapeAttributes();
17  virtual Topo::ShapeAttributes* getCopy() const = 0;
18 };
19 
20 
21 /* @brief: This class is needed and used to attach attributes to a shape. This is p.e. the case when
22  importing SAT files which have user defined attributes attached to an ENTITY. */
23 class LX_TOPO_EXPORT Cdwk_SAT_Attributes : public Topo::ShapeAttributes
24 {
25 public:
26  Cdwk_SAT_Attributes::Cdwk_SAT_Attributes() {}
27 
28  Topo::ShapeAttributes* getCopy() const;
29 
31  BODY* shapeBody; // The BODY this shape attribute belongs to
32  std::vector<BODY*> openings;
33 };
34 } // namespace Topo
Core::CdwkAttributeData attribute
Definition: ShapeAttributes.h:30
std::vector< BODY * > openings
Definition: ShapeAttributes.h:32
Definition: CdwkAttributeData.h:11
Definition: ShapeAttributes.h:13
Definition: Variant.h:55
Definition: ShapeAttributes.h:23
BODY * shapeBody
Definition: ShapeAttributes.h:31