139 friend class CFxCommandParser;
205 eKwMultiple = 0x4000,
206 eKwPrevious = 0x8000,
210 eKwSUbobject = 0x80000,
211 eKwObject = 0x100000,
212 eKwSSGet = eKwWindow | eKwLast | eKwCrossing | eKwALL | eKwBOX | eKwFence | eKwWPolygon | eKwCPolygon | eKwGroup |
213 eKwAdd | eKwRemove | eKwMultiple | eKwPrevious | eKwUndo | eKwAUto | eKwSIngle
234 int keywords = eKwSSGet,
239 bool bSingleMode =
false,
262 int keywords = eKwEntSel,
293 int keywords = eKwNEntSel,
333 bool bDoNotShowBasePointLine =
false,
398 const double* pDefaultVal,
419 const int* pDefaultVal,
443 const double* pDefaultValue,
449 bool bDoNotShowBasePointLine =
false,
469 const double* pDefaultValue,
475 bool bDoNotShowBasePointLine =
false,
496 const double* pDefaultValue,
502 bool bDoNotShowBasePointLine =
false,
547 const double* pDefaultValue,
553 bool bDoNotShowBasePointLine =
false,
561 eFileNameNoFlags = 0,
562 eFileNameHaveMenu = 1
569 eTypeFilter = 0x000000FF,
574 eOpenFilter = 0x0000FF00,
575 eOpenNoPreview = 0x00000100,
576 eOpenNoReadOnly = 0x00000200,
577 eOpenNoTemplateHandling = 0x00000400,
579 eOpenNotExist = 0x00000800,
587 eFileNewNoTemplateImperial = 0x000002,
588 eFileNewNoTemplateMetric = 0x000003,
590 eFileOpen = 0x000100,
591 eFileOpenReadOnly = 0x000300,
593 eFileSave = 0x010000,
623 int* filterIndex = 0,
653 int* filterIndex = 0,
690 int* filterIndex = 0,
725 int* filterIndex = 0,
742 unsigned int uType ) = 0;
915 bool bIgnoreWhiteSpaces,
1009 double defaultValue = 0.0,
1016 double defaultValue = 0.0,
1028 #if TD_VERSION >= 40301
1066 double defVal = 0.0,
std::vector< CFxString > CFxStringArray
std::vector< CFxTracker * > TRACKER_VECTOR
DDKERNEL_API CFxUserIO * GetFxUserIO(OdEdCommandContext *pCmdCtx)
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 void Initget(int iFlags)=0
enum CFxUserIO::_FileNameType FileNameType
void setPickfirst(OdSelectionSet *pSSet) override=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
std::vector< CFxUserIO::FileNameRetVal > FileNameRetValArray
virtual CFxSelectionSet * GetFxCurrentSelectionSet()=0
OdGePoint3d getPoint(const OdString &prompt, int options=OdEd::kGptDefault, const OdGePoint3d *pDefaultValue=0, const OdString &keywords=OdString::kEmpty, OdEdPointTracker *pTracker=0) override=0
virtual OdDbUnitsFormatter & formatter()=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 const OdDbObjectIdArray & GetPreviousSelectionSet() 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 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 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 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
virtual const CFxString & GetUserInput() const =0
OdGePoint3d getLASTPOINT() const override=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
virtual const CFxStringArray & GetActiveLocalKeywords(CFxStringArray &activeLocalAbbreviations) const =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 const CFxString & GetActivePrompt() const =0
virtual void Write(const CFxString &prompt)
OdEdPointDefTrackerPtr createRubberBand(const OdGePoint3d &base, OdGsModel *pModel=NULL) const override=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 const CFxUnitsFormatter * GetUnitsFormatter() const =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 const CFxStringArray & GetActiveGlobalKeywords(CFxStringArray &activeGlobalAbbreviations) const =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 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