geom/src/GEOMGUI/GeometryGUI_Swig.cxx

92 lines
2.0 KiB
C++
Raw Normal View History

2003-07-09 21:01:54 +06:00
// GEOM GEOMGUI : GUI for Geometry component
//
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
//
//
//
// File : GeometryGUI_Swig.cxx
// Author : Nicolas REJNERI, Paul RASCLE
// Module : GEOM
2003-05-12 21:24:23 +06:00
// $Header$
#include "GeometryGUI_Swig.hxx"
2004-12-01 15:39:14 +05:00
#include "SALOMEGUI_Swig.hxx"
2003-05-12 21:24:23 +06:00
2003-07-09 21:01:54 +06:00
#include "GEOM_Actor.h"
#include "GEOM_Client.hxx"
#include "GEOM_AISShape.hxx"
#include "GEOM_AssemblyBuilder.h"
#include "GEOM_InteractiveObject.hxx"
2004-12-01 15:39:14 +05:00
#include "utilities.h"
using namespace std;
2003-05-12 21:24:23 +06:00
static GEOM_Client ShapeReader;
2004-12-01 15:39:14 +05:00
2003-05-19 13:18:06 +06:00
GEOM_Swig::GEOM_Swig()
2003-05-12 21:24:23 +06:00
{
// MESSAGE("Constructeur");
}
2003-05-19 13:18:06 +06:00
GEOM_Swig::~GEOM_Swig()
2003-05-12 21:24:23 +06:00
{
// MESSAGE("Destructeur");
}
2003-05-19 13:18:06 +06:00
void GEOM_Swig::createAndDisplayGO(const char* Entry)
2003-05-12 21:24:23 +06:00
{
// MESSAGE("createAndDisplayGO");
}
2004-12-01 15:39:14 +05:00
2003-05-19 13:18:06 +06:00
int GEOM_Swig::getIndexTopology(const char* SubIOR, const char* IOR)
2003-05-12 21:24:23 +06:00
{
return -1;
}
2003-05-19 13:18:06 +06:00
const char* GEOM_Swig::getShapeTypeString(const char* IOR)
2003-05-12 21:24:23 +06:00
{
2004-06-16 21:24:55 +06:00
return 0;
2003-05-12 21:24:23 +06:00
}
2003-05-19 13:18:06 +06:00
const char* GEOM_Swig::getShapeTypeIcon(const char* IOR)
2003-05-12 21:24:23 +06:00
{
return "None";
}
2004-12-01 15:39:14 +05:00
void GEOM_Swig::setDisplayMode(const char* theEntry, int theMode)
2003-05-12 21:24:23 +06:00
{
}
2004-12-01 15:39:14 +05:00
void GEOM_Swig::setColor(const char* theEntry, int red, int green, int blue)
2003-05-12 21:24:23 +06:00
{
}
2004-12-01 15:39:14 +05:00
void GEOM_Swig::setTransparency(const char* theEntry, float transp)
2003-05-12 21:24:23 +06:00
{
}