CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
aec_inc
Subobjects
Space
AECSpaceSurfaceData.h
Go to the documentation of this file.
1
2
// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3
// All rights reserved.
4
//
5
// This software and its documentation and related materials are owned by
6
// the Alliance. The software may only be incorporated into application
7
// programs owned by members of the Alliance, subject to a signed
8
// Membership Agreement and Supplemental Software License Agreement with the
9
// Alliance. The structure and organization of this software are the valuable
10
// trade secrets of the Alliance and its suppliers. The software is also
11
// protected by copyright law and international treaty provisions. Application
12
// programs incorporating this software must include the following statement
13
// with their copyright notices:
14
//
15
// This application incorporates Open Design Alliance software pursuant to a
16
// license agreement with Open Design Alliance.
17
// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18
// All rights reserved.
19
//
20
// By use of this software, its documentation or related materials, you
21
// acknowledge and accept the above terms.
23
24
#ifndef __AECSPACESURFACEDATA_H__
25
#define __AECSPACESURFACEDATA_H__
26
27
#include "
Subobjects/AECImpArray.h
"
28
#include "
Subobjects/Space/AECSpaceDefs.h
"
29
#include "
Subobjects/Space/AECSpaceSurfaceComponent.h
"
30
35
class
AECARCHBASE_API
AECSpaceSurfaceData
:
public
AECImpObj
{
36
// Contains common declarations from OdRxObject interface
37
AEC_DECLARE_MEMBERS
(
AECSpaceSurfaceData
);
38
39
AECSpaceDefs::SurfaceType
GetSurfaceType( )
const
;
40
void
SetSurfaceType(
AECSpaceDefs::SurfaceType
type
);
41
42
const
OdString
& GetName( )
const
;
43
void
SetName(
const
OdString
&
name
);
44
45
const
OdDbObjectId
& GetStyle( )
const
;
46
void
SetStyle(
const
OdDbObjectId
& idStyle );
47
48
double
GetThickness( )
const
;
49
void
SetThickness(
double
thickness );
50
51
const
OdDbObjectId
& GetProperties( )
const
;
52
void
SetProperties(
const
OdDbObjectId
& props );
53
void
DeleteProperties();
54
/*
55
void SetToStandardStyle( OdDbDatabase* pDb, bool bAssociative );
56
void CopyProperties( const OdDbObjectId& props );
57
void GetProperty( const OdString& strPropName, AECVariant& varData, AecUnitType& unitType ) const;
58
void GetPropertyGlobal( const OdString& strGlobalName, AECVariant& varData, AECUnitType& unitType ) const;
59
void SetProperty( const OdString& strGlobalName, const OdString& strPropName, AECVariant& varData, AECUnitType& unitType );
60
*/
61
62
AECImpArraySubPtr
Components()
const
;
63
64
protected
:
65
OdString
m_sName
;
66
AECSpaceDefs::SurfaceType
m_type
;
67
OdDbObjectId
m_style
;
68
OdDbObjectId
m_props
;
69
double
m_dThickness
;
70
AECImpArray
m_aComponents
;
71
};
72
73
inline
AECImpArraySubPtr
74
AECSpaceSurfaceData::Components()
const
{
75
return
&
m_aComponents
;
76
}
77
78
#endif
// __AECSPACESURFACE_H__
AECImpArray.h
AEC_DECLARE_MEMBERS
#define AEC_DECLARE_MEMBERS(ClassName)
Definition:
AECMacros.h:54
AECSpaceDefs.h
AECSpaceSurfaceComponent.h
AECImpArray
Definition:
AECImpArray.h:35
AECImpObj
Definition:
AECImpObj.h:35
AECSpaceSurfaceData
Definition:
AECSpaceSurfaceData.h:35
AECSpaceSurfaceData::m_aComponents
AECImpArray m_aComponents
Definition:
AECSpaceSurfaceData.h:70
AECSpaceSurfaceData::m_style
OdDbObjectId m_style
Definition:
AECSpaceSurfaceData.h:67
AECSpaceSurfaceData::m_type
AECSpaceDefs::SurfaceType m_type
Definition:
AECSpaceSurfaceData.h:66
AECSpaceSurfaceData::m_sName
OdString m_sName
Definition:
AECSpaceSurfaceData.h:65
AECSpaceSurfaceData::m_props
OdDbObjectId m_props
Definition:
AECSpaceSurfaceData.h:68
AECSpaceSurfaceData::m_dThickness
double m_dThickness
Definition:
AECSpaceSurfaceData.h:69
AECSubPtr
Definition:
AECSubPtr.h:74
OdDbObjectId
Definition:
DbObjectId.h:91
OdString
Definition:
OdString.h:95
name
GLuint const GLchar * name
Definition:
gles2_ext.h:265
type
GLuint GLsizei GLsizei GLint GLenum * type
Definition:
gles2_ext.h:274
AECSpaceDefs::SurfaceType
SurfaceType
Definition:
AECSpaceDefs.h:35
Generated on Wed Apr 5 2023 17:28:00