CFx SDK Documentation
2023 SP0
SDK
CFx
inc
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
19
enum
PolarMode
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
27
enum
DynaSnap
28
{
29
DS_MARKER
= 1,
30
DS_TOOLTIPS
= 2,
31
DS_MAGNET
= 4,
32
DS_POLAR_TRACKING
= 8,
33
DS_OBJECT_SNAP_TRACKING
= 16,
34
DS_SPECIAL_TOOLTIPS
= 32
35
};
36
37
enum
OSMode
38
{
39
OSM_CLEAR
= 0,
40
OSM_ENDPOINT
= 1,
41
OSM_MIDPOINT
= 2,
42
OSM_CENTER
= 4,
43
OSM_NODE
= 8,
44
OSM_QUADRANT
= 16,
45
OSM_INTERSECTION
= 32,
46
OSM_INSERTION
= 64,
47
OSM_PERPENDICULAR
= 128,
48
OSM_TANGENT
= 256,
49
OSM_NEAREST
= 512,
50
OSM_GEO_CENTER
= 1024,
51
OSM_APPARENT
= 2048,
52
OSM_EXTENSION
= 4096,
53
OSM_PARALLEL
= 8192,
54
OSM_OSNAP_OFF
= 16384
55
};
56
57
enum
OSOptions
58
{
59
OSO_CLEAR
= 0,
60
OSO_IGNOREHATCHES
= 1,
61
OSO_IGNORENEGATIVEZ
= 2,
62
OSO_IGNOREDIMEXTLINES
= 4
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
OSMode
Definition:
FxDefines.h:38
OSM_PARALLEL
@ OSM_PARALLEL
Definition:
FxDefines.h:53
OSM_NEAREST
@ OSM_NEAREST
Definition:
FxDefines.h:49
OSM_TANGENT
@ OSM_TANGENT
Definition:
FxDefines.h:48
OSM_INSERTION
@ OSM_INSERTION
Definition:
FxDefines.h:46
OSM_CLEAR
@ OSM_CLEAR
Definition:
FxDefines.h:39
OSM_APPARENT
@ OSM_APPARENT
Definition:
FxDefines.h:51
OSM_QUADRANT
@ OSM_QUADRANT
Definition:
FxDefines.h:44
OSM_EXTENSION
@ OSM_EXTENSION
Definition:
FxDefines.h:52
OSM_NODE
@ OSM_NODE
Definition:
FxDefines.h:43
OSM_GEO_CENTER
@ OSM_GEO_CENTER
Definition:
FxDefines.h:50
OSM_CENTER
@ OSM_CENTER
Definition:
FxDefines.h:42
OSM_OSNAP_OFF
@ OSM_OSNAP_OFF
Definition:
FxDefines.h:54
OSM_INTERSECTION
@ OSM_INTERSECTION
Definition:
FxDefines.h:45
OSM_ENDPOINT
@ OSM_ENDPOINT
Definition:
FxDefines.h:40
OSM_MIDPOINT
@ OSM_MIDPOINT
Definition:
FxDefines.h:41
OSM_PERPENDICULAR
@ OSM_PERPENDICULAR
Definition:
FxDefines.h:47
OSOptions
OSOptions
Definition:
FxDefines.h:58
OSO_CLEAR
@ OSO_CLEAR
Definition:
FxDefines.h:59
OSO_IGNOREHATCHES
@ OSO_IGNOREHATCHES
Definition:
FxDefines.h:60
OSO_IGNOREDIMEXTLINES
@ OSO_IGNOREDIMEXTLINES
Definition:
FxDefines.h:62
OSO_IGNORENEGATIVEZ
@ OSO_IGNORENEGATIVEZ
Definition:
FxDefines.h:61
DynaSnap
DynaSnap
Definition:
FxDefines.h:28
DS_SPECIAL_TOOLTIPS
@ DS_SPECIAL_TOOLTIPS
Definition:
FxDefines.h:34
DS_MAGNET
@ DS_MAGNET
Definition:
FxDefines.h:31
DS_MARKER
@ DS_MARKER
Definition:
FxDefines.h:29
DS_OBJECT_SNAP_TRACKING
@ DS_OBJECT_SNAP_TRACKING
Definition:
FxDefines.h:33
DS_POLAR_TRACKING
@ DS_POLAR_TRACKING
Definition:
FxDefines.h:32
DS_TOOLTIPS
@ DS_TOOLTIPS
Definition:
FxDefines.h:30
PolarMode
PolarMode
Definition:
FxDefines.h:20
PM_MEASURE_RELATIVE
@ PM_MEASURE_RELATIVE
Definition:
FxDefines.h:21
PM_TRACK_ALL
@ PM_TRACK_ALL
Definition:
FxDefines.h:22
PM_ADDITIONAL_ANGLES
@ PM_ADDITIONAL_ANGLES
Definition:
FxDefines.h:23
PM_SHIFT_TO_ACQUIRE
@ PM_SHIFT_TO_ACQUIRE
Definition:
FxDefines.h:24
Generated on Thu Feb 24 2022 15:09:30