CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
FxBIMFloor.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
21class CFxBIMFloorImpl;
22
23class CFxBIMFloor;
24typedef std::shared_ptr< CFxBIMFloor > CFxBIMFloorPtr;
25
27{
28 friend class CFxBIMFloorImpl;
29public:
30 virtual ~CFxBIMFloor();
31
32 static CFxBIMFloorPtr Create( const OdString& name, const OdGePlane& plane, double height, const OdGeMatrix3d& transform );
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 void SetOriginalTransform( const OdGeMatrix3d& oTransfrom );
45
46 //TODO: spatial / geom
47
48protected:
50
51protected:
52 std::shared_ptr< CFxBIMFloorImpl > m_pImpl;
53};
#define FXBIM_COMMON_CODE_API
Definition: FxBIM.h:21
std::shared_ptr< CFxBIMFloor > CFxBIMFloorPtr
Definition: FxBIMFloor.h:24
const OdString & Name() const
std::shared_ptr< CFxBIMFloorImpl > m_pImpl
Definition: FxBIMFloor.h:52
static CFxBIMFloorPtr Create(const OdString &name, const OdGePlane &plane, double height, const OdGeMatrix3d &transform)
void SetOriginalTransform(const OdGeMatrix3d &oTransfrom)
double Height() 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