CFx SDK Documentation  2023 SP0
GsViewPropsDef.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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 #ifndef __OD_GS_VIEW_PROPS_DEF__
24 #define __OD_GS_VIEW_PROPS_DEF__
25 
26 enum
27 {
28  kVpID = 0x00000001,
29  kVpRegenType = 0x00000002,
30  kVpRenderMode = 0x00000004,
31  kVpWorldToEye = 0x00000008,
32  kVpPerspective = 0x00000010,
33  kVpResolution = 0x00000020,
34  kVpMaxDevForCircle = 0x00000040,
35  kVpMaxDevForCurve = 0x00000080,
36  kVpMaxDevForBoundary = 0x00000100,
37  kVpMaxDevForIsoline = 0x00000200,
38  kVpMaxDevForFacet = 0x00000400,
39  kVpCamLocation = 0x00000800,
40  kVpCamTarget = 0x00001000,
41  kVpCamUpVector = 0x00002000,
42  kVpCamViewDir = 0x00004000,
43  kVpViewport = 0x00008000,
44  kVpFrontBack = 0x00010000,
45  kVpFrozenLayers = 0x00020000,
46  kVpLtypeScaleMult = 0x00040000,
47  kEntityRegenDraw = 0x00080000,
48  kVpDisableLayoutCache = 0x00100000,
49  kVpModelTf = 0x00200000,
51  kSectionable = 0x00800000,
52  kVpRenderModule = 0x01000000,
53  kVpAnnoScale = 0x02000000,
54  kVpFilterFunction = 0x04000000,
55  kVpVisualStyle = 0x08000000,
56  kVpHighlightingGeom = 0x10000000,
58  kVpAllProps = 0x1FFFFFFF,
59  kVpForceEraseMf = 0x80000000
60 };
61 
62 inline bool isModelTfDependent(OdUInt32 flags)
63 {
64  return GETBIT(flags, kVpModelTf);
65 }
66 
67 #endif // __OD_GS_VIEW_PROPS_DEF__
bool isModelTfDependent(OdUInt32 flags)
@ kVpLtypeScaleMult
@ kVpMaxDevForCircle
@ kVpMaxDevForBoundary
@ kVpFilterFunction
@ kVpExcludeFromExtMinMax
@ kSectionable
@ kVpMaxDevForCurve
@ kVpCamViewDir
@ kVpRenderModule
@ kVpForceEraseMf
@ kVpHighlightingGeom
@ kVpDisableLayoutCache
@ kVpCamLocation
@ kVpAnnoScale
@ kVpID
@ kVpLastPropBit
@ kVpResolution
@ kVpCamTarget
@ kVpPerspective
@ kVpMaxDevForIsoline
@ kVpWorldToEye
@ kVpViewport
@ kVpFrontBack
@ kVpRegenType
@ kVpAllProps
@ kVpModelTf
@ kVpFrozenLayers
@ kVpCamUpVector
@ kEntityRegenDraw
@ kVpRenderMode
@ kVpMaxDevForFacet
@ kVpVisualStyle
unsigned int OdUInt32
#define GETBIT(flags, bit)
Definition: OdaDefs.h:500