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_LOG_AXIS_EDITOR_H
00025 #define _POXT_POLAR_LOG_AXIS_EDITOR_H
00026
00027 #include <MeshViz/graph/editors/PoXtPolarAxisEditor.h>
00028 class SoDEPRECATED PoXtPolarLogAxisEditor
00040 : public PoXtPolarAxisEditor
00041 {
00042
00043 public:
00044
00045 enum PolarLogAxisMask
00046 {
00047 NO_POLAR_LOG_MASK = 0x00000000,
00048 DECADE_LIST_DEF = 0x00000001,
00049 DECADE_LIST = 0x00000002,
00050 DECADE_REP = 0x00000004,
00051 DECADE_FONT_NAME = 0x00000008,
00052 DECADE_FONT_SIZE = 0x00000010,
00053 TEN_POWER_REP = 0x00000020,
00054 ALL_POLAR_LOG_MASK = DECADE_LIST_DEF | DECADE_LIST
00055 | DECADE_REP | DECADE_FONT_NAME
00056 | DECADE_FONT_SIZE | TEN_POWER_REP
00057 } ;
00058
00059
00060
00064 PoXtPolarLogAxisEditor(SoWidget parent=NULL,
00065 const char * name=NULL,
00066 SbBool buildInsideParent=TRUE);
00067
00071 ~PoXtPolarLogAxisEditor();
00072
00079 void setPolarLogAxisFilter(unsigned long inclusionMask,
00080 unsigned long exclusionMask);
00081
00086 void getPolarLogAxisFilter(unsigned long & inclusionMask,
00087 unsigned long & exclusionMask) const;
00088 private:
00089 virtual void buildWidget (SoWidget Parent,
00090 const char * name,
00091 SbBool buildInsideParent);
00092 virtual void setAxisFilter();
00093
00094 virtual SbString getDefaultWidgetName() const;
00095 virtual SbString getDefaultTitle() const;
00096 virtual SbString getDefaultIconTitle() const;
00097
00098 virtual void copyAxisFields(PoAxis * dest, PoAxis * source);
00099 virtual void updateAxisFromXtElements ();
00100
00101 virtual int getMenuItems();
00102
00103
00104 unsigned long _incPolarLogMask;
00105 unsigned long _excPolarLogMask;
00106
00107 private:
00108 int _classMenusNb;
00109 SbBool _isPolarLogSet;
00110
00111
00112 static void polarLogElementsCallback (void *, const PoXtDialog::PoXtDialogDataCB *);
00113 };
00114
00115
00116 #endif //_POXT_POLAR_LOG_AXIS_EDITOR_H
00117
00118