CFx SDK Documentation  2023 SP0
FxBIMFloor.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 class CFxBIMFloorImpl;
22 
23 class CFxBIMFloor;
24 typedef std::shared_ptr< CFxBIMFloor > CFxBIMFloorPtr;
25 
27 {
28  friend class CFxBIMFloorImpl;
29 public:
30  virtual ~CFxBIMFloor();
31 
32  static CFxBIMFloorPtr Create( const OdString& name, const OdGePlane& plane, double height );
33 
34  const OdString& Name() const;
36 
37  const OdGePlane& Plane() const;
38  void SetPlane( const OdGePlane& plane );
39 
40  double Height() const;
41  void SetHeight( double height ) const;
42 
43  //TODO: spatial / geom
44 
45 protected:
47 
48 protected:
49  std::shared_ptr< CFxBIMFloorImpl > m_pImpl;
50 };
#define FXBIM_API
Definition: FxBIM.h:20
std::shared_ptr< CFxBIMFloor > CFxBIMFloorPtr
Definition: FxBIMEntity.h:45
std::shared_ptr< CFxBIMFloor > CFxBIMFloorPtr
Definition: FxBIMFloor.h:23
std::shared_ptr< CFxBIMFloorImpl > m_pImpl
Definition: FxBIMFloor.h:49
const OdGePlane & Plane() const
double Height() const
virtual ~CFxBIMFloor()
void SetPlane(const OdGePlane &plane)
static CFxBIMFloorPtr Create(const OdString &name, const OdGePlane &plane, double height)
bool IsEqual(CFxBIMFloorPtr p)
const OdString & Name() const
void SetHeight(double height) const
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110