CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
FxBIMSpace.h
Go to the documentation of this file.
1//
2// (C) Copyright 2020-2023 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 "FxBIMFloor.h"
22#include <FMProfile2D.h>
23
24class CFxBIMSpaceImpl;
25
26class CFxBIMSpace;
27typedef std::shared_ptr< CFxBIMSpace > CFxBIMSpacePtr;
28
30{
31 friend class CFxBIMSpaceImpl;
32public:
33 virtual ~CFxBIMSpace();
34
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
55protected:
57
58protected:
59 std::shared_ptr< CFxBIMSpaceImpl > m_pImpl;
60};
#define FXBIM_COMMON_CODE_API
Definition: FxBIM.h:21
std::shared_ptr< CFxBIMFloor > CFxBIMFloorPtr
Definition: FxBIMEntity.h:50
std::shared_ptr< CFxBIMSpace > CFxBIMSpacePtr
Definition: FxBIMSpace.h:27
const OdString & Name() const
std::vector< CFxBIMSpacePtr > Children() const
const OdDbObjectId & Geometry() const
const OdGePlane & Plane() const
std::shared_ptr< CFxBIMSpaceImpl > m_pImpl
Definition: FxBIMSpace.h:59
CFxBIMSpacePtr Parent() const
static CFxBIMSpacePtr Create(const OdString &name)
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)
void SetPlane(const OdGePlane &plane)
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110