CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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
41{
45 odbrWrongObjectType = eWrongObjectType,
47 odbrInvalidObject = eUnrecoverableErrors,
52 odbrInvalidInput = eInvalidInput,
58 odbrOutOfMemory = eOutOfMemory,
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,
86 odbrWrongDatabase = eWrongDatabase,
87 odbrNotInDatabase = eNotInDatabase,
89};
90
104
116
126
138 kAllTriangles = 3
140
148 kDoubleSide = 0x001,
150 kVisible = 0x002,
152 kInvisible = 0x004,
154 kHighlight = 0x008,
159};
160
167{
168public:
175
180};
181
182#define BR_THROW(n) throw OdBrException(n)
183
184#endif // ODBRENUMS_H
OdBrErrorStatus
Definition: BrEnums.h:41
@ odbrNullSubentityId
Definition: BrEnums.h:70
@ odbrInvalidInput
Definition: BrEnums.h:52
@ odbrWrongSubentityType
Definition: BrEnums.h:68
@ odbrMissingSubentity
Definition: BrEnums.h:80
@ odbrDegenerateTopology
Definition: BrEnums.h:54
@ odbrBrepChanged
Definition: BrEnums.h:60
@ odbrWrongDatabase
Definition: BrEnums.h:86
@ odbrUnsuitableGeometry
Definition: BrEnums.h:78
@ odbrTopologyMismatch
Definition: BrEnums.h:76
@ odbrUnrecoverableErrors
Definition: BrEnums.h:84
@ odbrOutOfMemory
Definition: BrEnums.h:58
@ odbrWrongObjectType
Definition: BrEnums.h:45
@ odbrMissingTopology
Definition: BrEnums.h:85
@ odbrObjectIdMismatch
Definition: BrEnums.h:74
@ odbrNotImplementedYet
Definition: BrEnums.h:62
@ odbrDegenerateGeometry
Definition: BrEnums.h:88
@ odbrUnsuitableTopology
Definition: BrEnums.h:48
@ odbrOK
Definition: BrEnums.h:43
@ odbrNotApplicable
Definition: BrEnums.h:66
@ odbrMissingGeometry
Definition: BrEnums.h:50
@ odbrNullObjectPointer
Definition: BrEnums.h:72
@ odbrInvalidObject
Definition: BrEnums.h:47
@ odbrAmbiguousOutput
Definition: BrEnums.h:82
@ odbrUninitialisedObject
Definition: BrEnums.h:56
@ odbrNotInDatabase
Definition: BrEnums.h:87
@ odbrNullObjectId
Definition: BrEnums.h:64
Element2dShape
Definition: BrEnums.h:130
@ kAllPolygons
Definition: BrEnums.h:134
@ kDefault
Definition: BrEnums.h:132
@ kAllQuadrilaterals
Definition: BrEnums.h:136
@ kAllTriangles
Definition: BrEnums.h:138
BrEntityFlags
Definition: BrEnums.h:144
@ kInvisible
Definition: BrEnums.h:152
@ kVisible
Definition: BrEnums.h:150
@ kDoubleSide
Definition: BrEnums.h:148
@ kNoFlags
Definition: BrEnums.h:146
@ kSelectionIgnore
Definition: BrEnums.h:156
@ kBimRvEdgeSwapFaces
Definition: BrEnums.h:158
@ kHighlight
Definition: BrEnums.h:154
BrLoopType
Definition: BrEnums.h:94
@ odbrLoopExterior
Definition: BrEnums.h:98
@ odbrLoopInterior
Definition: BrEnums.h:100
@ odbrLoopWinding
Definition: BrEnums.h:102
@ odbrLoopUnclassified
Definition: BrEnums.h:96
BrValidationLevel
Definition: BrEnums.h:120
@ odbrFullValidation
Definition: BrEnums.h:122
@ odbrNoValidation
Definition: BrEnums.h:124
BrShellType
Definition: BrEnums.h:108
@ odbrShellExterior
Definition: BrEnums.h:112
@ odbrShellInterior
Definition: BrEnums.h:114
@ odbrShellUnclassified
Definition: BrEnums.h:110
#define ODBR_TOOLKIT_EXPORT
Definition: BrExport.h:39
@ eDegenerateGeometry
OdBrErrorStatus getErrorStatus() const
OdBrException(OdBrErrorStatus errorStatus)