FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcEdJig.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19#include "..\acad\Acad.h"
20
21template < typename Param1 > class AcArrayMemCopyReallocator;
22class AcDbDimData;
23class AcDbEntity;
24class AcDbObjectId;
25class AcGePoint3d;
26class AcRxClass;
27
29{
30public:
48
49 typedef enum DragStatus
50 {
51 kModeless = -17,
52 kNoChange = -6,
53 kCancel = -4,
54 kOther = -3,
55 kNull = -1,
56 kNormal = 0,
65 kKW9
66
67 } DragStatus;
68
69 typedef enum UserInputControls
70 {
71 kGovernedByOrthoMode = 0x000001,
72 kNullResponseAccepted = 0x000002,
73 kDontEchoCancelForCtrlC = 0x000004,
74 kDontUpdateLastPoint = 0x000008,
75 kNoDwgLimitsChecking = 0x000010,
76 kNoZeroResponseAccepted = 0x000020,
77 kNoNegativeResponseAccepted = 0x000040,
78 kAccept3dCoordinates = 0x000080,
79 kAcceptMouseUpAsPoint = 0x000100,
80 kAnyBlankTerminatesInput = 0x000200,
81 kInitialBlankTerminatesInput = 0x000400,
82 kAcceptOtherInputString = 0x000800,
83 kGovernedByUCSDetect = 0x001000,
84 kNoZDirectionOrtho = 0x002000,
85 kImpliedFaceForUCSChange = 0x004000,
86 kUseBasePointElevation = 0x008000,
87 kDisableDirectDistanceInput = 0x010000
88 } UserInputControls;
89
90public:
92
93public:
94 AcEdJig(void);
107
108
109 virtual ~AcEdJig(void);
111 virtual AcDbEntity * entity(void)const ;
112
113 virtual DragStatus sampler(void);
114 virtual Acad::ErrorStatus setDimValue( AcDbDimData const *,double);
115 virtual Adesk::Boolean update(void);
116 void __cdecl setDispPrompt(wchar_t const *,...);
117 void setKeywordList(wchar_t const *);
120 wchar_t const * dispPrompt(void);
121 wchar_t const * keywordList(void);
122
123};
#define ACRX_DECLARE_MEMBERS(classname)
Definition addmacro.h:756
wchar_t const * dispPrompt(void)
DragStatus
Definition AcEdJig.h:50
@ kKW7
Definition AcEdJig.h:63
@ kKW2
Definition AcEdJig.h:58
@ kKW3
Definition AcEdJig.h:59
@ kKW1
Definition AcEdJig.h:57
@ kKW6
Definition AcEdJig.h:62
@ kKW5
Definition AcEdJig.h:61
@ kKW8
Definition AcEdJig.h:64
@ kKW4
Definition AcEdJig.h:60
virtual Acad::ErrorStatus setDimValue(AcDbDimData const *, double)
DragStatus acquireAngle(double &, AcGePoint3d const &)
void setSpecialCursorType(CursorType)
DragStatus acquirePoint(AcGePoint3d &, AcGePoint3d const &)
UserInputControls userInputControls(void)
CursorType specialCursorType(void)
void setKeywordList(wchar_t const *)
void __cdecl setDispPrompt(wchar_t const *,...)
AcEdJig(void)
UserInputControls
Definition AcEdJig.h:70
DragStatus drag(void)
DragStatus acquireString(wchar_t *)
virtual Adesk::Boolean update(void)
DragStatus acquireString(AcString &)
wchar_t const * keywordList(void)
virtual AcDbEntity * entity(void) const
virtual DragStatus sampler(void)
virtual ~AcEdJig(void)
virtual AcArray< AcDbDimData *, AcArrayMemCopyReallocator< AcDbDimData * > > * dimData(double)
DragStatus acquireDist(double &, AcGePoint3d const &)
DragStatus acquirePoint(AcGePoint3d &)
CursorType
Definition AcEdJig.h:32
@ kTargetBox
Definition AcEdJig.h:38
@ kParallelogram
Definition AcEdJig.h:43
@ kNotRotated
Definition AcEdJig.h:37
@ kRubberBand
Definition AcEdJig.h:36
@ kCrosshairNoRotate
Definition AcEdJig.h:40
@ kInvisible
Definition AcEdJig.h:41
@ kEntitySelectNoPersp
Definition AcEdJig.h:44
@ kRotatedCrosshair
Definition AcEdJig.h:39
@ kEntitySelect
Definition AcEdJig.h:42
@ kPkfirstOrGrips
Definition AcEdJig.h:45
@ kRectCursor
Definition AcEdJig.h:35
void setUserInputControls(UserInputControls)
DragStatus acquireDist(double &)
DragStatus acquireAngle(double &)
AcDbObjectId append(void)
Frx::Boolean Boolean
Definition AddStruct.h:46