CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
EdBaseUserIO.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
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
32class OdSelectionSet;
33class OdGsModel;
34
39{
40public:
42
52 virtual bool append(OdDbStub* id, const OdDbSelectionMethod* pMethod);
53
63 virtual bool remove(OdDbStub* id, const OdDbSelectionMethod* pMethod);
64
68 virtual bool trackSubentities() const;
69
82 virtual bool append(const OdDbBaseFullSubentPath& subEntPath, const OdDbSelectionMethod* pMethod);
83
96 virtual bool remove(const OdDbBaseFullSubentPath& subEntPath, const OdDbSelectionMethod* pMethod);
97};
98
100
107{
108public:
110
111 virtual OdGePoint3d getLASTPOINT() const = 0;
112
113 virtual void setLASTPOINT(const OdGePoint3d& pt) = 0;
114
116 OdGsModel* pModel = NULL) const = 0;
117
119 OdGsModel* pModel = NULL) const = 0;
120
136 virtual OdGePoint3d getPoint(const OdString& prompt,
137 int options = OdEd::kGptDefault,
138 const OdGePoint3d* pDefaultValue = 0,
139 const OdString& keywords = OdString::kEmpty,
140 OdEdPointTracker* pTracker = 0) = 0;
141
160 virtual double getAngle(const OdString& prompt,
161 int options = OdEd::kInpDefault,
162 double defaultValue = 0.0,
163 const OdString& keywords = OdString::kEmpty,
164 OdEdRealTracker* pTracker = 0) = 0;
165
181 virtual double getDist(const OdString& prompt,
182 int options = OdEd::kInpDefault,
183 double defaultValue = 0.0,
184 const OdString& keywords = OdString::kEmpty,
185 OdEdRealTracker* pTracker = 0) = 0;
186};
191
192#include "TD_PackPop.h"
193#endif //#ifndef _EDBASEUSERIO_H_INCLUDED_
OdSmartPtr< OdSSetTracker > OdSSetTrackerPtr
Definition: EdBaseUserIO.h:99
OdSmartPtr< OdEdBaseUserIO > OdEdBaseUserIOPtr
Definition: EdBaseUserIO.h:190
#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(const OdDbBaseFullSubentPath &subEntPath, const OdDbSelectionMethod *pMethod)
virtual bool append(OdDbStub *id, const OdDbSelectionMethod *pMethod)
virtual bool trackSubentities() const
virtual bool append(const OdDbBaseFullSubentPath &subEntPath, const OdDbSelectionMethod *pMethod)
virtual bool remove(OdDbStub *id, const OdDbSelectionMethod *pMethod)
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
Definition: OdString.h:98
@ kGptDefault
Definition: EdUserIO.h:74
@ kInpDefault
Definition: EdUserIO.h:47