CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Br
BrEnums.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 license
16
// 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
25
26
// OdBrEnums.h -- declaration of enumerated types used in the
27
// OdBr B-Rep and traverser classes.
28
29
#pragma warning ( disable : 4482 )
30
31
#ifndef ODBRENUMS_H
32
#define ODBRENUMS_H
33
#include "
OdError.h
"
34
#include "
BrExport.h
"
35
#include "
Gi/Gi.h
"
36
40
enum
OdBrErrorStatus
41
{
43
odbrOK
=
::eOk
,
45
odbrWrongObjectType
= eWrongObjectType,
47
odbrInvalidObject
= eUnrecoverableErrors,
48
odbrUnsuitableTopology
= 0XBC5,
50
odbrMissingGeometry
=
eDegenerateGeometry
,
52
odbrInvalidInput
= eInvalidInput,
54
odbrDegenerateTopology
= 0XBCC,
56
odbrUninitialisedObject
= 0xBCD,
58
odbrOutOfMemory
= eOutOfMemory,
60
odbrBrepChanged
= 0xBC0,
62
odbrNotImplementedYet
= ::eNotImplementedYet,
64
odbrNullObjectId
= eNullObjectId,
66
odbrNotApplicable
= eNotApplicable,
68
odbrWrongSubentityType
= eWrongSubentityType,
70
odbrNullSubentityId
= eInvalidIndex,
72
odbrNullObjectPointer
= eUnrecoverableErrors,
74
odbrObjectIdMismatch
= eWrongDatabase,
76
odbrTopologyMismatch
= eWrongDatabase,
78
odbrUnsuitableGeometry
= eAmbiguousOutput,
80
odbrMissingSubentity
= eNotInDatabase,
82
odbrAmbiguousOutput
= eAmbiguousOutput,
83
84
odbrUnrecoverableErrors
= eUnrecoverableErrors,
85
odbrMissingTopology
=
odbrDegenerateTopology
,
86
odbrWrongDatabase
= eWrongDatabase,
87
odbrNotInDatabase
= eNotInDatabase,
88
odbrDegenerateGeometry
=
eDegenerateGeometry
89
};
90
94
enum
BrLoopType
{
96
odbrLoopUnclassified
= 0,
98
odbrLoopExterior
= 1,
100
odbrLoopInterior
= 2,
102
odbrLoopWinding
= 3
103
};
104
108
enum
BrShellType
{
110
odbrShellUnclassified
= 0,
112
odbrShellExterior
= 1,
114
odbrShellInterior
= 2
115
};
116
120
enum
BrValidationLevel
{
122
odbrFullValidation
= 0,
124
odbrNoValidation
= 1
125
};
126
130
enum
Element2dShape
{
132
kDefault
= 0,
134
kAllPolygons
= 1,
136
kAllQuadrilaterals
= 2,
138
kAllTriangles
= 3
139
};
140
144
enum
BrEntityFlags
{
146
kNoFlags
= 0,
148
kDoubleSide
= 0x001,
150
kVisible
= 0x002,
152
kInvisible
= 0x004,
154
kHighlight
= 0x008,
156
kSelectionIgnore
= 0x010,
158
kBimRvEdgeSwapFaces
= 0x01000000,
159
};
160
166
class
ODBR_TOOLKIT_EXPORT
OdBrException
:
public
OdError
167
{
168
public
:
174
OdBrException
(
OdBrErrorStatus
errorStatus);
175
179
OdBrErrorStatus
getErrorStatus
()
const
;
180
};
181
182
#define BR_THROW(n) throw OdBrException(n)
183
184
#endif
// ODBRENUMS_H
OdBrErrorStatus
OdBrErrorStatus
Definition:
BrEnums.h:41
odbrNullSubentityId
@ odbrNullSubentityId
Definition:
BrEnums.h:70
odbrInvalidInput
@ odbrInvalidInput
Definition:
BrEnums.h:52
odbrWrongSubentityType
@ odbrWrongSubentityType
Definition:
BrEnums.h:68
odbrMissingSubentity
@ odbrMissingSubentity
Definition:
BrEnums.h:80
odbrDegenerateTopology
@ odbrDegenerateTopology
Definition:
BrEnums.h:54
odbrBrepChanged
@ odbrBrepChanged
Definition:
BrEnums.h:60
odbrWrongDatabase
@ odbrWrongDatabase
Definition:
BrEnums.h:86
odbrUnsuitableGeometry
@ odbrUnsuitableGeometry
Definition:
BrEnums.h:78
odbrTopologyMismatch
@ odbrTopologyMismatch
Definition:
BrEnums.h:76
odbrUnrecoverableErrors
@ odbrUnrecoverableErrors
Definition:
BrEnums.h:84
odbrOutOfMemory
@ odbrOutOfMemory
Definition:
BrEnums.h:58
odbrWrongObjectType
@ odbrWrongObjectType
Definition:
BrEnums.h:45
odbrMissingTopology
@ odbrMissingTopology
Definition:
BrEnums.h:85
odbrObjectIdMismatch
@ odbrObjectIdMismatch
Definition:
BrEnums.h:74
odbrNotImplementedYet
@ odbrNotImplementedYet
Definition:
BrEnums.h:62
odbrDegenerateGeometry
@ odbrDegenerateGeometry
Definition:
BrEnums.h:88
odbrUnsuitableTopology
@ odbrUnsuitableTopology
Definition:
BrEnums.h:48
odbrOK
@ odbrOK
Definition:
BrEnums.h:43
odbrNotApplicable
@ odbrNotApplicable
Definition:
BrEnums.h:66
odbrMissingGeometry
@ odbrMissingGeometry
Definition:
BrEnums.h:50
odbrNullObjectPointer
@ odbrNullObjectPointer
Definition:
BrEnums.h:72
odbrInvalidObject
@ odbrInvalidObject
Definition:
BrEnums.h:47
odbrAmbiguousOutput
@ odbrAmbiguousOutput
Definition:
BrEnums.h:82
odbrUninitialisedObject
@ odbrUninitialisedObject
Definition:
BrEnums.h:56
odbrNotInDatabase
@ odbrNotInDatabase
Definition:
BrEnums.h:87
odbrNullObjectId
@ odbrNullObjectId
Definition:
BrEnums.h:64
Element2dShape
Element2dShape
Definition:
BrEnums.h:130
kAllPolygons
@ kAllPolygons
Definition:
BrEnums.h:134
kDefault
@ kDefault
Definition:
BrEnums.h:132
kAllQuadrilaterals
@ kAllQuadrilaterals
Definition:
BrEnums.h:136
kAllTriangles
@ kAllTriangles
Definition:
BrEnums.h:138
BrEntityFlags
BrEntityFlags
Definition:
BrEnums.h:144
kInvisible
@ kInvisible
Definition:
BrEnums.h:152
kVisible
@ kVisible
Definition:
BrEnums.h:150
kDoubleSide
@ kDoubleSide
Definition:
BrEnums.h:148
kNoFlags
@ kNoFlags
Definition:
BrEnums.h:146
kSelectionIgnore
@ kSelectionIgnore
Definition:
BrEnums.h:156
kBimRvEdgeSwapFaces
@ kBimRvEdgeSwapFaces
Definition:
BrEnums.h:158
kHighlight
@ kHighlight
Definition:
BrEnums.h:154
BrLoopType
BrLoopType
Definition:
BrEnums.h:94
odbrLoopExterior
@ odbrLoopExterior
Definition:
BrEnums.h:98
odbrLoopInterior
@ odbrLoopInterior
Definition:
BrEnums.h:100
odbrLoopWinding
@ odbrLoopWinding
Definition:
BrEnums.h:102
odbrLoopUnclassified
@ odbrLoopUnclassified
Definition:
BrEnums.h:96
BrValidationLevel
BrValidationLevel
Definition:
BrEnums.h:120
odbrFullValidation
@ odbrFullValidation
Definition:
BrEnums.h:122
odbrNoValidation
@ odbrNoValidation
Definition:
BrEnums.h:124
BrShellType
BrShellType
Definition:
BrEnums.h:108
odbrShellExterior
@ odbrShellExterior
Definition:
BrEnums.h:112
odbrShellInterior
@ odbrShellInterior
Definition:
BrEnums.h:114
odbrShellUnclassified
@ odbrShellUnclassified
Definition:
BrEnums.h:110
BrExport.h
ODBR_TOOLKIT_EXPORT
#define ODBR_TOOLKIT_EXPORT
Definition:
BrExport.h:39
Error::eDegenerateGeometry
@ eDegenerateGeometry
Error::eOk
@ eOk
Gi.h
OdError.h
OdBrException
Definition:
BrEnums.h:167
OdBrException::getErrorStatus
OdBrErrorStatus getErrorStatus() const
OdBrException::OdBrException
OdBrException(OdBrErrorStatus errorStatus)
OdError
Definition:
OdError.h:43
Generated on Wed Apr 5 2023 17:29:10