CFx SDK Documentation  2020SP3
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__
GETBIT
#define GETBIT(flags, bit)
Definition: OdaDefs.h:498
kEntityRegenDraw
@ kEntityRegenDraw
Definition: GsViewPropsDef.h:47
kVpPerspective
@ kVpPerspective
Definition: GsViewPropsDef.h:32
isModelTfDependent
bool isModelTfDependent(OdUInt32 flags)
Definition: GsViewPropsDef.h:62
kVpCamLocation
@ kVpCamLocation
Definition: GsViewPropsDef.h:39
kVpRenderModule
@ kVpRenderModule
Definition: GsViewPropsDef.h:52
kVpFrontBack
@ kVpFrontBack
Definition: GsViewPropsDef.h:44
kVpVisualStyle
@ kVpVisualStyle
Definition: GsViewPropsDef.h:55
kVpHighlightingGeom
@ kVpHighlightingGeom
Definition: GsViewPropsDef.h:56
kVpRenderMode
@ kVpRenderMode
Definition: GsViewPropsDef.h:30
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
kVpMaxDevForFacet
@ kVpMaxDevForFacet
Definition: GsViewPropsDef.h:38
kVpLtypeScaleMult
@ kVpLtypeScaleMult
Definition: GsViewPropsDef.h:46
kVpDisableLayoutCache
@ kVpDisableLayoutCache
Definition: GsViewPropsDef.h:48
kVpForceEraseMf
@ kVpForceEraseMf
Definition: GsViewPropsDef.h:59
kVpResolution
@ kVpResolution
Definition: GsViewPropsDef.h:33
kVpCamTarget
@ kVpCamTarget
Definition: GsViewPropsDef.h:40
kVpFrozenLayers
@ kVpFrozenLayers
Definition: GsViewPropsDef.h:45
kVpID
@ kVpID
Definition: GsViewPropsDef.h:28
kVpExcludeFromExtMinMax
@ kVpExcludeFromExtMinMax
Definition: GsViewPropsDef.h:50
kVpFilterFunction
@ kVpFilterFunction
Definition: GsViewPropsDef.h:54
kVpModelTf
@ kVpModelTf
Definition: GsViewPropsDef.h:49
kVpMaxDevForCurve
@ kVpMaxDevForCurve
Definition: GsViewPropsDef.h:35
kVpViewport
@ kVpViewport
Definition: GsViewPropsDef.h:43
kSectionable
@ kSectionable
Definition: GsViewPropsDef.h:51
kVpMaxDevForIsoline
@ kVpMaxDevForIsoline
Definition: GsViewPropsDef.h:37
kVpCamUpVector
@ kVpCamUpVector
Definition: GsViewPropsDef.h:41
kVpAllProps
@ kVpAllProps
Definition: GsViewPropsDef.h:58
kVpLastPropBit
@ kVpLastPropBit
Definition: GsViewPropsDef.h:57
kVpRegenType
@ kVpRegenType
Definition: GsViewPropsDef.h:29
kVpWorldToEye
@ kVpWorldToEye
Definition: GsViewPropsDef.h:31
kVpCamViewDir
@ kVpCamViewDir
Definition: GsViewPropsDef.h:42
kVpMaxDevForCircle
@ kVpMaxDevForCircle
Definition: GsViewPropsDef.h:34
kVpMaxDevForBoundary
@ kVpMaxDevForBoundary
Definition: GsViewPropsDef.h:36
kVpAnnoScale
@ kVpAnnoScale
Definition: GsViewPropsDef.h:53