CFx SDK Documentation  2022 SP0
EdBaseUserIO.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 
24 #ifndef _EDBASEUSERIO_H_INCLUDED_
25 #define _EDBASEUSERIO_H_INCLUDED_
26 
27 #include "OdPlatform.h"
28 #include "Ed/EdUserIO.h"
29 #include "SSet.h"
30 #include "TD_PackPush.h"
31 
32 class OdSelectionSet;
33 class OdGsModel;
34 
39 {
40 public:
42 
43  virtual bool append(OdDbStub* id, const OdDbSelectionMethod* pMethod) = 0;
44  virtual bool remove(OdDbStub* id, const OdDbSelectionMethod* pMethod) = 0;
45 };
46 
48 
55 {
56 public:
58 
59  virtual OdGePoint3d getLASTPOINT() const = 0;
60 
61  virtual void setLASTPOINT(const OdGePoint3d& pt) = 0;
62 
64  OdGsModel* pModel = NULL) const = 0;
65 
67  OdGsModel* pModel = NULL) const = 0;
68 
84  virtual OdGePoint3d getPoint(const OdString& prompt,
85  int options = OdEd::kGptDefault,
86  const OdGePoint3d* pDefaultValue = 0,
87  const OdString& keywords = OdString::kEmpty,
88  OdEdPointTracker* pTracker = 0) = 0;
89 
108  virtual double getAngle(const OdString& prompt,
109  int options = OdEd::kInpDefault,
110  double defaultValue = 0.0,
111  const OdString& keywords = OdString::kEmpty,
112  OdEdRealTracker* pTracker = 0) = 0;
113 
129  virtual double getDist(const OdString& prompt,
130  int options = OdEd::kInpDefault,
131  double defaultValue = 0.0,
132  const OdString& keywords = OdString::kEmpty,
133  OdEdRealTracker* pTracker = 0) = 0;
134 };
139 
140 #include "TD_PackPop.h"
141 #endif //#ifndef _EDBASEUSERIO_H_INCLUDED_
OdSmartPtr< OdSSetTracker > OdSSetTrackerPtr
Definition: EdBaseUserIO.h:47
OdSmartPtr< OdEdBaseUserIO > OdEdBaseUserIOPtr
Definition: EdBaseUserIO.h:138
#define NULL
Definition: GsProperties.h:177
#define ODRX_ABSTRACT
#define FIRSTDLL_EXPORT
Definition: RootExport.h:39
virtual OdEdPointDefTrackerPtr createRectFrame(const OdGePoint3d &base, OdGsModel *pModel=NULL) const =0
virtual OdGePoint3d getPoint(const OdString &prompt, int options=OdEd::kGptDefault, const OdGePoint3d *pDefaultValue=0, const OdString &keywords=OdString::kEmpty, OdEdPointTracker *pTracker=0)=0
virtual OdGePoint3d getLASTPOINT() const =0
virtual void setLASTPOINT(const OdGePoint3d &pt)=0
virtual double getAngle(const OdString &prompt, int options=OdEd::kInpDefault, double defaultValue=0.0, const OdString &keywords=OdString::kEmpty, OdEdRealTracker *pTracker=0)=0
virtual OdEdPointDefTrackerPtr createRubberBand(const OdGePoint3d &base, OdGsModel *pModel=NULL) const =0
virtual double getDist(const OdString &prompt, int options=OdEd::kInpDefault, double defaultValue=0.0, const OdString &keywords=OdString::kEmpty, OdEdRealTracker *pTracker=0)=0
ODRX_DECLARE_MEMBERS(OdEdBaseUserIO)
ODRX_DECLARE_MEMBERS(OdSSetTracker)
virtual bool remove(OdDbStub *id, const OdDbSelectionMethod *pMethod)=0
virtual bool append(OdDbStub *id, const OdDbSelectionMethod *pMethod)=0
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
Definition: OdString.h:98
@ kGptDefault
Definition: EdUserIO.h:73
@ kInpDefault
Definition: EdUserIO.h:47