140 friend class CFxCommandParser;
178 eEverythingInAperture = 0x400,
207 eKwMultiple = 0x4000,
208 eKwPrevious = 0x8000,
212 eKwSUbobject = 0x80000,
213 eKwObject = 0x100000,
214 eKwSSGet = eKwWindow | eKwLast | eKwCrossing | eKwALL | eKwBOX | eKwFence | eKwWPolygon | eKwCPolygon | eKwGroup |
215 eKwAdd | eKwRemove | eKwMultiple | eKwPrevious | eKwUndo | eKwAUto | eKwSIngle
236 int keywords = eKwSSGet,
241 bool bSingleMode =
false,
264 int keywords = eKwEntSel,
295 int keywords = eKwNEntSel,
335 bool bDoNotShowBasePointLine =
false,
400 const double* pDefaultVal,
421 const int* pDefaultVal,
445 const double* pDefaultValue,
451 bool bDoNotShowBasePointLine =
false,
471 const double* pDefaultValue,
477 bool bDoNotShowBasePointLine =
false,
498 const double* pDefaultValue,
504 bool bDoNotShowBasePointLine =
false,
549 const double* pDefaultValue,
555 bool bDoNotShowBasePointLine =
false,
595 bool bPinToOldLocation =
false ) = 0;
643 bool bPinToOldLocation =
false ) = 0;
649 eFileNameNoFlags = 0,
650 eFileNameHaveMenu = 1
657 eTypeFilter = 0x000000FF,
662 eOpenFilter = 0x0000FF00,
663 eOpenNoPreview = 0x00000100,
664 eOpenNoReadOnly = 0x00000200,
665 eOpenNoTemplateHandling = 0x00000400,
667 eOpenNotExist = 0x00000800,
675 eFileNewNoTemplateImperial = 0x000002,
676 eFileNewNoTemplateMetric = 0x000003,
678 eFileOpen = 0x000100,
679 eFileOpenReadOnly = 0x000300,
681 eFileSave = 0x010000,
711 int* filterIndex = 0,
741 int* filterIndex = 0,
778 int* filterIndex = 0,
813 int* filterIndex = 0,
830 unsigned int uType ) = 0;
1003 bool bIgnoreWhiteSpaces,
1097 double defaultValue = 0.0,
1104 double defaultValue = 0.0,
1116#if TD_VERSION >= 40301
1154 double defVal = 0.0,
std::shared_ptr< CFxNoteEditorConfig > CFxNoteEditorConfigPtr
std::vector< CFxString > CFxStringArray
DDKERNEL_API CFxUserIO * GetFxUserIO(OdEdCommandContext *pCmdCtx)
std::vector< CFxTracker * > TRACKER_VECTOR
OdString getFilePath(const OdString &prompt, int options=OdEd::kGfpForOpen, const OdString &dialogCaption=OdString::kEmpty, const OdString &defExt=OdString::kEmpty, const OdString &fileName=OdString::kEmpty, const OdString &filter=OdString::kEmpty, const OdString &keywords=OdString::kEmpty, OdEdStringTracker *pTracker=0) override=0
virtual CFxString GetPromptString(const CFxString &prompt, const CFxString *pDefaultValue, const CFxString &range) const =0
virtual int GetNoteEditor(OdDbEntityPtr &EntType, CFxNoteEditorConfigPtr config, int iHelpID, const CFxString &errorPrompt=CFxString(), TRACKER_VECTOR *pTrackers=nullptr, const OdGePlane *pPlane=nullptr, bool bPinToOldLocation=false)=0
virtual void Initget(int iFlags)=0
enum CFxUserIO::_FileNameType FileNameType
virtual int GetNoteEditor(OdDbEntityPtr &EntType, int nFlag, int iHelpID, const CFxString &errorPrompt=CFxString(), TRACKER_VECTOR *pTrackers=nullptr, const OdGePlane *pPlane=nullptr, bool bPinToOldLocation=false)=0
void setPickfirst(OdSelectionSet *pSSet) override=0
virtual const OdDbObjectIdArray & GetPreviousSelectionSet() const =0
int getKeyword(const OdString &prompt, const OdString &keywords, int defVal=0, int options=OdEd::kInpDefault, OdEdIntegerTracker *pTracker=0) override=0
virtual int GetPoint(const CFxString &sPrompt, const OdGePoint3d *pDefaultValue, const OdGePoint3d *pBasePointWCS, OdGePoint3d *pReturnValueWCS, CFxEdInputTracker *pTracker=0, const CFxString &errorPrompt=CFxString(), bool bDoNotShowBasePointLine=false, TRACKER_VECTOR *pTrackers=0, const OdGePlane *pPlane=0)=0
OdEdPointDefTrackerPtr createRectFrame(const OdGePoint3d &base, OdGsModel *pModel=NULL) const override=0
virtual const CFxStringArray & GetActiveGlobalKeywords(CFxStringArray &activeGlobalAbbreviations) const =0
std::vector< CFxUserIO::FileNameRetVal > FileNameRetValArray
OdGePoint3d getPoint(const OdString &prompt, int options=OdEd::kGptDefault, const OdGePoint3d *pDefaultValue=0, const OdString &keywords=OdString::kEmpty, OdEdPointTracker *pTracker=0) override=0
OdString getString(const OdString &prompt, int options=OdEd::kInpDefault, const OdString &defValue=OdString::kEmpty, const OdString &keywords=OdString::kEmpty, OdEdStringTracker *pTracker=0) override=0
virtual CFxString GetPromptPoint(const CFxString &prompt, const OdGePoint2d *pDefaultValue) const =0
virtual CFxString GetPromptInt(const CFxString &prompt, const int *pDefaultValue) const =0
virtual void Initget(int iFlags, const CFxKeywordArray &keywords)=0
double getAngle(const OdString &prompt, int options=OdEd::kInpDefault, double defaultValue=0.0, const OdString &keywords=OdString::kEmpty, OdEdRealTracker *pTracker=0) override=0
virtual const CFxUnitsFormatter * GetUnitsFormatter() const =0
virtual int GetKeyword(const CFxString &sPrompt, const CFxString &sDefault, CFxString *pResult, CFxEdInputTracker *pTracker=0, TRACKER_VECTOR *pTrackers=0)=0
virtual void Initget(int iFlags, const CFxStringArray &keywordsGlobal, const CFxStringArray &keywordsLocal)=0
virtual const CFxStringArray & GetActiveLocalKeywords(CFxStringArray &activeLocalAbbreviations) const =0
virtual int GetDirection(const CFxString &prompt, const double *pDefaultValue, const OdGePoint3d *pBasePointWCS, double *pResult, CFxRange< double > *pRange=0, CFxEdInputTracker *pTracker=0, const CFxString &errorPrompt=CFxString(), bool bDoNotShowBasePointLine=false, TRACKER_VECTOR *pTrackers=0, const OdGePlane *pPlane=0)=0
virtual int GetOrient(const CFxString &prompt, const double *pDefaultValue, const OdGePoint3d *pBasePtWCS, double *pResult, CFxRange< double > *pRange=0, CFxEdInputTracker *pTracker=0, const CFxString &errorPrompt=CFxString(), bool bDoNotShowBasePointLine=false, TRACKER_VECTOR *pTrackers=0, const OdGePlane *pPlane=0)=0
virtual const CFxString & GetUserInput() const =0
virtual int InitgetFlags() const =0
virtual int DoSSGet(SelectMode eMode, CFxSelectionSet *pSelectionSet, int keywords=eKwSSGet, const CFxString &sSelectPrompt=CFxString(), const CFxString &sRemovePrompt=CFxString(), const fdt_resbufW *pFilter=0, OdGePoint3dArray *pickPointsWCS=0, bool bSingleMode=false, CFxSelectionSet::RemoveFlags flags=CFxSelectionSet::eRemoveDefaultInvalid, TRACKER_VECTOR *pTrackers=0)=0
virtual int GetCorner(const CFxString &prompt, const OdGePoint3d *pDefaultValue, const OdGePoint3d *pBasePtWCS, OdGePoint3d *pResult, CFxEdInputTracker *pTracker=0, const CFxString &errorPrompt=CFxString(), TRACKER_VECTOR *pTrackers=0, const OdGePlane *pPlane=0)=0
virtual CFxString GetPromptPoint(const CFxString &prompt, const OdGePoint3d *pDefaultValue) const =0
enum CFxUserIO::_FileNameRetVal FileNameRetVal
static int GetFileNamesStatic_Obsolete(FileNameRetVal *pResultMode, CFxStringArray *pResultStrs, FxWId parent, CFxUserIO::FileNameType eType, const CFxString &dialogCaption, const CFxString &defaultExtension, const CFxString &filter, const CFxString &initialDir, int *filterIndex=0, CFxString *templateName=0, FileNameFlags flags=eFileNameNoFlags, OdCodePageId **pCodepage=0)
virtual int GetString(bool bIgnoreSpaces, const CFxString &sPrompt, const CFxString &sDefaultVal, CFxString *pResult, CFxEdInputTracker *pTracker=0, TRACKER_VECTOR *pTrackers=0)=0
virtual int GetFileName(bool &bFILEDIA, const CFxString &prompt, const CFxString &defaultFileName, CFxUserIO::FileNameRetVal *pResultMode, CFxString *pResultStr, FxWId parent, CFxUserIO::FileNameType eType, const CFxString &dialogCaption, const CFxString &defaultExtension, const CFxString &filter, const CFxString &initialDir, int *filterIndex=0, CFxString *templateName=0, FileNameFlags flags=eFileNameNoFlags, OdCodePageId **codepage=0)=0
virtual CFxString GetPrompt(const CFxString &prompt, const CFxString &range) const =0
virtual CFxString GetPromptKeyword(const CFxString &prompt, const CFxString *pDefaultValue=0) const =0
virtual OdSelectionSetPtr select(const OdString &prompt=OdString::kEmpty, int options=OdEd::kSelDefault, const OdSelectionSet *pDefaultValue=0, const OdString &keywords=OdString::kEmpty, OdSSetTracker *pTracker=0)=0
virtual int GetZoomScale(double *pScale, const CFxString &userInput, const CFxView *pView) const =0
OdGePoint3d getLASTPOINT() const override=0
virtual const CFxString & GetActivePrompt() const =0
virtual bool IsPending() const =0
void setLASTPOINT(const OdGePoint3d &pt) override=0
virtual int MessageBox(bool bFILEDIA, const CFxString &prompt, const CFxString &caption, unsigned int uType)=0
double getDist(const OdString &prompt, int options=OdEd::kInpDefault, double defaultValue=0.0, const OdString &keywords=OdString::kEmpty, OdEdRealTracker *pTracker=0) override=0
virtual int GetUserInput(CFxString *pInput)=0
virtual CFxString GetPromptInt(const CFxString &prompt, const int *pDefaultValue, const CFxString &range) const =0
virtual int GetFileNames(bool &bFILEDIA, const CFxString &prompt, const CFxString &defaultFileName, CFxUserIO::FileNameRetVal *pResultMode, CFxStringArray *pResultStrs, FxWId parent, CFxUserIO::FileNameType eType, const CFxString &dialogCaption, const CFxString &defaultExtension, const CFxString &filter, const CFxString &initialDir, int *filterIndex=0, CFxString *templateName=0, FileNameFlags flags=eFileNameNoFlags, OdCodePageId **codepage=0)=0
double getReal(const OdString &prompt, int options=OdEd::kInpDefault, double defVal=0.0, const OdString &keywords=OdString::kEmpty, OdEdRealTracker *pTracker=0) override=0
void putString(const OdString &string) override=0
virtual void Write(const CFxString &prompt)
OdEdPointDefTrackerPtr createRubberBand(const OdGePoint3d &base, OdGsModel *pModel=NULL) const override=0
virtual CFxSelectionSet * GetFxCurrentSelectionSet()=0
virtual CFxString GetPromptDist(const CFxString &prompt, const double *pDefaultValue) const =0
virtual int GetInt(const CFxString &prompt, const int *pDefaultVal, int *pResult, CFxRange< int > *pRange=0, CFxEdInputTracker *pTracker=0, const CFxString &errorPrompt=CFxString(), TRACKER_VECTOR *pTrackers=0)=0
virtual int DoNentsel(const CFxString &sPrompt, CFxSelectionSet *pSelectionSet, const fdt_resbufW *pFilter, OdGePoint3d &pickPointWCS, int pickflag, OdGeMatrix3d &modelToWorld, OdDbObjectIdArray &containerBlocks, int keywords=eKwNEntSel, CFxSelectionSet::RemoveFlags flags=CFxSelectionSet::eRemoveDefaultInvalid, TRACKER_VECTOR *pTrackers=0)=0
virtual int GetAngle(const CFxString &prompt, const double *pDefaultValue, const OdGePoint3d *pBasePointWCS, double *pResult, CFxRange< double > *pRange=0, CFxEdInputTracker *pTracker=0, const CFxString &errorPrompt=CFxString(), bool bDoNotShowBasePointLine=false, TRACKER_VECTOR *pTrackers=0, const OdGePlane *pPlane=0)=0
enum CFxUserIO::_SelectMode SelectMode
virtual CFxString GetPromptKeyword(const CFxString *pDefaultValue=0, const CFxString *pOptionDescription=0) const =0
virtual int GetDouble(const CFxString &sPrompt, const double *pDefaultVal, double *pResult, CFxRange< double > *pRange=0, CFxEdInputTracker *pTracker=0, const CFxString &errorPrompt=CFxString(), TRACKER_VECTOR *pTrackers=0)=0
int getInt(const OdString &prompt, int options=OdEd::kInpDefault, int defVal=0, const OdString &keywords=OdString::kEmpty, OdEdIntegerTracker *pTracker=0) override=0
virtual void SetIsPrintSelectResults(bool value)=0
enum CFxUserIO::_FileNameFlags FileNameFlags
virtual CFxString GetPromptAngle(const CFxString &prompt, const double *pDefaultValue, bool ignoreANGBASE=false) const =0
virtual int DoEntsel(const CFxString &sPrompt, CFxSelectionSet *pSelectionSet, const fdt_resbufW *pFilter, OdGePoint3d &pickPointWCS, bool &bPointInput, int keywords=eKwEntSel, CFxSelectionSet::RemoveFlags flags=CFxSelectionSet::eRemoveDefaultInvalid, TRACKER_VECTOR *pTrackers=0)=0
virtual CFxString GetPrompt(const CFxString &prompt) const =0
virtual void SetPromptExplanation(const CFxString &explanation)=0
virtual OdDbUnitsFormatter & formatter()=0
virtual void SetCurrentPrompt(const CFxString &prompt, bool bWrite=false)=0
OdSelectionSetPtr pickfirst() override=0
virtual void SetPreviousSelectionSet(const OdDbObjectIdArray &ids)=0
virtual CFxString GetPromptString(const CFxString &prompt, const CFxString *pDefaultValue) const =0
virtual void MessageLoop_Obsolete(bool bClickAllowed, bool bIgnoreWhiteSpaces, CFxTracker *pInputTracker, OdResBufPtr &pInput, TRACKER_VECTOR *pTrackers)=0
static int GetFileNameStatic_Obsolete(FileNameRetVal *pResultMode, CFxString *pResultStr, FxWId parent, CFxUserIO::FileNameType eType, const CFxString &dialogCaption, const CFxString &defaultExtension, const CFxString &filter, const CFxString &initialDir, int *filterIndex=0, CFxString *templateName=0, FileNameFlags flags=eFileNameNoFlags, OdCodePageId **pCodepage=0)
OdCmColor getColor(const OdString &prompt, int options=OdEd::kInpDefault, const OdCmColor *pDefaultValue=0, const OdString &keywords=OdString::kEmpty, OdEdColorTracker *pTracker=0) override=0
virtual CFxString GetPromptReal(const CFxString &prompt, const double *pDefaultValue) const =0
virtual int GetDist(const CFxString &prompt, const double *pDefaultValue, const OdGePoint3d *pBasePtWCS, double *pResult, CFxRange< double > *pRange=0, CFxEdInputTracker *pTracker=0, const CFxString &errorPrompt=CFxString(), bool bDoNotShowBasePointLine=false, TRACKER_VECTOR *pTrackers=0, const OdGePlane *pPlane=0)=0
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
GLsizei const GLfloat * value