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_CARTESIAN_AXIS_EDITOR_H
00025 #define _POXT_CARTESIAN_AXIS_EDITOR_H
00026
00027 #include <MeshViz/graph/editors/PoXtAxisEditor.h>
00028 class SoDEPRECATED PoXtCartesianAxisEditor
00040 : public PoXtAxisEditor
00041 {
00042
00043 public:
00044
00045 enum CartesianAxisMask
00046 {
00047 NO_CARTESIAN_MASK = 0x00000000,
00048 START = 0x00000001,
00049 END = 0x00000002,
00050 TYPE = 0x00000004,
00051 ALL_CARTESIAN_MASK = START | END | TYPE
00052 } ;
00053
00054
00055
00061 void setCartesianAxisFilter(unsigned long inclusionMask,
00062 unsigned long exclusionMask);
00063
00068 void getCartesianAxisFilter(unsigned long & inclusionMask,
00069 unsigned long & exclusionMask) const;
00070 private:
00071 PoXtCartesianAxisEditor (SoWidget Parent = NULL,
00072 const char * name = NULL,
00073 SbBool buildInsideParent = TRUE);
00074
00075 virtual void buildWidget (SoWidget Parent,
00076 const char * name,
00077 SbBool buildInsideParent);
00078 virtual void setAxisFilter();
00079
00080 virtual ~PoXtCartesianAxisEditor ();
00081
00082 virtual SbString getDefaultWidgetName() const;
00083 virtual SbString getDefaultTitle() const;
00084 virtual SbString getDefaultIconTitle() const;
00085
00086 virtual void copyAxisFields(PoAxis * dest, PoAxis * source);
00087 virtual void updateAxisFromXtElements ();
00088
00089 virtual int getMenuItems();
00090
00091
00092
00093 unsigned long _incCartMask;
00094 unsigned long _excCartMask;
00095
00096 private:
00097 int _classMenusNb;
00098 SbBool _isCartesianSet;
00099
00100
00101 static void cartesianElementsCallback (void *, const PoXtDialog::PoXtDialogDataCB *);
00102 };
00103
00104 #endif //_POXT_CARTESIAN_AXIS_EDITOR_H
00105
00106