00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _POXT_POLAR_LIN_AXIS_EDITOR_H
00025 #define _POXT_POLAR_LIN_AXIS_EDITOR_H
00026
00027 #include <MeshViz/graph/editors/PoXtPolarAxisEditor.h>
00028 class SoDEPRECATED PoXtPolarLinAxisEditor
00040 : public PoXtPolarAxisEditor
00041 {
00042
00043 public:
00044
00045 enum PolarLinAxisMask
00046 {
00047 NO_POLAR_LIN_MASK = 0x00000000,
00048 STEP = 0x00000001,
00049 GRAD_FIT = 0x00000002,
00050 FORMAT = 0x00000004,
00051 ALL_POLAR_LIN_MASK = STEP | GRAD_FIT | FORMAT
00052 } ;
00053
00054
00055
00059 PoXtPolarLinAxisEditor(SoWidget parent=NULL,
00060 const char * name=NULL,
00061 SbBool buildInsideParent=TRUE);
00062
00066 ~PoXtPolarLinAxisEditor();
00067
00073 void setPolarLinAxisFilter(unsigned long inclusionMask,
00074 unsigned long exclusionMask);
00075
00080 void getPolarLinAxisFilter(unsigned long & inclusionMask,
00081 unsigned long & exclusionMask) const;
00082 private:
00083 virtual void buildWidget (SoWidget Parent,
00084 const char * name,
00085 SbBool buildInsideParent);
00086 virtual void setAxisFilter();
00087
00088 virtual SbString getDefaultWidgetName() const;
00089 virtual SbString getDefaultTitle() const;
00090 virtual SbString getDefaultIconTitle() const;
00091
00092 virtual void copyAxisFields(PoAxis * dest, PoAxis * source);
00093 virtual void updateAxisFromXtElements ();
00094
00095 virtual int getMenuItems();
00096
00097
00098 unsigned long _incPolarLinMask;
00099 unsigned long _excPolarLinMask;
00100
00101 private:
00102 int _classMenusNb;
00103 SbBool _isPolarLinSet;
00104
00105
00106 static void polarLinElementsCallback (void *, const PoXtDialog::PoXtDialogDataCB *);
00107 };
00108
00109
00110 #endif //_POXT_POLAR_LIN_AXIS_EDITOR_H
00111
00112