1 // GEOM GEOMGUI : GUI for Geometry component
3 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
24 // File : GeometryGUI_Swig.cxx
25 // Author : Nicolas REJNERI, Paul RASCLE
29 #include "GeometryGUI_Swig.hxx"
30 #include "SALOMEGUI_Swig.hxx"
33 #include "GEOM_Actor.h"
34 #include "GEOM_Client.hxx"
35 #include "GEOM_AISShape.hxx"
36 #include "GEOM_AssemblyBuilder.h"
37 #include "GEOM_InteractiveObject.hxx"
39 #include "utilities.h"
43 static GEOM_Client ShapeReader;
46 GEOM_Swig::GEOM_Swig()
48 // MESSAGE("Constructeur");
51 GEOM_Swig::~GEOM_Swig()
53 // MESSAGE("Destructeur");
56 void GEOM_Swig::createAndDisplayGO(const char* Entry)
58 // MESSAGE("createAndDisplayGO");
63 int GEOM_Swig::getIndexTopology(const char* SubIOR, const char* IOR)
69 const char* GEOM_Swig::getShapeTypeString(const char* IOR)
76 const char* GEOM_Swig::getShapeTypeIcon(const char* IOR)
81 void GEOM_Swig::setDisplayMode(const char* theEntry, int theMode)
85 void GEOM_Swig::setColor(const char* theEntry, int red, int green, int blue)
89 void GEOM_Swig::setTransparency(const char* theEntry, float transp)