CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
AECDbMassElem.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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 __AECDBMASSELEM_H__
25#define __AECDBMASSELEM_H__
26
27#include "DbEntity/AECDbGeo.h"
29#include "Geometry/AECMesh.h"
30#include "Modeler/FMMdlBody.h"
31
32class AECDbMassElem;
34
40class AECBASE_API AECDbMassElem : public AECDbGeo
41{
43
45
46 public:
68
69 public:
73 Type GetType() const;
74
78 void SetType( Type eType );
79
83 double GetDepth() const;
84
88 void SetDepth( double dDepth );
89
93 double GetHeight() const;
94
98 void SetHeight( double dHeight );
99
103 double GetRise() const;
104
108 void SetRise( double dRise );
109
113 double GetRadius() const;
114
118 void SetRadius( double dRadius );
119
123 double GetWidth() const;
124
128 void SetWidth( double dWidth );
129
134
138 void SetProfile( const OdDbObjectId& idProfileDef );
139
144
153
158
165 void SetBody(const FacetModeler::Body& rBody);
166
171
172 public:
183 const OdDbObjectId& idMassElemStyle );
184
189
193 static void SetColorsForEachFaceEnbaled(bool bIsEnable);
194};
195
196#endif //__AECDBMASSELEM_H__
OdSmartPtr< AECDbMassElem > AECDbMassElemPtr
AECSubPtr< AECGeProfile > AECGeProfileSubPtr
#define CURVE_DECLARE_MEMBERS()
Definition AECMacros.h:34
#define AEC_DECLARE_MEMBERS(ClassName)
Definition AECMacros.h:54
void SetType(Type eType)
static bool GetColorsForEachFaceEnbaled()
void SetHeight(double dHeight)
FacetModeler::Body GetBody() const
double GetRise() const
AECGeProfileSubPtr GetEmbeddedProfile() const
static AECDbMassElemPtr CreateAECObject(const OdDbObjectId &idBlock, const OdDbObjectId &idMassElemStyle)
void SetRise(double dRise)
void SetDepth(double dDepth)
void SetRadius(double dRadius)
double GetHeight() const
double GetDepth() const
void SetProfile(const OdDbObjectId &idProfileDef)
Type GetType() const
static void SetColorsForEachFaceEnbaled(bool bIsEnable)
void GetBaseProfile(FacetModeler::Profile2D &cProfile) const
double GetRadius() const
OdDbObjectId GetOwnerGroup() const
double GetWidth() const
OdDbObjectId GetProfile() const
void SetWidth(double dWidth)
void SetBody(const FacetModeler::Body &rBody)