Remove obsolete directory

This commit is contained in:
vsr 2008-01-31 11:56:39 +00:00
parent 6261ec8398
commit 696ce8ca9f
6 changed files with 0 additions and 3456 deletions

View File

@ -1,171 +0,0 @@
//
// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
// File : GEOMContext.cxx
// Author : Damien COQUERET
// Module : GEOM
// $Header:
#include "GEOMContext.h"
#include "QAD_Tools.h"
using namespace std;
/* The object itself created in the static method 'GetOrCreateGEOMBase()' */
static GEOMContext* GeomGUI = 0;
//=======================================================================
// function : GEOMContext()
// purpose : Constructor
//=======================================================================
GEOMContext::GEOMContext() :
QObject()
{
}
//=======================================================================
// function : ~GEOMContext()
// purpose : Destructor
//=======================================================================
GEOMContext::~GEOMContext()
{
}
//=======================================================================
// function : GetGEOMContext() static
// purpose : Returns current 'GeomGUI' a static pointer
//=======================================================================
GEOMContext* GEOMContext::GetGeomGUI()
{
return GeomGUI;
}
//=======================================================================
// function : GetOrCreateGEOMBase()
// purpose : Gets or create an object 'GEOMBase' with initialisations
// : Returns 'GeomGUI' as a pointer
//=======================================================================
GEOMContext* GEOMContext::GetOrCreateGeomGUI(QAD_Desktop* desktop)
{
if(GeomGUI == 0) {
GeomGUI = new GEOMContext();
Engines::Component_var comp = desktop->getEngine("FactoryServer", "GEOM");
GeomGUI->myComponentGeom = GEOM::GEOM_Gen::_narrow(comp);
GeomGUI->myState = -1;
GeomGUI->myActiveDialogBox = 0;
GeomGUI->myFatherior = "";
GeomGUI->myGUILibrary = OSD_SharedLibrary();
/* GetCurrentStudy */
int studyId = desktop->getActiveStudy()->getStudyId();
GeomGUI->myComponentGeom->GetCurrentStudy(studyId);
GeomGUI->myNbGeom = GeomGUI->myComponentGeom->NbLabels();
}
/* GetCurrentStudy */
int studyId = desktop->getActiveStudy()->getStudyId();
GeomGUI->myComponentGeom->GetCurrentStudy(studyId);
GeomGUI->myNbGeom = GeomGUI->myComponentGeom->NbLabels();
return GeomGUI;
}
//=======================================================================
// function : LoadLibrary()
// purpose :
//=======================================================================
bool GEOMContext::LoadLibrary(QString GUILibrary)
{
QCString libs;
QFileInfo fileInfo;
QString GUILib, fileString, dir;
if(libs = getenv("LD_LIBRARY_PATH")) {
QStringList dirList = QStringList::split(":", libs, false); // skip empty entries
for(int i = dirList.count()-1; i >= 0; i--) {
dir = dirList[i];
fileString = QAD_Tools::addSlash(dir) + GUILibrary;
fileInfo.setFile(fileString);
if(fileInfo.exists()) {
GUILib = fileInfo.fileName();
break;
}
}
}
myGUILibrary.SetName(TCollection_AsciiString((char*)GUILib.latin1()).ToCString());
bool res = myGUILibrary.DlOpen(OSD_RTLD_LAZY);
if(!res)
cout<<"Can't open library : "<<myGUILibrary.DlError()<<endl;
return res;
}
//=======================================================================
// function : SetActiveDialogBox()
// purpose :
//=======================================================================
void GEOMContext::SetActiveDialogBox(QDialog* aDlg)
{
myActiveDialogBox = (QDialog*)aDlg;
return;
}
//=======================================================================
// function : EmitSignalDeactivateDialog()
// purpose : Emit a signal to deactivate the active dialog Box
//=======================================================================
void GEOMContext::EmitSignalDeactivateDialog()
{
emit SignalDeactivateActiveDialog();
return;
}
//=======================================================================
// function : EmitSignalCloseAllDialogs()
// purpose : Emit a signal to deactivate all non modal dialogs box
//=======================================================================
void GEOMContext::EmitSignalCloseAllDialogs()
{
emit SignalCloseAllDialogs();
return;
}
//=======================================================================
// function : EmitSignalDefaultStepValueChanged()
// purpose :
//=======================================================================
void GEOMContext::EmitSignalDefaultStepValueChanged(double newVal)
{
emit SignalDefaultStepValueChanged(newVal);
return;
}

View File

@ -1,106 +0,0 @@
// GEOMCONTEXT
//
// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
// File : GEOMContext.h
// Author : Damien COQUERET
// Module : GEOM
// $Header:
#ifndef GEOMCONTEXT_H
#define GEOMCONTEXT_H
#include "QAD_Desktop.h"
#include "GEOM_Client.hxx"
#include <OSD_SharedLibrary.hxx>
#include <qapplication.h>
#ifdef WNT
#if defined GEOMCONTEXT_EXPORTS
#if defined WIN32
#define GEOM_CONTEXT_EXPORT __declspec( dllexport )
#else
#define GEOM_CONTEXT_EXPORT
#endif
#else
#if defined WIN32
#define GEOM_CONTEXT_EXPORT __declspec( dllimport )
#else
#define GEOM_CONTEXT_EXPORT
#endif
#endif
#else
#define GEOM_CONTEXT_EXPORT
#endif
//=================================================================================
// class : GEOMContext
// purpose :
//=================================================================================
class GEOM_CONTEXT_EXPORT GEOMContext : public QObject
{
Q_OBJECT /* for QT compatibility */
public :
GEOMContext();
~GEOMContext();
private :
QDialog* myActiveDialogBox; /* Unique active dialog box */
GEOM_Client myShapeReader;
Standard_CString myFatherior;
public :
int myNbGeom; /* Unique name for a geom entity */
static GEOMContext* GetOrCreateGeomGUI(QAD_Desktop* desktop);
static GEOMContext* GetGeomGUI();
OSD_SharedLibrary myGUILibrary;
GEOM::GEOM_Gen_var myComponentGeom;
int myState; /* Identify a method */
/* Returns the active DialogBox */
QDialog* GetActiveDialogBox(){return myActiveDialogBox ;};
int& GetNbGeom(){return myNbGeom;};
GEOM_Client& GetShapeReader(){return myShapeReader;};
Standard_CString& GetFatherior(){return myFatherior;};
bool LoadLibrary(QString GUILibrary);
/* Sets 'myActiveDialogBox' a pointer to the active Dialog Box */
void SetActiveDialogBox(QDialog* aDlg);
/* Non modal dialog boxes magement */
void EmitSignalDeactivateDialog();
void EmitSignalCloseAllDialogs();
void EmitSignalDefaultStepValueChanged(double newVal);
signals :
void SignalDeactivateActiveDialog();
void SignalCloseAllDialogs();
void SignalDefaultStepValueChanged(double newVal);
};
#endif

View File

@ -1,402 +0,0 @@
# Copyright (C) 2005 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# This is a Qt message file in .po format. Each msgid starts with
# a scope. This scope should *NOT* be translated - eg. translating
# from French to English, "Foo::Bar" would be translated to "Pub",
# not "Foo::Pub".
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: 2001-06-14 09:11:49 PM CEST\n"
"PO-Revision-Date: 2003-09-22 16:39+0200\n"
"Last-Translator: FULLNAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
#Select
msgid "ICON_SELECT"
msgstr "select1.png"
#: QAD_ObjectBrowser.cxx:140
msgid "ICON_OBJBROWSER_Geometry"
msgstr "geometry.png"
#: QAD_ObjectBrowser.cxx:140
msgid "ICON_OBJBROWSER_COMPOUND"
msgstr "tree_compound.png"
#: QAD_ObjectBrowser.cxx:140
msgid "ICON_OBJBROWSER_COMPSOLID"
msgstr "tree_compsolid.png"
#: QAD_ObjectBrowser.cxx:140
msgid "ICON_OBJBROWSER_EDGE"
msgstr "tree_edge.png"
#: QAD_ObjectBrowser.cxx:140
msgid "ICON_OBJBROWSER_FACE"
msgstr "tree_face.png"
#: QAD_ObjectBrowser.cxx:140
msgid "ICON_OBJBROWSER_SHAPE"
msgstr "tree_shape.png"
#: QAD_ObjectBrowser.cxx:140
msgid "ICON_OBJBROWSER_SHELL"
msgstr "tree_shell.png"
#: QAD_ObjectBrowser.cxx:140
msgid "ICON_OBJBROWSER_SOLID"
msgstr "tree_solid.png"
#: QAD_ObjectBrowser.cxx:140
msgid "ICON_OBJBROWSER_VERTEX"
msgstr "tree_vertex.png"
#: QAD_ObjectBrowser.cxx:140
msgid "ICON_OBJBROWSER_WIRE"
msgstr "tree_wire.png"
#BoxDlg
msgid "ICON_DLG_BOX_2P"
msgstr "box2points.png"
#BoxDlg
msgid "ICON_DLG_BOX_DXYZ"
msgstr "boxdxyz.png"
#CylinderDlg
msgid "ICON_DLG_CYLINDER_PV"
msgstr "cylinderpointvector.png"
#CylinderDlg
msgid "ICON_DLG_CYLINDER_DXYZ"
msgstr "cylinderdxyz.png"
#SphereDlg
msgid "ICON_DLG_SPHERE_P"
msgstr "spherepoint.png"
#SphereDlg
msgid "ICON_DLG_SPHERE_DXYZ"
msgstr "spheredxyz.png"
#torusDlg
msgid "ICON_DLG_TORUS_PV"
msgstr "toruspointvector.png"
#ConeDlg
msgid "ICON_DLG_CONE_PV"
msgstr "conepointvector.png"
#torusDlg
msgid "ICON_DLG_TORUS_DXYZ"
msgstr "torusdxyz.png"
#ConeDlg
msgid "ICON_DLG_CONE_DXYZ"
msgstr "conedxyz.png"
#LineDlg
msgid "ICON_DLG_LINE_2P"
msgstr "line2points.png"
#LineDlg
msgid "ICON_DLG_LINE_2F"
msgstr "line2faces.png"
#LineDlg
msgid "ICON_DLG_LINE_EDGE"
msgstr "lineedge.png"
#LineDlg
msgid "ICON_DLG_LINE_PV"
msgstr "linepointvector.png"
#CircleDlg
msgid "ICON_DLG_CIRCLE_PV"
msgstr "circlepointvector.png"
#CircleDlg
msgid "ICON_DLG_CIRCLE_C2P"
msgstr "circlecenter2pnts.png"
#VectorDlg
msgid "ICON_DLG_VECTOR_2P"
msgstr "vector2points.png"
#vectorDlg
msgid "ICON_DLG_VECTOR_DXYZ"
msgstr "vectordxyz.png"
#PlaneDlg
msgid "ICON_DLG_PLANE_DXYZ"
msgstr "planedxyz.png"
#PlaneDlg
msgid "ICON_DLG_PLANE_FACE"
msgstr "planeface.png"
#PlaneDlg
msgid "ICON_DLG_PLANE_PV"
msgstr "planepointvector.png"
#WorkingPlaneDlg
msgid "ICON_DLG_WPLANE_FACE"
msgstr "planeworkingface.png"
#PointDlg
msgid "ICON_DLG_POINT"
msgstr "point2.png"
#PoinDlg
msgid "ICON_DLG_POINT_EDGE"
msgstr "pointonedge.png"
#PoinDlg
msgid "ICON_DLG_POINT_LINES"
msgstr "point_line_intersection.png"
#ArcDlg
msgid "ICON_DLG_ARC"
msgstr "arc.png"
#ArchimedeDlg
msgid "ICON_DLG_ARCHIMEDE"
msgstr "archimede.png"
#PartitionDlg
msgid "ICON_DLG_PARTITION"
msgstr "partition.png"
#PartitionDlg
msgid "ICON_DLG_PARTITION_KEEP_FACES"
msgstr "partitionkeep.png"
#CenterMassDlg
msgid "ICON_DLG_CENTERMASS"
msgstr "centergravity.png"
#BoundingBoxDlg
msgid "ICON_DLG_BOUNDING_BOX"
msgstr "bounding.png"
#CommonDlg
msgid "ICON_DLG_COMMON"
msgstr "common.png"
#CompoundDlg
msgid "ICON_DLG_BUILD_COMPOUND"
msgstr "build_compound.png"
#CutDlg
msgid "ICON_DLG_CUT"
msgstr "cut.png"
#EdgeDlg
msgid "ICON_DLG_BUILD_EDGE"
msgstr "build_edge.png"
#FaceDlg
msgid "ICON_DLG_BUILD_FACE"
msgstr "build_face.png"
#ShellDlg
msgid "ICON_DLG_BUILD_SHELL"
msgstr "build_shell.png"
#SolidDlg
msgid "ICON_DLG_BUILD_SOLID"
msgstr "build_solid.png"
#WireDlg
msgid "ICON_DLG_BUILD_WIRE"
msgstr "build_wire.png"
#FillingDlg
msgid "ICON_DLG_FILLING"
msgstr "filling.png"
#FuseDlg
msgid "ICON_DLG_FUSE"
msgstr "fuse.png"
#InertiaDlg
msgid "ICON_DLG_INERTIA"
msgstr "axisinertia.png"
#ToleranceDlg
msgid "ICON_DLG_TOLERANCE"
msgstr "tolerance.png"
#BasicPropertiesDlg
msgid "ICON_DLG_BASICPROPERTIES"
msgstr "basicproperties.png"
#WhatisDlg
msgid "ICON_DLG_WHATIS"
msgstr "whatis.png"
#MinDistDlg
msgid "ICON_DLG_MINDIST"
msgstr "mindist.png"
#MirrorDlg
msgid "ICON_DLG_MIRROR"
msgstr "mirrorPlane.png"
#TranslationDlg
msgid "ICON_DLG_TRANSLATION"
msgstr "translation.png"
#RotationDlg
msgid "ICON_DLG_ROTATION"
msgstr "rotate.png"
#RotationDlg
msgid "ICON_DLG_ROTATION_THREE_POINTS"
msgstr "rotatepnt.png"
#ScaleDlg
msgid "ICON_DLG_SCALE"
msgstr "scale.png"
#OrientationDlg
msgid "ICON_DLG_ORIENTATION"
msgstr "orientation.png"
#SewingDlg
msgid "ICON_DLG_SEWING"
msgstr "sewing.png"
#PipeDlg
msgid "ICON_DLG_PIPE"
msgstr "pipe.png"
#PrismDlg
msgid "ICON_DLG_PRISM"
msgstr "prism.png"
#RevolutionDlg
msgid "ICON_DLG_REVOL"
msgstr "revol.png"
#SectionDlg
msgid "ICON_DLG_SECTION"
msgstr "section.png"
#SubShapeDlg
msgid "ICON_DLG_SUBSHAPE"
msgstr "subshape.png"
#FilletDlg
msgid "ICON_DLG_FILLET"
msgstr "fillet.png"
#ChamferDlg
msgid "ICON_DLG_CHAMFER"
msgstr "chamfer.png"
#FilletDlg
msgid "ICON_DLG_FILLET_ALL"
msgstr "filletall.png"
#ChamferDlg
msgid "ICON_DLG_CHAMFER_ALL"
msgstr "chamferall.png"
#FilletDlg
msgid "ICON_DLG_FILLET_EDGE"
msgstr "filletedge.png"
#ChamferDlg
msgid "ICON_DLG_CHAMFER_EDGE"
msgstr "chamferedge.png"
#FilletDlg
msgid "ICON_DLG_FILLET_FACE"
msgstr "filletface.png"
#ChamferDlg
msgid "ICON_DLG_CHAMFER_FACE"
msgstr "chamferface.png"
#ChamferDlg
msgid "ICON_DLG_CHECKSHAPE"
msgstr "check.png"
#SupressFaceDlg
msgid "ICON_DLG_SUPRESS_FACE"
msgstr "supressface.png"
#SupressHoleDlg
msgid "ICON_DLG_SUPRESS_HOLE"
msgstr "supresshole.png"
#SupressHoleDlg
msgid "ICON_DLG_SUPRESS_HOLE_FACE_SHELL"
msgstr "supressHolesOnFaceShell.png"
#ChangeOrientationDlg
msgid "ICON_DLG_CHANGE_ORIENTATION"
msgstr "change_orientation.png"
#MultiTranslationDlg
msgid "ICON_DLG_MULTITRANSLATION_SIMPLE"
msgstr "multitranslationsimple.png"
#MultiTranslationDlg
msgid "ICON_DLG_MULTITRANSLATION"
msgstr "multitranslation.png"
#MultiTranslationDlg
msgid "ICON_DLG_MULTITRANSLATION_DOUBLE"
msgstr "multitranslationdouble.png"
#MultiRotationDlg
msgid "ICON_DLG_MULTIROTATION_SIMPLE"
msgstr "multirotationsimple.png"
#MultiRotationDlg
msgid "ICON_DLG_MULTIROTATION"
msgstr "multirotation.png"
#MultiRotationDlg
msgid "ICON_DLG_MULTIROTATION_DOUBLE"
msgstr "multirotationdouble.png"
#EllipseDlg
msgid "ICON_DLG_ELLIPSE_PV"
msgstr "ellipsepointvector.png"
#SplineDlg
msgid "ICON_DLG_SPLINE"
msgstr "spline.png"
#SplineDlg
msgid "ICON_DLG_BEZIER"
msgstr "bezier.png"
#SplineDlg
msgid "ICON_DLG_INTERPOL"
msgstr "interpol.png"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,65 +0,0 @@
# GEOM GEOMCONTEXT :
#
# 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
#
#
# File : Makefile.in
# Author : Damien COQUERET (OCC)
# Module : GEOM
# $Header:
top_srcdir=@top_srcdir@
top_builddir=../..
srcdir=@srcdir@
VPATH=.:@srcdir@:@top_srcdir@/idl
@COMMENCE@
# Libraries targets
LIB = libGEOMContext.la
# ressources files
PO_FILES = \
GEOM_icons.po \
GEOM_msg_en.po \
GEOM_msg_fr.po
# header files
EXPORT_HEADERS= GEOMContext.h
LIB_SRC = GEOMContext.cxx
LIB_MOC = \
GEOMContext.h
LIB_CLIENT_IDL = SALOME_Exception.idl
LIB_SERVER_IDL =
# additionnal information to compil and link file
CPPFLAGS += $(QT_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(KERNEL_CXXFLAGS)
CXXFLAGS += $(KERNEL_CXXFLAGS)
LDFLAGS += -lOCCViewer -lVTKViewer -lSalomeObject -lSalomeGUI -lGEOMClient -lGEOMObject $(KERNEL_LDFLAGS)
@CONCLUDE@