CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
FxBIMFloor.h
Go to the documentation of this file.
1//
2// (C) Copyright 2020-2025 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#include "FxBIMBuilding.h"
21
22class CFxBIMFloorImpl;
23
24class CFxBIMFloor;
25typedef std::shared_ptr< CFxBIMFloor > CFxBIMFloorPtr;
26
28{
29 friend class CFxBIMFloorImpl;
30public:
31 virtual ~CFxBIMFloor();
32
34 OdDbObjectId idBimDatabase, const OdString& name, const OdString& building,
35 const OdGePlane& plane, double height, const OdGeMatrix3d& transform );
36
37 [[deprecated( "Use version that passes database id as a parameter" )]]
39 const OdGePlane& plane,
40 double height,
41 const OdGeMatrix3d& transform );
42
43 const OdString& Name() const;
45
47 void SetBuilding( CFxBIMBuildingPtr pBuilding );
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 void SetOriginalTransform( const OdGeMatrix3d& oTransfrom );
57
58 //TODO: spatial / geom
59
60protected:
62
63protected:
64 std::shared_ptr< CFxBIMFloorImpl > m_pImpl;
65};
std::shared_ptr< CFxBIMBuilding > CFxBIMBuildingPtr
#define FXBIM_COMMON_CODE_API
Definition FxBIMDefs.h:5
std::shared_ptr< CFxBIMFloor > CFxBIMFloorPtr
Definition FxBIMEntity.h:53
const OdString & Name() const
friend class CFxBIMFloorImpl
Definition FxBIMFloor.h:29
std::shared_ptr< CFxBIMFloorImpl > m_pImpl
Definition FxBIMFloor.h:64
static CFxBIMFloorPtr Create(const OdString &name, const OdGePlane &plane, double height, const OdGeMatrix3d &transform)
void SetBuilding(CFxBIMBuildingPtr pBuilding)
static CFxBIMFloorPtr Create(OdDbObjectId idBimDatabase, const OdString &name, const OdString &building, const OdGePlane &plane, double height, const OdGeMatrix3d &transform)
void SetOriginalTransform(const OdGeMatrix3d &oTransfrom)
double Height() const
CFxBIMBuildingPtr Building() const
virtual ~CFxBIMFloor()
void SetPlane(const OdGePlane &plane)
const OdGePlane & Plane() const
OdGeMatrix3d GetOriginalTransfrom() const
bool IsEqual(CFxBIMFloorPtr p)
void SetHeight(double height) const
GLuint const GLchar * name
Definition gles2_ext.h:265
GLint GLenum GLsizei GLsizei height
Definition gles2_ext.h:110