CFx SDK Documentation  2023 SP0
FxDefines.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2022 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
20 {
21  PM_MEASURE_RELATIVE = 1, //Use relative angle (use base point) while build Otrack lines instead absolute (not use base point).
22  PM_TRACK_ALL = 2, //Use polar tracking settings in osnap tracking (Otrack).
23  PM_ADDITIONAL_ANGLES = 4,//Enable user polar angles.
24  PM_SHIFT_TO_ACQUIRE = 8 //Acquire Otrack base points manually (by pressing SHIFT) instead automatically by timeout.
25 };
26 
28 {
29  DS_MARKER = 1,
31  DS_MAGNET = 4,
35 };
36 
37 enum OSMode
38 {
39  OSM_CLEAR = 0,
43  OSM_NODE = 8,
48  OSM_TANGENT = 256,
49  OSM_NEAREST = 512,
51  OSM_APPARENT = 2048,
52  OSM_EXTENSION = 4096,
53  OSM_PARALLEL = 8192,
54  OSM_OSNAP_OFF = 16384
55 };
56 
58 {
59  OSO_CLEAR = 0,
63 };
64 
65 //Inline linkage in release and external linkage in debug.
66 #ifdef _DEBUG
67 #define DDKERNEL_PROJECT_LINKAGE
68 #define DDKERNEL_INLINE_LINKAGE 0
69 #else
70 #define DDKERNEL_PROJECT_LINKAGE inline
71 #define DDKERNEL_INLINE_LINKAGE 1
72 #endif
OSMode
Definition: FxDefines.h:38
@ OSM_PARALLEL
Definition: FxDefines.h:53
@ OSM_NEAREST
Definition: FxDefines.h:49
@ OSM_TANGENT
Definition: FxDefines.h:48
@ OSM_INSERTION
Definition: FxDefines.h:46
@ OSM_CLEAR
Definition: FxDefines.h:39
@ OSM_APPARENT
Definition: FxDefines.h:51
@ OSM_QUADRANT
Definition: FxDefines.h:44
@ OSM_EXTENSION
Definition: FxDefines.h:52
@ OSM_NODE
Definition: FxDefines.h:43
@ OSM_GEO_CENTER
Definition: FxDefines.h:50
@ OSM_CENTER
Definition: FxDefines.h:42
@ OSM_OSNAP_OFF
Definition: FxDefines.h:54
@ OSM_INTERSECTION
Definition: FxDefines.h:45
@ OSM_ENDPOINT
Definition: FxDefines.h:40
@ OSM_MIDPOINT
Definition: FxDefines.h:41
@ OSM_PERPENDICULAR
Definition: FxDefines.h:47
OSOptions
Definition: FxDefines.h:58
@ OSO_CLEAR
Definition: FxDefines.h:59
@ OSO_IGNOREHATCHES
Definition: FxDefines.h:60
@ OSO_IGNOREDIMEXTLINES
Definition: FxDefines.h:62
@ OSO_IGNORENEGATIVEZ
Definition: FxDefines.h:61
DynaSnap
Definition: FxDefines.h:28
@ DS_SPECIAL_TOOLTIPS
Definition: FxDefines.h:34
@ DS_MAGNET
Definition: FxDefines.h:31
@ DS_MARKER
Definition: FxDefines.h:29
@ DS_OBJECT_SNAP_TRACKING
Definition: FxDefines.h:33
@ DS_POLAR_TRACKING
Definition: FxDefines.h:32
@ DS_TOOLTIPS
Definition: FxDefines.h:30
PolarMode
Definition: FxDefines.h:20
@ PM_MEASURE_RELATIVE
Definition: FxDefines.h:21
@ PM_TRACK_ALL
Definition: FxDefines.h:22
@ PM_ADDITIONAL_ANGLES
Definition: FxDefines.h:23
@ PM_SHIFT_TO_ACQUIRE
Definition: FxDefines.h:24