- static GeometryGUI* myContext; // the only GeometryGUI object
-
- GUIMap myGUIMap; // GUI libraries map
- QDialog* myActiveDialogBox; // active dialog box
- GEOM_Client myShapeReader; // geom shape reader
- Standard_CString myFatherior;
- GEOM::GEOM_Gen_var myComponentGeom; // GEOM engine
- int myState; // identify a method
- gp_Ax3 myWorkingPlane;
+ GEOMGUI* getLibrary( const QString& libraryName );
+ void createGeomAction( const int id, const QString& po_id,
+ const QString& icon_id = QString(""),
+ const int key = 0, const bool toggle = false,
+ const QString& shortcutAction = QString() );
+ void createPopupItem( const int, const QString& clients, const QString& types,
+ const bool isSingle = false, const int isVisible = -1,
+ const bool isExpandAll = false, const bool isOCC = false,
+ const int parentId = -1 );
+
+ void createOriginAndBaseVectors();
+
+public:
+ static GEOM::GEOM_Gen_var myComponentGeom; // GEOM engine!!!
+
+private:
+
+ typedef QMap<long, Handle(Graphic3d_HArray1OfBytes)> TextureMap;
+ typedef QMap<long, TextureMap> StudyTextureMap;
+ typedef QMap<QString, GEOMGUI*> GUIMap;
+
+ GUIMap myGUIMap; // GUI libraries map
+ QDialog* myActiveDialogBox; // active dialog box
+ gp_Ax3 myWorkingPlane;
+ QMap<int,QString> myRules; // popup rules
+ static StudyTextureMap myTextureMap; // texture map
+
+ QList<GEOMGUI_OCCSelector*> myOCCSelectors;
+ QList<LightApp_VTKSelector*> myVTKSelectors;
+
+ LightApp_Displayer* myDisplayer;
+ int myLocalSelectionMode; //Select Only
+
+ friend class DisplayGUI;