GEOM::GEOM_Gen_var GeometryGUI::myComponentGeom = GEOM::GEOM_Gen::_nil();
+bool GeometryGUI::InitGeomGen()
+{
+ GeometryGUI aGG;
+ if( CORBA::is_nil( myComponentGeom ) ) return false;
+ return true;
+}
+
//=================================================================================
// class : CustomItem
// purpose : Set Font to a text.
Engines::Component_var comp = ls->FindOrLoad_Component( "FactoryServer", "GEOM" );
myComponentGeom = GEOM::GEOM_Gen::_narrow( comp );
}
-
+
myState = -1;
myActiveDialogBox = 0;
myFatherior = "";
virtual void initialize( CAM_Application* );
virtual QString engineIOR() const;
+ static bool InitGeomGen(); //BugID IPAL9186: SRN: To be called by Python scripts
+
static GEOM::GEOM_Gen_var GetGeomGen() { return myComponentGeom; }
GEOM_Client& GetShapeReader() { return myShapeReader; }
Exp.Next();
}
}
+
return -1;
}
ProcessVoidEvent(new TEvent(app,anIO,transp));
}
+
+
+bool GEOM_Swig::initGeomGen()
+{
+ return GeometryGUI::InitGeomGen();
+}
int getIndexTopology(const char *SubEntry, const char *Entry);
const char* getShapeTypeString(const char *Entry);
const char* getShapeTypeIcon(const char *Ior);
+
+ bool initGeomGen();
};
void setColor(const char* Entry, int red, int green, int blue);
void setTransparency(const char* Entry, float transp);
const char* getShapeTypeIcon(const char *Ior);
+
+ bool initGeomGen();
};