CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GsViewPropsDef.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#ifndef __OD_GS_VIEW_PROPS_DEF__
24#define __OD_GS_VIEW_PROPS_DEF__
25
26enum
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,
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,
49 kVpModelTf = 0x00200000,
51 kSectionable = 0x00800000,
52 kVpRenderModule = 0x01000000,
53 kVpAnnoScale = 0x02000000,
54 kVpFilterFunction = 0x04000000,
55 kVpVisualStyle = 0x08000000,
56 kVpHighlightingGeom = 0x10000000,
59 kVpAllProps = 0x3FFFFFFF,
60 kVpForceEraseMf = 0x80000000
61};
62
63inline bool isModelTfDependent(OdUInt32 flags)
64{
65 return GETBIT(flags, kVpModelTf);
66}
67
68#endif // __OD_GS_VIEW_PROPS_DEF__
@ kVpLtypeScaleMult
@ kVpMaxDevForCircle
@ kVpMaxDevForBoundary
@ kVpFilterFunction
@ kVpExcludeFromExtMinMax
@ kSectionable
@ kVpMaxDevForCurve
@ kVpCamViewDir
@ kVpRenderModule
@ kVpForceEraseMf
@ kVpHighlightingGeom
@ kVpDisableLayoutCache
@ kVpCamLocation
@ kVpAnnoScale
@ kVpID
@ kVpDisableDisplayClipping
@ kVpLastPropBit
@ kVpResolution
@ kVpCamTarget
@ kVpPerspective
@ kVpMaxDevForIsoline
@ kVpWorldToEye
@ kVpViewport
@ kVpFrontBack
@ kVpRegenType
@ kVpAllProps
@ kVpModelTf
@ kVpFrozenLayers
@ kVpCamUpVector
@ kEntityRegenDraw
@ kVpRenderMode
@ kVpMaxDevForFacet
@ kVpVisualStyle
bool isModelTfDependent(OdUInt32 flags)
unsigned int OdUInt32
#define GETBIT(flags, bit)
Definition: OdaDefs.h:517