CFx SDK Documentation  2023 SP0
FxBIMSpace.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2020-2022 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "FxBIM.h"
20 
21 #include <sdk/FxBIMFloor.h>
22 #include <FMProfile2D.h>
23 
24 class CFxBIMSpaceImpl;
25 
26 class CFxBIMSpace;
27 typedef std::shared_ptr< CFxBIMSpace > CFxBIMSpacePtr;
28 
30 {
31  friend class CFxBIMSpaceImpl;
32 public:
33  virtual ~CFxBIMSpace();
34 
35  static CFxBIMSpacePtr Create( const OdString& name );
36 
37  const OdString& Name() const;
39 
41  void SetFloor( CFxBIMFloorPtr pFloor );
42 
44  std::vector< CFxBIMSpacePtr > Children() const;
45 
46  const OdDbObjectId& Geometry() const;
47  void SetGeometry( const OdDbObjectId& geometry );
48 
49  const OdGePlane& Plane() const;
50  void SetPlane( const OdGePlane& plane );
51 
52  double Height() const;
53  void SetHeight( double height ) const;
54 
55 protected:
57 
58 protected:
59  std::shared_ptr< CFxBIMSpaceImpl > m_pImpl;
60 };
#define FXBIM_API
Definition: FxBIM.h:20
std::shared_ptr< CFxBIMSpace > CFxBIMSpacePtr
Definition: FxBIMEntity.h:42
std::shared_ptr< CFxBIMFloor > CFxBIMFloorPtr
Definition: FxBIMEntity.h:45
std::shared_ptr< CFxBIMSpace > CFxBIMSpacePtr
Definition: FxBIMSpace.h:26
std::vector< CFxBIMSpacePtr > Children() const
const OdString & Name() const
std::shared_ptr< CFxBIMSpaceImpl > m_pImpl
Definition: FxBIMSpace.h:59
CFxBIMSpacePtr Parent() const
static CFxBIMSpacePtr Create(const OdString &name)
const OdGePlane & Plane() const
void SetFloor(CFxBIMFloorPtr pFloor)
void SetGeometry(const OdDbObjectId &geometry)
CFxBIMFloorPtr Floor() const
void SetHeight(double height) const
double Height() const
virtual ~CFxBIMSpace()
bool IsEqual(CFxBIMSpacePtr p)
const OdDbObjectId & Geometry() const
void SetPlane(const OdGePlane &plane)
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110