// OCCT Includes
#include <gp_Ax3.hxx>
+#include <Graphic3d_HArray1OfBytes.hxx>
// IDL headers
#include "SALOMEconfig.h"
class LightApp_VTKSelector;
class LightApp_Selection;
class SUIT_ViewManager;
+class SalomeApp_Study;
//=================================================================================
// class : GeometryGUI
virtual void initialize( CAM_Application* );
virtual QString engineIOR() const;
+ static Handle(Graphic3d_HArray1OfBytes) getTexture( SalomeApp_Study*, int, int&, int& );
+
static bool InitGeomGen(); //BugID IPAL9186: SRN: To be called by Python scripts
static GEOM::GEOM_Gen_var GetGeomGen();// { return GeometryGUI::myComponentGeom; }
static CORBA::Object_var ClientSObjectToObject (_PTR(SObject) theSObject);
static SALOMEDS::Study_var ClientStudyToStudy (_PTR(Study) theStudy);
- static char* JoinObjectParameters(const QStringList& theParametersList);
-
GEOM_Client& GetShapeReader() { return myShapeReader; }
Standard_CString& GetFatherior() { return myFatherior; }
//void SetState( const int state ) { myState = state; }
public:
static GEOM::GEOM_Gen_var myComponentGeom; // GEOM engine!!!
+
private:
+
+ typedef QMap<long, Handle(Graphic3d_HArray1OfBytes)> TextureMap;
+ typedef QMap<long, TextureMap> StudyTextureMap;
+
GUIMap myGUIMap; // GUI libraries map
QDialog* myActiveDialogBox; // active dialog box
GEOM_Client myShapeReader; // geom shape reader
int myState; // identify a method
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;
+ friend class DisplayGUI;
};
#endif