From 46fb51231345bb027081f198d3db8daccbc2ae2f Mon Sep 17 00:00:00 2001 From: nri Date: Wed, 9 Jul 2003 14:33:44 +0000 Subject: [PATCH] NRI : Merge from V1_2. --- src/ARCHIMEDE/Archimede_VolumeSection.cxx | 37 +- src/ARCHIMEDE/Archimede_VolumeSection.hxx | 35 +- src/ARCHIMEDE/Makefile.in | 34 +- src/GEOM/GEOM_Gen_i.cc | 119 +++- src/GEOM/GEOM_Gen_i.hh | 55 +- src/GEOM/GEOM_Shape_i.cc | 35 +- src/GEOM/GEOM_Shape_i.hh | 34 +- src/GEOM/Makefile.in | 35 +- src/GEOM/geom.cxx | 36 +- src/GEOMClient/GEOM_Client.cxx | 34 +- src/GEOMClient/GEOM_Client.hxx | 32 +- src/GEOMClient/Makefile.in | 34 +- src/GEOMDS/GEOMDS.cdl | 32 +- src/GEOMDS/GEOMDS_Application.cdl | 34 +- src/GEOMDS/GEOMDS_Application.cxx | 35 +- src/GEOMDS/GEOMDS_Application.hxx | 37 +- src/GEOMDS/GEOMDS_Application.ixx | 38 +- src/GEOMDS/GEOMDS_Application.jxx | 26 + src/GEOMDS/GEOMDS_Commands.cdl | 32 +- src/GEOMDS/GEOMDS_Commands.cxx | 34 +- src/GEOMDS/GEOMDS_Commands.hxx | 33 +- src/GEOMDS/GEOMDS_Commands.ixx | 38 +- src/GEOMDS/GEOMDS_Commands.jxx | 26 + ...MapIteratorOfDataMapOfIntegerTransient.hxx | 38 +- ...pIteratorOfDataMapOfIntegerTransient_0.cxx | 40 +- ...DataMapNodeOfDataMapOfIntegerTransient.hxx | 37 +- ...taMapNodeOfDataMapOfIntegerTransient_0.cxx | 40 +- .../GEOMDS_DataMapOfIntegerTransient.hxx | 38 +- .../GEOMDS_DataMapOfIntegerTransient_0.cxx | 40 +- src/GEOMDS/GEOMDS_Explorer.cdl | 33 +- src/GEOMDS/GEOMDS_Explorer.cxx | 35 +- src/GEOMDS/GEOMDS_Explorer.hxx | 38 +- src/GEOMDS/GEOMDS_Explorer.ixx | 38 +- src/GEOMDS/GEOMDS_Explorer.jxx | 26 + src/GEOMDS/Handle_GEOMDS_Application.hxx | 37 +- ...DataMapNodeOfDataMapOfIntegerTransient.hxx | 37 +- src/GEOMDS/Makefile.in | 34 +- src/GEOMFiltersSelection/GEOM_EdgeFilter.cxx | 34 +- src/GEOMFiltersSelection/GEOM_EdgeFilter.hxx | 37 +- src/GEOMFiltersSelection/GEOM_EdgeFilter.ixx | 38 +- src/GEOMFiltersSelection/GEOM_EdgeFilter.jxx | 26 + src/GEOMFiltersSelection/GEOM_FaceFilter.cxx | 34 +- src/GEOMFiltersSelection/GEOM_FaceFilter.hxx | 37 +- src/GEOMFiltersSelection/GEOM_FaceFilter.ixx | 38 +- src/GEOMFiltersSelection/GEOM_FaceFilter.jxx | 26 + .../GEOM_ShapeTypeFilter.cxx | 34 +- .../GEOM_ShapeTypeFilter.hxx | 37 +- .../GEOM_ShapeTypeFilter.ixx | 38 +- .../GEOM_ShapeTypeFilter.jxx | 26 + .../Handle_GEOM_EdgeFilter.hxx | 37 +- .../Handle_GEOM_FaceFilter.hxx | 37 +- .../Handle_GEOM_ShapeTypeFilter.hxx | 37 +- src/GEOMFiltersSelection/Makefile.in | 34 +- src/GEOMGUI/GEOM_icons.po | 3 + src/GEOMGUI/GEOM_msg_en.po | 15 + src/GEOMGUI/GeometryGUI.cxx | 95 +++- src/GEOMGUI/GeometryGUI.h | 33 +- src/GEOMGUI/GeometryGUI_ArcDlg.h | 32 +- src/GEOMGUI/GeometryGUI_ArchimedeDlg.cxx | 34 +- src/GEOMGUI/GeometryGUI_ArchimedeDlg.h | 32 +- src/GEOMGUI/GeometryGUI_BndBoxDlg.h | 33 +- src/GEOMGUI/GeometryGUI_BoxDlg.h | 33 +- src/GEOMGUI/GeometryGUI_CenterMassDlg.h | 34 +- src/GEOMGUI/GeometryGUI_ChamferDlg.h | 32 +- src/GEOMGUI/GeometryGUI_CheckShape.cxx | 35 +- src/GEOMGUI/GeometryGUI_CheckShape.h | 33 +- src/GEOMGUI/GeometryGUI_CircleDlg.h | 32 +- src/GEOMGUI/GeometryGUI_CommonDlg.h | 33 +- src/GEOMGUI/GeometryGUI_CompoundDlg.h | 32 +- src/GEOMGUI/GeometryGUI_ConeDlg.h | 32 +- src/GEOMGUI/GeometryGUI_CutDlg.cxx | 34 +- src/GEOMGUI/GeometryGUI_CutDlg.h | 32 +- src/GEOMGUI/GeometryGUI_CylinderDlg.h | 32 +- src/GEOMGUI/GeometryGUI_DistanceDlg.h | 33 +- src/GEOMGUI/GeometryGUI_EdgeDlg.h | 32 +- src/GEOMGUI/GeometryGUI_EllipseDlg.cxx | 533 ++++++++++++++++++ src/GEOMGUI/GeometryGUI_EllipseDlg.h | 133 +++++ src/GEOMGUI/GeometryGUI_FaceDlg.h | 32 +- src/GEOMGUI/GeometryGUI_FilletDlg.h | 32 +- src/GEOMGUI/GeometryGUI_FillingDlg.h | 32 +- src/GEOMGUI/GeometryGUI_FillingHoleDlg.h | 33 +- src/GEOMGUI/GeometryGUI_FuseDlg.cxx | 34 +- src/GEOMGUI/GeometryGUI_FuseDlg.h | 33 +- src/GEOMGUI/GeometryGUI_InertiaDlg.cxx | 35 +- src/GEOMGUI/GeometryGUI_InertiaDlg.h | 32 +- src/GEOMGUI/GeometryGUI_LineDlg.h | 32 +- src/GEOMGUI/GeometryGUI_MaxToleranceDlg.h | 34 +- src/GEOMGUI/GeometryGUI_MirrorDlg.h | 32 +- src/GEOMGUI/GeometryGUI_MultiRotationDlg.h | 32 +- src/GEOMGUI/GeometryGUI_MultiTranslationDlg.h | 32 +- src/GEOMGUI/GeometryGUI_NbIsosDlg.cxx | 35 +- src/GEOMGUI/GeometryGUI_NbIsosDlg.h | 33 +- src/GEOMGUI/GeometryGUI_OrientationDlg.cxx | 34 +- src/GEOMGUI/GeometryGUI_OrientationDlg.h | 32 +- src/GEOMGUI/GeometryGUI_PartitionDlg.h | 32 +- src/GEOMGUI/GeometryGUI_PipeDlg.h | 32 +- src/GEOMGUI/GeometryGUI_PlaneDlg.h | 33 +- src/GEOMGUI/GeometryGUI_PointDlg.cxx | 35 +- src/GEOMGUI/GeometryGUI_PointDlg.h | 33 +- src/GEOMGUI/GeometryGUI_PrismDlg.cxx | 34 +- src/GEOMGUI/GeometryGUI_PrismDlg.h | 33 +- src/GEOMGUI/GeometryGUI_PropertiesDlg.h | 33 +- src/GEOMGUI/GeometryGUI_RevolDlg.h | 32 +- src/GEOMGUI/GeometryGUI_RotationDlg.h | 32 +- src/GEOMGUI/GeometryGUI_ScaleDlg.h | 32 +- src/GEOMGUI/GeometryGUI_SectionDlg.h | 32 +- src/GEOMGUI/GeometryGUI_SewingDlg.h | 32 +- src/GEOMGUI/GeometryGUI_ShellDlg.h | 33 +- src/GEOMGUI/GeometryGUI_SphereDlg.h | 32 +- src/GEOMGUI/GeometryGUI_SpinBox.cxx | 34 +- src/GEOMGUI/GeometryGUI_SpinBox.h | 32 +- src/GEOMGUI/GeometryGUI_SubShapeDlg.h | 32 +- src/GEOMGUI/GeometryGUI_SuppressFacesDlg.h | 32 +- src/GEOMGUI/GeometryGUI_SuppressHoleDlg.h | 32 +- src/GEOMGUI/GeometryGUI_TorusDlg.h | 32 +- src/GEOMGUI/GeometryGUI_TranslationDlg.h | 32 +- src/GEOMGUI/GeometryGUI_TransparencyDlg.cxx | 42 +- src/GEOMGUI/GeometryGUI_TransparencyDlg.h | 32 +- src/GEOMGUI/GeometryGUI_VectorDlg.h | 33 +- src/GEOMGUI/GeometryGUI_WhatisDlg.h | 33 +- src/GEOMGUI/GeometryGUI_WireDlg.h | 32 +- src/GEOMGUI/GeometryGUI_WorkingPlaneDlg.cxx | 35 +- src/GEOMGUI/GeometryGUI_WorkingPlaneDlg.h | 33 +- src/GEOMGUI/GeometryGUI_aParameterDlg.cxx | 34 +- src/GEOMGUI/GeometryGUI_aParameterDlg.h | 32 +- src/GEOM_SWIG/GEOM_Partition1.py | 9 + src/GEOM_SWIG/GEOM_Partition2.py | 9 + src/GEOM_SWIG/GEOM_Partition3.py | 9 + src/GEOM_SWIG/GEOM_Partition4.py | 9 + src/GEOM_SWIG/GEOM_Partition5.py | 9 + src/GEOM_SWIG/GEOM_example.py | 33 +- src/GEOM_SWIG/GEOM_example2.py | 33 +- src/GEOM_SWIG/GEOM_example3.py | 35 +- src/GEOM_SWIG/GEOM_example4.py | 26 + src/GEOM_SWIG/GEOM_moteur.py | 33 +- src/GEOM_SWIG/GEOM_usinggeom.py | 37 +- src/GEOM_SWIG/Makefile.in | 37 +- src/GEOM_SWIG/batchmode_geompy.py | 18 +- src/GEOM_SWIG/geompy.py | 33 +- src/SKETCHER/GEOM_Sketcher.cxx | 37 +- src/SKETCHER/GEOM_Sketcher.h | 35 +- src/SKETCHER/GEOM_SketcherStatus.h | 35 +- src/SKETCHER/Makefile.in | 36 +- 143 files changed, 4354 insertions(+), 1048 deletions(-) create mode 100755 src/GEOMGUI/GeometryGUI_EllipseDlg.cxx create mode 100755 src/GEOMGUI/GeometryGUI_EllipseDlg.h diff --git a/src/ARCHIMEDE/Archimede_VolumeSection.cxx b/src/ARCHIMEDE/Archimede_VolumeSection.cxx index fecd0f999..86d058af3 100644 --- a/src/ARCHIMEDE/Archimede_VolumeSection.cxx +++ b/src/ARCHIMEDE/Archimede_VolumeSection.cxx @@ -1,15 +1,32 @@ -using namespace std; -// File : Archimede_VolumeSection.cxx -// Created : Fri Feb 22 09:28:13 CET 2002 -// Author : PULV - -// Modified : Fri Feb 22 09:28:13 CET 2002 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : GEOM -// Copyright : Open CASCADE 2002 +// GEOM ARCHIMEDE : algorithm implementation +// +// 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 : Archimede_VolumeSection.cxx +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ +using namespace std; #include "Archimede_VolumeSection.hxx" #include "utilities.h" diff --git a/src/ARCHIMEDE/Archimede_VolumeSection.hxx b/src/ARCHIMEDE/Archimede_VolumeSection.hxx index c8b96ba6c..757efa246 100644 --- a/src/ARCHIMEDE/Archimede_VolumeSection.hxx +++ b/src/ARCHIMEDE/Archimede_VolumeSection.hxx @@ -1,12 +1,29 @@ -// File : Archimede_VolumeSection.hxx -// Created : Fri Feb 22 09:28:13 CET 2002 -// Author : PULV - -// Modified : Fri Feb 22 09:28:13 CET 2002 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : GEOM -// Copyright : Open CASCADE 2002 +// GEOM ARCHIMEDE : algorithm implementation +// +// 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 : Archimede_VolumeSection.hxx +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ #ifndef ARCHIMEDE_VOLUMESECTION_HXX diff --git a/src/ARCHIMEDE/Makefile.in b/src/ARCHIMEDE/Makefile.in index 7bc0a6cfb..c328fee69 100644 --- a/src/ARCHIMEDE/Makefile.in +++ b/src/ARCHIMEDE/Makefile.in @@ -1,15 +1,35 @@ -# -* Makefile *- +# GEOM ARCHIMEDE : algorithm implementation # -# Author : Nicolas REJNERI -# Date : Fri Feb 22 09:28:13 CET 2002 -# $Header$ +# 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 : Makefile.in +# Author : Nicolas REJNERI +# Module : GEOM +# $Header$ -# source path top_srcdir=@top_srcdir@ -top_builddir=../.. +top_builddir=../../.. srcdir=@srcdir@ -VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl +VPATH=.:@srcdir@:@top_srcdir@/idl @COMMENCE@ diff --git a/src/GEOM/GEOM_Gen_i.cc b/src/GEOM/GEOM_Gen_i.cc index 03425238f..c8460ca50 100644 --- a/src/GEOM/GEOM_Gen_i.cc +++ b/src/GEOM/GEOM_Gen_i.cc @@ -1,11 +1,32 @@ -using namespace std; -// File : GEOM_GEN_i.cc file -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Copyright : OPEN CASCADE -// $Header$ +// GEOM GEOM : implementaion of GEOM_Gen.idl and GEOM_Shape.idl +// +// 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 : GEOM_GEN_i.cc file +// Author : Lucien PIGNOLONI +// Module : GEOM +// $Header$ +using namespace std; #include "GEOM_Gen_i.hh" #include "Partition_Spliter.hxx" @@ -22,6 +43,7 @@ using namespace std; #include #include +#include #include #include #include @@ -165,7 +187,8 @@ GEOM_Gen_i::~GEOM_Gen_i() { //============================================================================ char* GEOM_Gen_i::IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject, const char* IORString, - CORBA::Boolean isMultiFile) + CORBA::Boolean isMultiFile, + CORBA::Boolean isASCII) { GEOM::GEOM_Shape_var aShape = GEOM::GEOM_Shape::_narrow(_orb->string_to_object(IORString)); if (!CORBA::is_nil(aShape)) { @@ -183,7 +206,8 @@ char* GEOM_Gen_i::IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject, //============================================================================ char* GEOM_Gen_i::LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject, const char* aLocalPersistentID, - CORBA::Boolean isMultiFile) + CORBA::Boolean isMultiFile, + CORBA::Boolean isASCII) { SALOMEDS::Study_var myStudy = theSObject->GetStudy(); GetCurrentStudy(myStudy->StudyId()); @@ -221,7 +245,7 @@ char* GEOM_Gen_i::LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject, CORBA::String_var ent = strdup(entry.ToCString()); /* Create the main object recursively */ - MainIOR = LocalPersistentIDToIOR(theSObject, ent, isMultiFile ) ; + MainIOR = LocalPersistentIDToIOR(theSObject, ent, isMultiFile, isASCII) ; } else { GC.ReturnNameIOR( mainLabel, MainIOR ); } @@ -427,21 +451,38 @@ SALOMEDS::TMPFile* GEOM_Gen_i::Save(SALOMEDS::SComponent_ptr theComponent, return aStreamFile._retn(); } +SALOMEDS::TMPFile* GEOM_Gen_i::SaveASCII(SALOMEDS::SComponent_ptr theComponent, + const char* theURL, + bool isMultiFile) { + SALOMEDS::TMPFile_var aStreamFile = Save(theComponent, theURL, isMultiFile); + return aStreamFile._retn(); +} + + CORBA::Boolean GEOM_Gen_i::Load(SALOMEDS::SComponent_ptr theComponent, const SALOMEDS::TMPFile& theStream, const char* theURL, bool isMultiFile) { + + if (theStream.length() <= 9) { + MESSAGE("The TMPFile is too short : " << theStream.length() << " bytes "); + return false; + } + // Get a temporary directory for a file TCollection_AsciiString aTmpDir = isMultiFile?TCollection_AsciiString((char*)theURL):SALOMEDS_Tool::GetTmpDir(); // Conver the byte stream theStream to a file and place it in tmp directory SALOMEDS::ListOfFileNames_var aSeq = SALOMEDS_Tool::PutStreamToFiles(theStream, aTmpDir.ToCString(), isMultiFile); + // Prepare a file name to open TCollection_AsciiString aNameWithExt(aSeq[0]); TCollection_AsciiString aFullName = aTmpDir + aNameWithExt; + // Open document if (myOCAFApp->Open(aFullName, myCurrentOCAFDoc) != CDF_RS_OK) return false; + // Remove the created file and tmp directory if (!isMultiFile) SALOMEDS_Tool::RemoveTemporaryFiles(aTmpDir.ToCString(), aSeq.in(), true); @@ -451,6 +492,7 @@ CORBA::Boolean GEOM_Gen_i::Load(SALOMEDS::SComponent_ptr theComponent, int StudyID = Study->StudyId(); myStudyIDToDoc.Bind( StudyID, myCurrentOCAFDoc ); myStudyID = StudyID; + /* We clear all IOR (nameIOR) attributes of all objects before reconstruction */ /* This information will be setted when each object is reconstructed */ GEOMDS_Commands GC( myCurrentOCAFDoc->Main() ) ; @@ -459,6 +501,13 @@ CORBA::Boolean GEOM_Gen_i::Load(SALOMEDS::SComponent_ptr theComponent, return true; } +CORBA::Boolean GEOM_Gen_i::LoadASCII(SALOMEDS::SComponent_ptr theComponent, + const SALOMEDS::TMPFile& theStream, + const char* theURL, + bool isMultiFile) { + return Load(theComponent, theStream, theURL, isMultiFile); +} + // //============================================================================ // // function : Save() // // purpose : save OCAF/Geom document @@ -2500,8 +2549,6 @@ GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeCylinder(const GEOM::PointStruct& pstruct, return result ; } - - //================================================================================ // function : MakeSphere() // purpose : Make a sphere topology @@ -2530,8 +2577,6 @@ GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeSphere(CORBA::Double x1, return result; } - - //================================================================================ // function : MakeTorus() // purpose : Create a torus topology @@ -3663,6 +3708,41 @@ GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeCircle(const GEOM::PointStruct& pstruct, return result ; } +//================================================================================ +// function : MakeEllipse() +// purpose : +//================================================================================ +GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeEllipse( const GEOM::PointStruct& pstruct, + const GEOM::DirStruct& dstruct, + CORBA::Double radius_major, + CORBA::Double radius_minor ) + throw (SALOME::SALOME_Exception) +{ + GEOM::GEOM_Shape_var result; + TopoDS_Shape tds ; + + try { + gp_Pnt p(pstruct.x, pstruct.y, pstruct.z) ; + gp_Dir d(dstruct.PS.x, dstruct.PS.y, dstruct.PS.z) ; + + const gp_Ax2 axis(p, d) ; + gp_Elips anEllipse( axis, radius_major, radius_minor ) ; + BRepBuilderAPI_MakeEdge MakeEdge( anEllipse ); + tds = MakeEdge.Edge(); + + } + catch(Standard_Failure) { + THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeEllipse", SALOME::BAD_PARAM); + } + if (tds.IsNull()) { + THROW_SALOME_CORBA_EXCEPTION("Make Ellipse aborted", SALOME::BAD_PARAM); + } + result = CreateObject(tds); + const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ; + result->ShapeId(entry); + return result ; +} + //================================================================================ // function : MakeArc() // purpose : make an arc of circle from pInit to pEnd and passing on pCircle @@ -4050,8 +4130,8 @@ GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeMirrorByPlane(GEOM::GEOM_Shape_ptr myShape, /* Insert arguments in ocaf */ GEOM::GEOM_Gen::ListOfIOR_var ListShapes = new GEOM::GEOM_Gen::ListOfIOR; ListShapes->length(2); - ListShapes[0] = GetStringFromIOR(myShape) ; - ListShapes[1] = GetStringFromIOR(shapePlane) ; + ListShapes[0] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(myShape)) ; + ListShapes[1] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(shapePlane)) ; InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc) ; return result ; } @@ -4318,8 +4398,8 @@ GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakePipe( GEOM::GEOM_Shape_ptr pathShape, /* Insert arguments in ocaf */ GEOM::GEOM_Gen::ListOfIOR_var ListShapes = new GEOM::GEOM_Gen::ListOfIOR; ListShapes->length(2); - ListShapes[0] = GetStringFromIOR(pathShape) ; - ListShapes[1] = GetStringFromIOR(baseShape) ; + ListShapes[0] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(pathShape)) ; + ListShapes[1] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(baseShape)) ; InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc) ; } return result ; @@ -4849,11 +4929,8 @@ extern "C" const char *instanceName, const char * interfaceName) { -MESSAGE("mygeom") GEOM_Gen_i * myGEOM_Gen_i = new GEOM_Gen_i(orb, poa, contId, instanceName, interfaceName); -MESSAGE("mygeom") myGEOM_Gen_i->register_name("/myGEOM_Gen"); // NRI : 11/07/2002 : Add for Supervision example -MESSAGE("mygeom") return myGEOM_Gen_i->getId() ; } } diff --git a/src/GEOM/GEOM_Gen_i.hh b/src/GEOM/GEOM_Gen_i.hh index 6c3f1a4a4..34ad61d8f 100644 --- a/src/GEOM/GEOM_Gen_i.hh +++ b/src/GEOM/GEOM_Gen_i.hh @@ -1,10 +1,30 @@ -// File : GEOM_GEN_i.h file -// Created : April 2002 -// Author : Lucien PIGNOLONI -// Project : SALOME -// Copyright : OPEN CASCADE -// $Header$ - +// GEOM GEOM : implementaion of GEOM_Gen.idl and GEOM_Shape.idl +// +// 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 : GEOM_GEN_i.h file +// Author : Lucien PIGNOLONI +// Module : GEOM +// $Header$ #ifndef __GEOM_GEN_I_H__ #define __GEOM_GEN_I_H__ @@ -108,20 +128,32 @@ class GEOM_Gen_i: public POA_GEOM::GEOM_Gen, const char* theURL, bool isMultiFile); + SALOMEDS::TMPFile* SaveASCII(SALOMEDS::SComponent_ptr theComponent, + const char* theURL, + bool isMultiFile); + CORBA::Boolean Load(SALOMEDS::SComponent_ptr theComponent, const SALOMEDS::TMPFile& theStream, const char* theURL, bool isMultiFile); + + CORBA::Boolean LoadASCII(SALOMEDS::SComponent_ptr theComponent, + const SALOMEDS::TMPFile& theStream, + const char* theURL, + bool isMultiFile); + void Close(SALOMEDS::SComponent_ptr theComponent); char* ComponentDataType(); char* IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject, const char* IORString, - CORBA::Boolean isMultiFile); + CORBA::Boolean isMultiFile, + CORBA::Boolean isASCII); char* LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject, const char* aLocalPersistentID, - CORBA::Boolean isMultiFile); + CORBA::Boolean isMultiFile, + CORBA::Boolean isASCII); bool CanPublishInStudy(CORBA::Object_ptr theIOR); SALOMEDS::SObject_ptr PublishInStudy(SALOMEDS::Study_ptr theStudy, @@ -535,6 +567,11 @@ class GEOM_Gen_i: public POA_GEOM::GEOM_Gen, const GEOM::DirStruct& dstruct, CORBA::Double radius) throw (SALOME::SALOME_Exception) ; + GEOM::GEOM_Shape_ptr MakeEllipse(const GEOM::PointStruct& pstruct, + const GEOM::DirStruct& dstruct, + CORBA::Double radius_major, + CORBA::Double radiusminus ) + throw (SALOME::SALOME_Exception) ; GEOM::GEOM_Shape_ptr MakeArc (const GEOM::PointStruct& pInit, const GEOM::PointStruct& pCircle, const GEOM::PointStruct& pEnd) diff --git a/src/GEOM/GEOM_Shape_i.cc b/src/GEOM/GEOM_Shape_i.cc index 11faabee2..bf7cdf062 100644 --- a/src/GEOM/GEOM_Shape_i.cc +++ b/src/GEOM/GEOM_Shape_i.cc @@ -1,11 +1,32 @@ -using namespace std; -// File : GEOM_Shape_i.cc -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Copyright : OPEN CASCADE -// $Header$ +// GEOM GEOM : implementaion of GEOM_Gen.idl and GEOM_Shape.idl +// +// 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 : GEOM_Shape_i.cc +// Author : Lucien PIGNOLONI +// Module : GEOM +// $Header$ +using namespace std; #include #include "GEOM_Shape_i.hh" #include "SALOME_NamingService.hxx" diff --git a/src/GEOM/GEOM_Shape_i.hh b/src/GEOM/GEOM_Shape_i.hh index 10215a11b..a976b31c4 100644 --- a/src/GEOM/GEOM_Shape_i.hh +++ b/src/GEOM/GEOM_Shape_i.hh @@ -1,10 +1,30 @@ -// File : GEOM_Shape_i.hh -// Created : 29 november 2001 -// Author : Lucien PIGNOLONI -// Project : SALOME -// Copyright : OPEN CASCADE -// $Header$ - +// GEOM GEOM : implementaion of GEOM_Gen.idl and GEOM_Shape.idl +// +// 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 : GEOM_Shape_i.hh +// Author : Lucien PIGNOLONI +// Module : GEOM +// $Header$ #ifndef __GEOM_SHAPE_I_H__ #define __GEOM_SHAPE_I_H__ diff --git a/src/GEOM/Makefile.in b/src/GEOM/Makefile.in index d491ebb49..f51893f71 100644 --- a/src/GEOM/Makefile.in +++ b/src/GEOM/Makefile.in @@ -1,15 +1,36 @@ -# -* Makefile *- +# GEOM GEOM : implementaion of GEOM_Gen.idl and GEOM_Shape.idl # -# Author : Patrick GOLDBRONN (CEA) -# Date : 29/06/2001 -# $Header$ +# 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 : Makefile.in +# Author : Patrick GOLDBRONN (CEA) +# Module : GEOM +# $Header$ -# source path top_srcdir=@top_srcdir@ -top_builddir=../.. +top_builddir=../../.. srcdir=@srcdir@ -VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl +VPATH=.:@srcdir@:@top_srcdir@/idl + @COMMENCE@ diff --git a/src/GEOM/geom.cxx b/src/GEOM/geom.cxx index b98678616..37707e720 100644 --- a/src/GEOM/geom.cxx +++ b/src/GEOM/geom.cxx @@ -1,11 +1,32 @@ -using namespace std; -// File : geom.cxx -// Created : 5 November 2001 -// Author : Lucien PIGNOLONI -// Project : SALOME -// Copyright : OPEN CASCADE -// $Header$ +// GEOM GEOM : implementaion of GEOM_Gen.idl and GEOM_Shape.idl +// +// 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 : geom.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM +// $Header$ +using namespace std; #include "GEOM_Gen_i.hh" #include "SALOME_NamingService.hxx" @@ -17,6 +38,7 @@ int main(int argc, char** argv) { try { // Create and initialise the ORB. + // CORBA::ORB_var orb = CORBA::ORB_init(argc, argv, "omniORB4"); CORBA::ORB_var orb = CORBA::ORB_init(argc, argv, "omniORB3"); // Obtain a reference to the root POA. diff --git a/src/GEOMClient/GEOM_Client.cxx b/src/GEOMClient/GEOM_Client.cxx index ac8d7acf8..e3fb21cb3 100644 --- a/src/GEOMClient/GEOM_Client.cxx +++ b/src/GEOMClient/GEOM_Client.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GEOM_Client.cxx -// Created : -// Author : Yves FRICAUD/Lucien PIGNOLONI -// Project : SALOME -// Module : GEOM -// Copyright : Open CASCADE +// GEOM GEOMClient : tool to transfer BREP files from GEOM server to GEOM client +// +// 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 : GEOM_Client.cxx +// Author : Yves FRICAUD/Lucien PIGNOLONI +// Module : GEOM // $Header$ +using namespace std; #include "GEOM_Client.hxx" #include #include "utilities.h" diff --git a/src/GEOMClient/GEOM_Client.hxx b/src/GEOMClient/GEOM_Client.hxx index 1f2df40f3..09d4351b7 100644 --- a/src/GEOMClient/GEOM_Client.hxx +++ b/src/GEOMClient/GEOM_Client.hxx @@ -1,9 +1,29 @@ -// File : GEOM_Client.hxx -// Created : -// Author : Yves FRICAUD -// Project : SALOME -// Module : GEOM -// Copyright : Open CASCADE +// GEOM GEOMClient : tool to transfer BREP files from GEOM server to GEOM client +// +// 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 : GEOM_Client.hxx +// Author : Yves FRICAUD +// Module : GEOM // $Header$ #ifndef _GEOM_Client_HeaderFile diff --git a/src/GEOMClient/Makefile.in b/src/GEOMClient/Makefile.in index 487a2543d..739767985 100644 --- a/src/GEOMClient/Makefile.in +++ b/src/GEOMClient/Makefile.in @@ -1,15 +1,35 @@ -# -* Makefile *- +# GEOM GEOMClient : tool to transfer BREP files from GEOM server to GEOM client # -# Author : Patrick GOLDBRONN (CEA) -# Date : 29/06/2001 -# $Header$ +# 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 : Makefile.in +# Author : Patrick GOLDBRONN (CEA) +# Module : GEOM +# $Header$ -# source path top_srcdir=@top_srcdir@ -top_builddir=../.. +top_builddir=../../.. srcdir=@srcdir@ -VPATH=.:$(srcdir):${KERNEL_ROOT_DIR}/idl/salome +VPATH=.:@srcdir@:@top_srcdir@/idl @COMMENCE@ diff --git a/src/GEOMDS/GEOMDS.cdl b/src/GEOMDS/GEOMDS.cdl index 2a3862671..0e727a942 100644 --- a/src/GEOMDS/GEOMDS.cdl +++ b/src/GEOMDS/GEOMDS.cdl @@ -1,9 +1,29 @@ --- File: GEOMDS.cdl --- Created: Fri Mar 16 12:16:40 2001 --- Author: Yves FRICAUD --- ----Copyright: Matra Datavision 2001 - +-- GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +-- +-- 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 : GEOMDS.cdl +-- Author : Yves FRICAUD +-- Module : GEOM package GEOMDS diff --git a/src/GEOMDS/GEOMDS_Application.cdl b/src/GEOMDS/GEOMDS_Application.cdl index 2ab42672a..de1ec2bbc 100644 --- a/src/GEOMDS/GEOMDS_Application.cdl +++ b/src/GEOMDS/GEOMDS_Application.cdl @@ -1,11 +1,29 @@ -// File : GEOMDS_Application.cdl -// Created : -// Author : Yves FRICAUD -// Project : SALOME -// Module : GEOM -// Copyright : OPEN CASCADE -// $Header$ - +-- GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +-- +-- 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 : GEOMDS_Application.cdl +-- Author : Yves FRICAUD +-- Module : GEOM class Application from GEOMDS inherits Application from TDocStd diff --git a/src/GEOMDS/GEOMDS_Application.cxx b/src/GEOMDS/GEOMDS_Application.cxx index 78b5ac206..7308742db 100644 --- a/src/GEOMDS/GEOMDS_Application.cxx +++ b/src/GEOMDS/GEOMDS_Application.cxx @@ -1,13 +1,32 @@ -using namespace std; -// File : GEOMDS_Application.cxx -// Created : -// Author : Yves FRICAUD -// Project : SALOME -// Module : GEOM -// Copyright : OPEN CASCADE +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GEOMDS_Application.cxx +// Author : Yves FRICAUD +// Module : GEOM // $Header$ - +using namespace std; #include "GEOMDS_Application.ixx" //======================================================================= diff --git a/src/GEOMDS/GEOMDS_Application.hxx b/src/GEOMDS/GEOMDS_Application.hxx index 23bdf144e..bc5fa691c 100644 --- a/src/GEOMDS/GEOMDS_Application.hxx +++ b/src/GEOMDS/GEOMDS_Application.hxx @@ -1,18 +1,29 @@ -// File generated by CPPExt (Transient) +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management // -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// 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 : GEOMDS_Application.hxx +// Module : GEOM + #ifndef _GEOMDS_Application_HeaderFile #define _GEOMDS_Application_HeaderFile diff --git a/src/GEOMDS/GEOMDS_Application.ixx b/src/GEOMDS/GEOMDS_Application.ixx index 22e3c566a..c94573fb8 100644 --- a/src/GEOMDS/GEOMDS_Application.ixx +++ b/src/GEOMDS/GEOMDS_Application.ixx @@ -1,17 +1,29 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management // +// 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 : GEOMDS_Application.ixx +// Module : GEOM + #include "GEOMDS_Application.jxx" #ifndef _Standard_TypeMismatch_HeaderFile diff --git a/src/GEOMDS/GEOMDS_Application.jxx b/src/GEOMDS/GEOMDS_Application.jxx index 85cd58d00..936d0a158 100644 --- a/src/GEOMDS/GEOMDS_Application.jxx +++ b/src/GEOMDS/GEOMDS_Application.jxx @@ -1,3 +1,29 @@ +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GEOMDS_Application.jxx +// Module : GEOM + #ifndef _TColStd_SequenceOfExtendedString_HeaderFile #include #endif diff --git a/src/GEOMDS/GEOMDS_Commands.cdl b/src/GEOMDS/GEOMDS_Commands.cdl index d0b378e5f..a4a2f8f06 100644 --- a/src/GEOMDS/GEOMDS_Commands.cdl +++ b/src/GEOMDS/GEOMDS_Commands.cdl @@ -1,9 +1,29 @@ --- File: GEOMDS_Commands.cdl --- Created: Fri Mar 16 12:21:51 2001 --- Author: Yves FRICAUD --- ----Copyright: Matra Datavision 2001 - +-- GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +-- +-- 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 : GEOMDS_Commands.cdl +-- Author : Yves FRICAUD +-- Module : GEOM class Commands from GEOMDS diff --git a/src/GEOMDS/GEOMDS_Commands.cxx b/src/GEOMDS/GEOMDS_Commands.cxx index da7ed8f3e..17f7e5764 100644 --- a/src/GEOMDS/GEOMDS_Commands.cxx +++ b/src/GEOMDS/GEOMDS_Commands.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GeomDS_Commands.cxx -// Created : -// Author : Yves FRICAUD/Lucien PIGNOLONI -// Project : SALOME -// Module : GEOM -// Copyright : OPEN CASCADE +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GeomDS_Commands.cxx +// Author : Yves FRICAUD/Lucien PIGNOLONI +// Module : GEOM // $Header$ +using namespace std; #include "utilities.h" #include "GEOMDS_Commands.ixx" diff --git a/src/GEOMDS/GEOMDS_Commands.hxx b/src/GEOMDS/GEOMDS_Commands.hxx index 7f9195eea..0e2403920 100644 --- a/src/GEOMDS/GEOMDS_Commands.hxx +++ b/src/GEOMDS/GEOMDS_Commands.hxx @@ -1,12 +1,31 @@ -// File : GeomDS_Commands.hxx -// Created : -// Author : Yves FRICAUD/Lucien PIGNOLONI -// Project : SALOME -// Module : GEOM -// Copyright : OPEN CASCADE +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GeomDS_Commands.hxx +// Author : Yves FRICAUD/Lucien PIGNOLONI +// Module : GEOM // $Header$ - #ifndef _GEOMDS_Commands_HeaderFile #define _GEOMDS_Commands_HeaderFile diff --git a/src/GEOMDS/GEOMDS_Commands.ixx b/src/GEOMDS/GEOMDS_Commands.ixx index ab6173817..09d333363 100644 --- a/src/GEOMDS/GEOMDS_Commands.ixx +++ b/src/GEOMDS/GEOMDS_Commands.ixx @@ -1,17 +1,29 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management // +// 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 : GEOMDS_Commands.ixx +// Module : GEOM + #include "GEOMDS_Commands.jxx" diff --git a/src/GEOMDS/GEOMDS_Commands.jxx b/src/GEOMDS/GEOMDS_Commands.jxx index 9dec188c7..017dcd329 100644 --- a/src/GEOMDS/GEOMDS_Commands.jxx +++ b/src/GEOMDS/GEOMDS_Commands.jxx @@ -1,3 +1,29 @@ +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GEOMDS_Commands.jxx +// Module : GEOM + #ifndef _TDF_Label_HeaderFile #include #endif diff --git a/src/GEOMDS/GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient.hxx b/src/GEOMDS/GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient.hxx index edda47899..b391e99fa 100644 --- a/src/GEOMDS/GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient.hxx +++ b/src/GEOMDS/GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient.hxx @@ -1,16 +1,28 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient.hxx +// Module : GEOM #ifndef _GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient_HeaderFile #define _GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient_HeaderFile diff --git a/src/GEOMDS/GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient_0.cxx b/src/GEOMDS/GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient_0.cxx index 65172b2c9..24cb9de3d 100644 --- a/src/GEOMDS/GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient_0.cxx +++ b/src/GEOMDS/GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient_0.cxx @@ -1,18 +1,30 @@ -using namespace std; -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient_0.cxx +// Module : GEOM + +using namespace std; #include "GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient.hxx" #ifndef _Standard_NoSuchObject_HeaderFile diff --git a/src/GEOMDS/GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx b/src/GEOMDS/GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx index 0b385827b..437a40015 100644 --- a/src/GEOMDS/GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx +++ b/src/GEOMDS/GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx @@ -1,18 +1,29 @@ -// File generated by CPPExt (Transient) +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management // -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// 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 : GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx +// Module : GEOM + #ifndef _GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile #define _GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile diff --git a/src/GEOMDS/GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_0.cxx b/src/GEOMDS/GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_0.cxx index 75d4861a7..12f74127c 100644 --- a/src/GEOMDS/GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_0.cxx +++ b/src/GEOMDS/GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_0.cxx @@ -1,18 +1,30 @@ -using namespace std; -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_0.cxx +// Module : GEOM + +using namespace std; #include "GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx" #ifndef _Standard_TypeMismatch_HeaderFile diff --git a/src/GEOMDS/GEOMDS_DataMapOfIntegerTransient.hxx b/src/GEOMDS/GEOMDS_DataMapOfIntegerTransient.hxx index 5c8acc5a9..52fb4b920 100644 --- a/src/GEOMDS/GEOMDS_DataMapOfIntegerTransient.hxx +++ b/src/GEOMDS/GEOMDS_DataMapOfIntegerTransient.hxx @@ -1,16 +1,28 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GEOMDS_DataMapOfIntegerTransient.hxx +// Module : GEOM #ifndef _GEOMDS_DataMapOfIntegerTransient_HeaderFile #define _GEOMDS_DataMapOfIntegerTransient_HeaderFile diff --git a/src/GEOMDS/GEOMDS_DataMapOfIntegerTransient_0.cxx b/src/GEOMDS/GEOMDS_DataMapOfIntegerTransient_0.cxx index acbe19cd0..da4ed5f16 100644 --- a/src/GEOMDS/GEOMDS_DataMapOfIntegerTransient_0.cxx +++ b/src/GEOMDS/GEOMDS_DataMapOfIntegerTransient_0.cxx @@ -1,18 +1,30 @@ -using namespace std; -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GEOMDS_DataMapOfIntegerTransient_0.cxx +// Module : GEOM + +using namespace std; #include "GEOMDS_DataMapOfIntegerTransient.hxx" #ifndef _Standard_DomainError_HeaderFile diff --git a/src/GEOMDS/GEOMDS_Explorer.cdl b/src/GEOMDS/GEOMDS_Explorer.cdl index 65a023727..eb737cf95 100644 --- a/src/GEOMDS/GEOMDS_Explorer.cdl +++ b/src/GEOMDS/GEOMDS_Explorer.cdl @@ -1,10 +1,29 @@ -// File : GEOMDS_Explorer.cdl -// Created : -// Author : Yves FRICAUD -// Project : SALOME -// Module : GEOM -// Copyright : OPEN CASCADE -// $Header$ +-- GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +-- +-- 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 : GEOMDS_Explorer.cdl +-- Author : Yves FRICAUD +-- Module : GEOM class Explorer from GEOMDS diff --git a/src/GEOMDS/GEOMDS_Explorer.cxx b/src/GEOMDS/GEOMDS_Explorer.cxx index 5e4b2bcf6..8a40ff226 100644 --- a/src/GEOMDS/GEOMDS_Explorer.cxx +++ b/src/GEOMDS/GEOMDS_Explorer.cxx @@ -1,13 +1,32 @@ -using namespace std; -// File : GEOMDS_Explorer.cxx -// Created : -// Author : Yves FRICAUD -// Project : SALOME -// Module : GEOM -// Copyright : OPEN CASCADE +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GEOMDS_Explorer.cxx +// Author : Yves FRICAUD +// Module : GEOM // $Header$ - +using namespace std; #include "GEOMDS_Explorer.ixx" #include diff --git a/src/GEOMDS/GEOMDS_Explorer.hxx b/src/GEOMDS/GEOMDS_Explorer.hxx index c8858f460..29ce10bc9 100644 --- a/src/GEOMDS/GEOMDS_Explorer.hxx +++ b/src/GEOMDS/GEOMDS_Explorer.hxx @@ -1,16 +1,28 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GEOMDS_Explorer.hxx +// Module : GEOM #ifndef _GEOMDS_Explorer_HeaderFile #define _GEOMDS_Explorer_HeaderFile diff --git a/src/GEOMDS/GEOMDS_Explorer.ixx b/src/GEOMDS/GEOMDS_Explorer.ixx index 795b49dbd..cd182b147 100644 --- a/src/GEOMDS/GEOMDS_Explorer.ixx +++ b/src/GEOMDS/GEOMDS_Explorer.ixx @@ -1,17 +1,29 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management // +// 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 : GEOMDS_Explorer.ixx +// Module : GEOM + #include "GEOMDS_Explorer.jxx" diff --git a/src/GEOMDS/GEOMDS_Explorer.jxx b/src/GEOMDS/GEOMDS_Explorer.jxx index 3e477e7b9..3a0770d28 100644 --- a/src/GEOMDS/GEOMDS_Explorer.jxx +++ b/src/GEOMDS/GEOMDS_Explorer.jxx @@ -1,3 +1,29 @@ +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management +// +// 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 : GEOMDS_Explorer.jxx +// Module : GEOM + #ifndef _TDF_Label_HeaderFile #include #endif diff --git a/src/GEOMDS/Handle_GEOMDS_Application.hxx b/src/GEOMDS/Handle_GEOMDS_Application.hxx index ba3b1a272..418b10298 100644 --- a/src/GEOMDS/Handle_GEOMDS_Application.hxx +++ b/src/GEOMDS/Handle_GEOMDS_Application.hxx @@ -1,17 +1,28 @@ -// File generated by CPPExt (Transient) +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management // -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// 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 : Handle_GEOMDS_Application.hxx +// Module : GEOM #ifndef _Handle_GEOMDS_Application_HeaderFile #define _Handle_GEOMDS_Application_HeaderFile diff --git a/src/GEOMDS/Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx b/src/GEOMDS/Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx index 250fc7d28..911d6a490 100644 --- a/src/GEOMDS/Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx +++ b/src/GEOMDS/Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx @@ -1,17 +1,28 @@ -// File generated by CPPExt (Transient) +// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management // -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// 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 : Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx +// Module : GEOM #ifndef _Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile #define _Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile diff --git a/src/GEOMDS/Makefile.in b/src/GEOMDS/Makefile.in index fd5cf4f24..273133be3 100644 --- a/src/GEOMDS/Makefile.in +++ b/src/GEOMDS/Makefile.in @@ -1,15 +1,35 @@ -# -* Makefile *- +# GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management # -# Author : Patrick GOLDBRONN (CEA) -# Date : 29/06/2001 -# $Header$ +# 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 : Makefile.in +# Author : Patrick GOLDBRONN (CEA) +# Module : GEOM +# $Header$ -# source path top_srcdir=@top_srcdir@ -top_builddir=../.. +top_builddir=../../.. srcdir=@srcdir@ -VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl +VPATH=.:@srcdir@:@top_srcdir@/idl @COMMENCE@ diff --git a/src/GEOMFiltersSelection/GEOM_EdgeFilter.cxx b/src/GEOMFiltersSelection/GEOM_EdgeFilter.cxx index 5142a6db8..e61d3d30f 100644 --- a/src/GEOMFiltersSelection/GEOM_EdgeFilter.cxx +++ b/src/GEOMFiltersSelection/GEOM_EdgeFilter.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GEOM_EdgeFilter.cxx -// Created : Fri Dec 07 09:57:24 2001 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : GEOM -// Copyright : Open CASCADE +// GEOM GEOMFiltersSelection : filter selector for the viewer +// +// 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 : GEOM_EdgeFilter.cxx +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ +using namespace std; #include "GEOM_EdgeFilter.ixx" #include "GEOM_Client.hxx" diff --git a/src/GEOMFiltersSelection/GEOM_EdgeFilter.hxx b/src/GEOMFiltersSelection/GEOM_EdgeFilter.hxx index 153a6e58f..a464cdae9 100644 --- a/src/GEOMFiltersSelection/GEOM_EdgeFilter.hxx +++ b/src/GEOMFiltersSelection/GEOM_EdgeFilter.hxx @@ -1,18 +1,29 @@ -// File generated by CPPExt (Transient) +// GEOM GEOMFiltersSelection : filter selector for the viewer // -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// 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 : GEOM_EdgeFilter.hxx +// Module : GEOM + #ifndef _GEOM_EdgeFilter_HeaderFile #define _GEOM_EdgeFilter_HeaderFile diff --git a/src/GEOMFiltersSelection/GEOM_EdgeFilter.ixx b/src/GEOMFiltersSelection/GEOM_EdgeFilter.ixx index a36de41da..9e028014b 100644 --- a/src/GEOMFiltersSelection/GEOM_EdgeFilter.ixx +++ b/src/GEOMFiltersSelection/GEOM_EdgeFilter.ixx @@ -1,17 +1,29 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMFiltersSelection : filter selector for the viewer // +// 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 : GEOM_EdgeFilter.ixx +// Module : GEOM + #include "GEOM_EdgeFilter.jxx" #ifndef _Standard_TypeMismatch_HeaderFile diff --git a/src/GEOMFiltersSelection/GEOM_EdgeFilter.jxx b/src/GEOMFiltersSelection/GEOM_EdgeFilter.jxx index d080c8e56..267be7964 100644 --- a/src/GEOMFiltersSelection/GEOM_EdgeFilter.jxx +++ b/src/GEOMFiltersSelection/GEOM_EdgeFilter.jxx @@ -1,3 +1,29 @@ +// GEOM GEOMFiltersSelection : filter selector for the viewer +// +// 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 : GEOM_EdgeFilter.jxx +// Module : GEOM + #ifndef _GEOM_EdgeFilter_HeaderFile #include "GEOM_EdgeFilter.hxx" #endif diff --git a/src/GEOMFiltersSelection/GEOM_FaceFilter.cxx b/src/GEOMFiltersSelection/GEOM_FaceFilter.cxx index aefda178f..aca4648e4 100644 --- a/src/GEOMFiltersSelection/GEOM_FaceFilter.cxx +++ b/src/GEOMFiltersSelection/GEOM_FaceFilter.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GEOM_FaceFilter.cxx -// Created : Fri Dec 07 09:57:24 2001 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : GEOM -// Copyright : Open CASCADE +// GEOM GEOMFiltersSelection : filter selector for the viewer +// +// 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 : GEOM_FaceFilter.cxx +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ +using namespace std; #include "GEOM_FaceFilter.ixx" #include "GEOM_Client.hxx" diff --git a/src/GEOMFiltersSelection/GEOM_FaceFilter.hxx b/src/GEOMFiltersSelection/GEOM_FaceFilter.hxx index 4f8a5ae49..d81e27413 100644 --- a/src/GEOMFiltersSelection/GEOM_FaceFilter.hxx +++ b/src/GEOMFiltersSelection/GEOM_FaceFilter.hxx @@ -1,18 +1,29 @@ -// File generated by CPPExt (Transient) +// GEOM GEOMFiltersSelection : filter selector for the viewer // -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// 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 : GEOM_FaceFilter.hxx +// Module : GEOM + #ifndef _GEOM_FaceFilter_HeaderFile #define _GEOM_FaceFilter_HeaderFile diff --git a/src/GEOMFiltersSelection/GEOM_FaceFilter.ixx b/src/GEOMFiltersSelection/GEOM_FaceFilter.ixx index 436a1b173..f6404a0d3 100644 --- a/src/GEOMFiltersSelection/GEOM_FaceFilter.ixx +++ b/src/GEOMFiltersSelection/GEOM_FaceFilter.ixx @@ -1,17 +1,29 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMFiltersSelection : filter selector for the viewer // +// 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 : GEOM_FaceFilter.ixx +// Module : GEOM + #include "GEOM_FaceFilter.jxx" #ifndef _Standard_TypeMismatch_HeaderFile diff --git a/src/GEOMFiltersSelection/GEOM_FaceFilter.jxx b/src/GEOMFiltersSelection/GEOM_FaceFilter.jxx index 521f074c3..144d1a3f5 100644 --- a/src/GEOMFiltersSelection/GEOM_FaceFilter.jxx +++ b/src/GEOMFiltersSelection/GEOM_FaceFilter.jxx @@ -1,3 +1,29 @@ +// GEOM GEOMFiltersSelection : filter selector for the viewer +// +// 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 : GEOM_FaceFilter.jxx +// Module : GEOM + #ifndef _GEOM_FaceFilter_HeaderFile #include "GEOM_FaceFilter.hxx" #endif diff --git a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.cxx b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.cxx index 519d1037f..6ca272b01 100644 --- a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.cxx +++ b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GEOM_ShapeTypeFilter.cxx -// Created : Fri Dec 07 09:57:24 2001 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : SALOMEGUI -// Copyright : Open CASCADE +// GEOM GEOMFiltersSelection : filter selector for the viewer +// +// 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 : GEOM_ShapeTypeFilter.cxx +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ +using namespace std; #include "GEOM_ShapeTypeFilter.ixx" #include "GEOM_Client.hxx" diff --git a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.hxx b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.hxx index 4c62f026d..ffbc4e115 100644 --- a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.hxx +++ b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.hxx @@ -1,18 +1,29 @@ -// File generated by CPPExt (Transient) +// GEOM GEOMFiltersSelection : filter selector for the viewer // -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// 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 : GEOM_ShapeTypeFilter.hxx +// Module : GEOM + #ifndef _GEOM_ShapeTypeFilter_HeaderFile #define _GEOM_ShapeTypeFilter_HeaderFile diff --git a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.ixx b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.ixx index ee6e4a994..db4643d12 100644 --- a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.ixx +++ b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.ixx @@ -1,17 +1,29 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// GEOM GEOMFiltersSelection : filter selector for the viewer // +// 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 : GEOM_ShapeTypeFilter.ixx +// Module : GEOM + #include "GEOM_ShapeTypeFilter.jxx" #ifndef _Standard_TypeMismatch_HeaderFile diff --git a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.jxx b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.jxx index be7dac640..8a51985a1 100644 --- a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.jxx +++ b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.jxx @@ -1,3 +1,29 @@ +// GEOM GEOMFiltersSelection : filter selector for the viewer +// +// 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 : GEOM_ShapeTypeFilter.jxx +// Module : GEOM + #ifndef _GEOM_ShapeTypeFilter_HeaderFile #include "GEOM_ShapeTypeFilter.hxx" #endif diff --git a/src/GEOMFiltersSelection/Handle_GEOM_EdgeFilter.hxx b/src/GEOMFiltersSelection/Handle_GEOM_EdgeFilter.hxx index 6cc45e9e2..6c8dd9c28 100644 --- a/src/GEOMFiltersSelection/Handle_GEOM_EdgeFilter.hxx +++ b/src/GEOMFiltersSelection/Handle_GEOM_EdgeFilter.hxx @@ -1,17 +1,28 @@ -// File generated by CPPExt (Transient) +// GEOM GEOMFiltersSelection : filter selector for the viewer // -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// 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 : Handle_GEOM_EdgeFilter.hxx +// Module : GEOM #ifndef _Handle_GEOM_EdgeFilter_HeaderFile #define _Handle_GEOM_EdgeFilter_HeaderFile diff --git a/src/GEOMFiltersSelection/Handle_GEOM_FaceFilter.hxx b/src/GEOMFiltersSelection/Handle_GEOM_FaceFilter.hxx index 9881e3e63..3acc213ac 100644 --- a/src/GEOMFiltersSelection/Handle_GEOM_FaceFilter.hxx +++ b/src/GEOMFiltersSelection/Handle_GEOM_FaceFilter.hxx @@ -1,17 +1,28 @@ -// File generated by CPPExt (Transient) +// GEOM GEOMFiltersSelection : filter selector for the viewer // -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// 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 : Handle_GEOM_FaceFilter.hxx +// Module : GEOM #ifndef _Handle_GEOM_FaceFilter_HeaderFile #define _Handle_GEOM_FaceFilter_HeaderFile diff --git a/src/GEOMFiltersSelection/Handle_GEOM_ShapeTypeFilter.hxx b/src/GEOMFiltersSelection/Handle_GEOM_ShapeTypeFilter.hxx index 8c7cf97b9..d20bf6d96 100644 --- a/src/GEOMFiltersSelection/Handle_GEOM_ShapeTypeFilter.hxx +++ b/src/GEOMFiltersSelection/Handle_GEOM_ShapeTypeFilter.hxx @@ -1,17 +1,28 @@ -// File generated by CPPExt (Transient) +// GEOM GEOMFiltersSelection : filter selector for the viewer // -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. +// 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 : Handle_GEOM_ShapeTypeFilter.hxx +// Module : GEOM #ifndef _Handle_GEOM_ShapeTypeFilter_HeaderFile #define _Handle_GEOM_ShapeTypeFilter_HeaderFile diff --git a/src/GEOMFiltersSelection/Makefile.in b/src/GEOMFiltersSelection/Makefile.in index 36943018e..38a4ba0e1 100644 --- a/src/GEOMFiltersSelection/Makefile.in +++ b/src/GEOMFiltersSelection/Makefile.in @@ -1,15 +1,35 @@ -# -* Makefile *- +# GEOM GEOMFiltersSelection : filter selector for the viewer # -# Author : Patrick GOLDBRONN (CEA) -# Date : 29/06/2001 -# $Header$ +# 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 : Makefile.in +# Author : Patrick GOLDBRONN (CEA) +# Module : GEOM +# $Header$ -# source path top_srcdir=@top_srcdir@ -top_builddir=../.. +top_builddir=../../.. srcdir=@srcdir@ -VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl +VPATH=.:@srcdir@:@top_srcdir@/idl @COMMENCE@ diff --git a/src/GEOMGUI/GEOM_icons.po b/src/GEOMGUI/GEOM_icons.po index 61c69d6b9..ae40262ff 100644 --- a/src/GEOMGUI/GEOM_icons.po +++ b/src/GEOMGUI/GEOM_icons.po @@ -338,5 +338,8 @@ msgstr "multirotation.png" msgid "ICON_DLG_MULTIROTATION_DOUBLE" msgstr "multirotationdouble.png" +#EllipseDlg +msgid "ICON_DLG_ELLIPSE_PV" +msgstr "ellipsepointvector.png" diff --git a/src/GEOMGUI/GEOM_msg_en.po b/src/GEOMGUI/GEOM_msg_en.po index 10b228ee0..665a35438 100644 --- a/src/GEOMGUI/GEOM_msg_en.po +++ b/src/GEOMGUI/GEOM_msg_en.po @@ -551,6 +551,21 @@ msgstr "Box" msgid "GEOM_CIRCLE" msgstr "Circle" +#Ellipse +msgid "GEOM_ELLIPSE" +msgstr "Ellipse" + +msgid "GEOM_ELLIPSE_TITLE" +msgstr "Ellipse Construction" + +#Radius major +msgid "GEOM_RADIUS_MAJOR" +msgstr "Major radius :" + +#Radius minor +msgid "GEOM_RADIUS_MINOR" +msgstr "Minor radius :" + #Compound msgid "GEOM_COMPOUND" msgstr "Compound" diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 998f271ef..0aa9b4ffc 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GeometryGUI.cxx -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ +using namespace std; #include "GeometryGUI.h" // SALOME Includes @@ -26,15 +46,6 @@ using namespace std; #include "OCCViewer_ViewPort3d.h" #include "OCCViewer_Viewer3d.h" -#include "VTKViewer_RenderWindowInteractor.h" -#include "VTKViewer_ViewFrame.h" - -#include "GEOM_Actor.h" -#include "GEOM_Client.hxx" -#include "GEOM_AISShape.hxx" -#include "GEOM_AssemblyBuilder.h" -#include "GEOM_InteractiveObject.hxx" - #include "SALOME_NamingService.hxx" #include "SALOME_ListIteratorOfListIO.hxx" #include "SALOME_InteractiveObject.hxx" @@ -141,6 +152,16 @@ using namespace std; #include #include #include + +#include "VTKViewer_RenderWindowInteractor.h" +#include "VTKViewer_ViewFrame.h" +#include "GEOM_Actor.h" +#include "GEOM_Client.hxx" +#include "GEOM_AISShape.hxx" +#include "GEOM_AssemblyBuilder.h" +#include "GEOM_InteractiveObject.hxx" + + #include "GeometryGUI_aParameterDlg.h" #include "GeometryGUI_PointDlg.h" // Method POINT @@ -158,6 +179,7 @@ using namespace std; #include "GeometryGUI_MirrorDlg.h" // Method MIRROR #include "GeometryGUI_SphereDlg.h" // Method SPHERE #include "GeometryGUI_CircleDlg.h" // Method CIRCLE +#include "GeometryGUI_EllipseDlg.h" // Method ELLIPSE #include "GeometryGUI_RevolDlg.h" // Method REVOL #include "GeometryGUI_RotationDlg.h" // Method ROTATION #include "GeometryGUI_TranslationDlg.h" // Method TRANSLATION @@ -1762,6 +1784,35 @@ void GeometryGUI::MakeCircleAndDisplay( const gp_Pnt CenterPoint, const gp_Dir d } +//===================================================================================== +// function : MakeEllipseAndDisplay() +// purpose : +//===================================================================================== +void GeometryGUI::MakeEllipseAndDisplay( const gp_Pnt CenterPoint, + const gp_Dir dir, + const Standard_Real Major_Radius, + const Standard_Real Minor_Radius ) +{ + try { + GEOM::PointStruct pstruct = myComponentGeom->MakePointStruct( CenterPoint.X(), CenterPoint.Y(), CenterPoint.Z() ) ; + GEOM::PointStruct d = myComponentGeom->MakePointStruct( dir.X(), dir.Y(), dir.Z() ) ; + GEOM::DirStruct dstruct = myComponentGeom->MakeDirection(d) ; + + GEOM::GEOM_Shape_var result = myComponentGeom->MakeEllipse(pstruct, dstruct, Major_Radius, Minor_Radius) ; + if ( result->_is_nil() ) { + myDesktop->putInfo(tr("GEOM_PRP_ABORT") ); + return ; + } + result->NameType(tr("GEOM_ELLIPSE")); + if ( Display( result ) ) + myDesktop->putInfo(tr("GEOM_PRP_DONE")); + } + catch (const SALOME::SALOME_Exception& S_ex) { + QtCatchCorbaException(S_ex); + } + return ; +} + //===================================================================================== // function : MakeWireAndDisplay() @@ -2942,13 +2993,13 @@ bool GeometryGUI::OnGUIEvent(int theCommandID, QAD_Desktop* parent) AIS_ListIteratorOfListOfInteractive ite(List); ic->InitCurrent(); - if ( ic-> NbCurrents() ) + if ( ic->NbCurrents() ) while (ite.More()) { if (ite.Value()->IsInstance(STANDARD_TYPE(GEOM_AISShape))) { Handle(GEOM_AISShape) aSh = Handle(GEOM_AISShape)::DownCast(ite.Value()); Handle (AIS_Drawer) CurDrawer; - CurDrawer = ic->Current()->Attributes(); + CurDrawer = aSh->Attributes(); CurDrawer->UIsoAspect()->SetNumber( UIso ); CurDrawer->VIsoAspect()->SetNumber( VIso ); ic->SetLocalAttributes(aSh, CurDrawer); @@ -3275,6 +3326,14 @@ bool GeometryGUI::OnGUIEvent(int theCommandID, QAD_Desktop* parent) break ; } + case 3014: // ELLIPSE + { + GeomGUI->EmitSignalDeactivateDialog() ; + SALOME_Selection* Sel = SALOME_Selection::Selection( GeomGUI->myActiveStudy->getSelection() ); + GeometryGUI_EllipseDlg *aDlg = new GeometryGUI_EllipseDlg( parent, "", Sel ) ; + break ; + } + case 3015: // ARC { GeomGUI->EmitSignalDeactivateDialog() ; diff --git a/src/GEOMGUI/GeometryGUI.h b/src/GEOMGUI/GeometryGUI.h index 716f1acab..756f2d1d4 100644 --- a/src/GEOMGUI/GeometryGUI.h +++ b/src/GEOMGUI/GeometryGUI.h @@ -1,9 +1,29 @@ -// File : GeometryGUI.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef GeometryGUI_HeaderFile @@ -146,6 +166,7 @@ public : const Standard_Real dy, const Standard_Real dz, const Standard_Real TrimSize ) ; void MakeSphereAndDisplay( const gp_Pnt aCenterPoint, const double aRadius) ; void MakeCircleAndDisplay( const gp_Pnt CenterPoint, const gp_Dir dir, const Standard_Real Radius) ; + void MakeEllipseAndDisplay( const gp_Pnt CenterPoint, const gp_Dir dir, const Standard_Real Major_Radius, const Standard_Real Minor_Radius) ; void MakeArcAndDisplay( gp_Pnt InitPoint, gp_Pnt CirclePoint, gp_Pnt EndPoint ) ; void MakeLineAndDisplay( const gp_Pnt InitPoint, const gp_Pnt LastPoint) ; void MakeCylinderAndDisplay( const gp_Pnt BasePoint, const gp_Dir aDir, diff --git a/src/GEOMGUI/GeometryGUI_ArcDlg.h b/src/GEOMGUI/GeometryGUI_ArcDlg.h index 0daf173e4..40384fee5 100644 --- a/src/GEOMGUI/GeometryGUI_ArcDlg.h +++ b/src/GEOMGUI/GeometryGUI_ArcDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_ArcDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_ArcDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_ARC_H diff --git a/src/GEOMGUI/GeometryGUI_ArchimedeDlg.cxx b/src/GEOMGUI/GeometryGUI_ArchimedeDlg.cxx index 5867d6993..61159318f 100644 --- a/src/GEOMGUI/GeometryGUI_ArchimedeDlg.cxx +++ b/src/GEOMGUI/GeometryGUI_ArchimedeDlg.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GeometryGUI_ArchimedeDlg.cxx -// Created : Mon Feb 25 11:13:13 CET 2002 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_ArchimedeDlg.cxx +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ +using namespace std; #include "GeometryGUI_ArchimedeDlg.h" #include "GeometryGUI.h" diff --git a/src/GEOMGUI/GeometryGUI_ArchimedeDlg.h b/src/GEOMGUI/GeometryGUI_ArchimedeDlg.h index 152cb49c7..f233b43c8 100644 --- a/src/GEOMGUI/GeometryGUI_ArchimedeDlg.h +++ b/src/GEOMGUI/GeometryGUI_ArchimedeDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_ArchimedeDlg.h -// Created : Mon Feb 25 11:13:13 CET 2002 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_ArchimedeDlg.h +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_ARCHIMEDE_H diff --git a/src/GEOMGUI/GeometryGUI_BndBoxDlg.h b/src/GEOMGUI/GeometryGUI_BndBoxDlg.h index 846220202..546dde539 100644 --- a/src/GEOMGUI/GeometryGUI_BndBoxDlg.h +++ b/src/GEOMGUI/GeometryGUI_BndBoxDlg.h @@ -1,10 +1,29 @@ -// File : GeometryGUI_BndBoxDlg.h -// Created : Mon Mar 04 13:12:22 2002 -// Author : Nicolas REJNERI - -// Project : SALOME -// Module : GEOMGUI -// Copyright : Open CASCADE 2002 +// 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_BndBoxDlg.h +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_BNDBOX_H diff --git a/src/GEOMGUI/GeometryGUI_BoxDlg.h b/src/GEOMGUI/GeometryGUI_BoxDlg.h index fd7318ec6..062591582 100644 --- a/src/GEOMGUI/GeometryGUI_BoxDlg.h +++ b/src/GEOMGUI/GeometryGUI_BoxDlg.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_BoxDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_BoxDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ - #ifndef DIALOGBOX_BOX_H #define DIALOGBOX_BOX_H diff --git a/src/GEOMGUI/GeometryGUI_CenterMassDlg.h b/src/GEOMGUI/GeometryGUI_CenterMassDlg.h index 18a4ed82f..c56720724 100644 --- a/src/GEOMGUI/GeometryGUI_CenterMassDlg.h +++ b/src/GEOMGUI/GeometryGUI_CenterMassDlg.h @@ -1,11 +1,29 @@ -// File : GeometryGUI_CenterMassDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE -// $Heade$ - +// 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_CenterMassDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM #ifndef DIALOGBOX_CMASS_H #define DIALOGBOX_CMASS_H diff --git a/src/GEOMGUI/GeometryGUI_ChamferDlg.h b/src/GEOMGUI/GeometryGUI_ChamferDlg.h index 2718e2351..22fe93ffa 100644 --- a/src/GEOMGUI/GeometryGUI_ChamferDlg.h +++ b/src/GEOMGUI/GeometryGUI_ChamferDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_ChamferDlg.h -// Created : -// Author : Damien COQUERET -// Project : SALOME -// Module : GEOM -// Copyright : OPEN CASCADE 2002 +// 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_ChamferDlg.h +// Author : Damien COQUERET +// Module : GEOM // $Header$ #ifndef DIALOGBOX_CHAMFER_H diff --git a/src/GEOMGUI/GeometryGUI_CheckShape.cxx b/src/GEOMGUI/GeometryGUI_CheckShape.cxx index b9f4cd05b..d0dfc9fea 100644 --- a/src/GEOMGUI/GeometryGUI_CheckShape.cxx +++ b/src/GEOMGUI/GeometryGUI_CheckShape.cxx @@ -1,13 +1,32 @@ -using namespace std; -// File : GeometryGUI_CheckShape.cxx -// Created : Tue Mar 12 17:23:51 2002 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : GEOM -// Copyright : Open CASCADE 2002 +// 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_CheckShape.cxx +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ - +using namespace std; #include "GeometryGUI_CheckShape.h" #include "GeometryGUI.h" diff --git a/src/GEOMGUI/GeometryGUI_CheckShape.h b/src/GEOMGUI/GeometryGUI_CheckShape.h index e85f6d665..ce9b51789 100644 --- a/src/GEOMGUI/GeometryGUI_CheckShape.h +++ b/src/GEOMGUI/GeometryGUI_CheckShape.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_CheckShape.h -// Created : Tue Mar 12 17:25:52 2002 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : GEOM -// Copyright : Open CASCADE 2002 +// 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_CheckShape.h +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ - #ifndef DIALOGBOX_CHECKSHAPE_H #define DIALOGBOX_CHECKSHAPE_H diff --git a/src/GEOMGUI/GeometryGUI_CircleDlg.h b/src/GEOMGUI/GeometryGUI_CircleDlg.h index b372f4a5d..8254f30b4 100644 --- a/src/GEOMGUI/GeometryGUI_CircleDlg.h +++ b/src/GEOMGUI/GeometryGUI_CircleDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_CircleDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_CircleDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_CIRCLE_H diff --git a/src/GEOMGUI/GeometryGUI_CommonDlg.h b/src/GEOMGUI/GeometryGUI_CommonDlg.h index 661f81a4b..9e8844482 100644 --- a/src/GEOMGUI/GeometryGUI_CommonDlg.h +++ b/src/GEOMGUI/GeometryGUI_CommonDlg.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_CommonDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_CommonDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ - #ifndef DIALOGBOX_COMMON_H #define DIALOGBOX_COMMON_H diff --git a/src/GEOMGUI/GeometryGUI_CompoundDlg.h b/src/GEOMGUI/GeometryGUI_CompoundDlg.h index 4493465d2..8bdbbc810 100644 --- a/src/GEOMGUI/GeometryGUI_CompoundDlg.h +++ b/src/GEOMGUI/GeometryGUI_CompoundDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_CompoundDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_CompoundDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_COMPOUND_H diff --git a/src/GEOMGUI/GeometryGUI_ConeDlg.h b/src/GEOMGUI/GeometryGUI_ConeDlg.h index aa210e933..7811f1b58 100644 --- a/src/GEOMGUI/GeometryGUI_ConeDlg.h +++ b/src/GEOMGUI/GeometryGUI_ConeDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_ConeDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_ConeDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_CONE_H diff --git a/src/GEOMGUI/GeometryGUI_CutDlg.cxx b/src/GEOMGUI/GeometryGUI_CutDlg.cxx index e7fdf0ed1..948eed897 100644 --- a/src/GEOMGUI/GeometryGUI_CutDlg.cxx +++ b/src/GEOMGUI/GeometryGUI_CutDlg.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GeometryGUI_CutDlg.cxx -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_CutDlg.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ +using namespace std; #include "GeometryGUI_CutDlg.h" #include "GeometryGUI.h" diff --git a/src/GEOMGUI/GeometryGUI_CutDlg.h b/src/GEOMGUI/GeometryGUI_CutDlg.h index bfda1729e..1e7c6ed2e 100644 --- a/src/GEOMGUI/GeometryGUI_CutDlg.h +++ b/src/GEOMGUI/GeometryGUI_CutDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_CutDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_CutDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_CUT_H diff --git a/src/GEOMGUI/GeometryGUI_CylinderDlg.h b/src/GEOMGUI/GeometryGUI_CylinderDlg.h index 77ea6a890..fafab604e 100644 --- a/src/GEOMGUI/GeometryGUI_CylinderDlg.h +++ b/src/GEOMGUI/GeometryGUI_CylinderDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_CylinderDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_CylinderDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_CYLINDER_H diff --git a/src/GEOMGUI/GeometryGUI_DistanceDlg.h b/src/GEOMGUI/GeometryGUI_DistanceDlg.h index 109b702f0..742fe38e2 100644 --- a/src/GEOMGUI/GeometryGUI_DistanceDlg.h +++ b/src/GEOMGUI/GeometryGUI_DistanceDlg.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_DistanceDlg.h -// Created : Mon Mar 04 22:34:22 2002 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : GEOM -// Copyright : Open CASCADE 2002 +// 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_DistanceDlg.h +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ - #ifndef DIALOGBOX_DISTANCE_H #define DIALOGBOX_DISTANCE_H diff --git a/src/GEOMGUI/GeometryGUI_EdgeDlg.h b/src/GEOMGUI/GeometryGUI_EdgeDlg.h index 2fa209b92..facdddc5f 100644 --- a/src/GEOMGUI/GeometryGUI_EdgeDlg.h +++ b/src/GEOMGUI/GeometryGUI_EdgeDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_EdgeDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_EdgeDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_EDGE_H diff --git a/src/GEOMGUI/GeometryGUI_EllipseDlg.cxx b/src/GEOMGUI/GeometryGUI_EllipseDlg.cxx new file mode 100755 index 000000000..c8acdaa42 --- /dev/null +++ b/src/GEOMGUI/GeometryGUI_EllipseDlg.cxx @@ -0,0 +1,533 @@ +// GEOM GEOMGUI : GUI for Geometry component +// +// Copyright (C) 2003 OPEN CASCADE +// +// 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_EllipseDlg.cxx +// Author : Nicolas REJNERI +// Module : GEOM +// $Header$ + +#include "GeometryGUI_EllipseDlg.h" + +#include "GeometryGUI.h" +#include "gp_Elips.hxx" +#include "QAD_Application.h" +#include "QAD_Desktop.h" +#include "QAD_Config.h" +#include "utilities.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//================================================================================= +// class : GeometryGUI_EllipseDlg() +// purpose : Constructs a GeometryGUI_EllipseDlg which is a child of 'parent', with the +// name 'name' and widget flags set to 'f'. +// The dialog will by default be modeless, unless you set 'modal' to +// TRUE to construct a modal dialog. +//================================================================================= +GeometryGUI_EllipseDlg::GeometryGUI_EllipseDlg( QWidget* parent, const char* name, SALOME_Selection* Sel, bool modal, WFlags fl ) + : QDialog( parent, name, modal, fl ) +{ + QPixmap image0(QAD_Desktop::getResourceManager()->loadPixmap( "GEOM",tr("ICON_DLG_ELLIPSE_PV"))); + QPixmap image1(QAD_Desktop::getResourceManager()->loadPixmap( "GEOM",tr("ICON_SELECT"))); + + if ( !name ) + setName( "GeometryGUI_EllipseDlg" ); + resize( 303, 285 ); + setCaption( tr( "GEOM_ELLIPSE_TITLE" ) ); + + GeometryGUI_EllipseDlgLayout = new QGridLayout( this ); + GeometryGUI_EllipseDlgLayout->setSpacing( 6 ); + GeometryGUI_EllipseDlgLayout->setMargin( 11 ); + + /***************************************************************/ + GroupConstructors = new QButtonGroup( this, "GroupConstructors" ); + GroupConstructors->setTitle( tr( "GEOM_ELLIPSE" ) ); + GroupConstructors->setExclusive( TRUE ); + GroupConstructors->setColumnLayout(0, Qt::Vertical ); + GroupConstructors->layout()->setSpacing( 0 ); + GroupConstructors->layout()->setMargin( 0 ); + GroupConstructorsLayout = new QGridLayout( GroupConstructors->layout() ); + GroupConstructorsLayout->setAlignment( Qt::AlignTop ); + GroupConstructorsLayout->setSpacing( 6 ); + GroupConstructorsLayout->setMargin( 11 ); + Constructor1 = new QRadioButton( GroupConstructors, "Constructor1" ); + Constructor1->setText( tr( "" ) ); + Constructor1->setPixmap( image0 ); + Constructor1->setChecked( TRUE ); + Constructor1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, Constructor1->sizePolicy().hasHeightForWidth() ) ); + Constructor1->setMinimumSize( QSize( 50, 0 ) ); + GroupConstructorsLayout->addWidget( Constructor1, 0, 0 ); + QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); + GroupConstructorsLayout->addItem( spacer, 0, 1 ); + GeometryGUI_EllipseDlgLayout->addWidget( GroupConstructors, 0, 0 ); + + /***************************************************************/ + GroupButtons = new QGroupBox( this, "GroupButtons" ); + GroupButtons->setTitle( tr( "" ) ); + GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, GroupButtons->sizePolicy().hasHeightForWidth() ) ); + GroupButtons->setColumnLayout(0, Qt::Vertical ); + GroupButtons->layout()->setSpacing( 0 ); + GroupButtons->layout()->setMargin( 0 ); + GroupButtonsLayout = new QGridLayout( GroupButtons->layout() ); + GroupButtonsLayout->setAlignment( Qt::AlignTop ); + GroupButtonsLayout->setSpacing( 6 ); + GroupButtonsLayout->setMargin( 11 ); + buttonApply = new QPushButton( GroupButtons, "buttonApply" ); + buttonApply->setText( tr( "GEOM_BUT_APPLY" ) ); + buttonApply->setAutoDefault( TRUE ); + buttonApply->setDefault( TRUE ); + GroupButtonsLayout->addWidget( buttonApply, 0, 2 ); + buttonCancel = new QPushButton( GroupButtons, "buttonCancel" ); + buttonCancel->setText( tr( "GEOM_BUT_CLOSE" ) ); + buttonCancel->setAutoDefault( TRUE ); + GroupButtonsLayout->addWidget( buttonCancel, 0, 3 ); + QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); + GroupButtonsLayout->addItem( spacer_2, 0, 1 ); + buttonOk = new QPushButton( GroupButtons, "buttonOk" ); + buttonOk->setText( tr( "GEOM_BUT_OK" ) ); + buttonOk->setAutoDefault( TRUE ); + GroupButtonsLayout->addWidget( buttonOk, 0, 0 ); + GeometryGUI_EllipseDlgLayout->addWidget( GroupButtons, 2, 0 ); + + /***************************************************************/ + GroupC1 = new QGroupBox( this, "GroupC1" ); + GroupC1->setTitle( tr( "GEOM_ARGUMENTS" ) ); + GroupC1->setMinimumSize( QSize( 0, 150 ) ); + GroupC1->setFrameShape( QGroupBox::Box ); + GroupC1->setFrameShadow( QGroupBox::Sunken ); + GroupC1->setColumnLayout(0, Qt::Vertical ); + GroupC1->layout()->setSpacing( 0 ); + GroupC1->layout()->setMargin( 0 ); + GroupC1Layout = new QGridLayout( GroupC1->layout() ); + GroupC1Layout->setAlignment( Qt::AlignTop ); + GroupC1Layout->setSpacing( 6 ); + GroupC1Layout->setMargin( 11 ); + LineEditC1A1 = new QLineEdit( GroupC1, "LineEditC1A1" ); + GroupC1Layout->addWidget( LineEditC1A1, 0, 2 ); + LineEditC1A2 = new QLineEdit( GroupC1, "LineEditC1A2" ); + GroupC1Layout->addWidget( LineEditC1A2, 1, 2 ); + TextLabelC1A1 = new QLabel( GroupC1, "TextLabelC1A1" ); + TextLabelC1A1->setText( tr( "GEOM_CENTER" ) ); + TextLabelC1A1->setMinimumSize( QSize( 50, 0 ) ); + TextLabelC1A1->setFrameShape( QLabel::NoFrame ); + TextLabelC1A1->setFrameShadow( QLabel::Plain ); + + GroupC1Layout->addWidget( TextLabelC1A1, 0, 0 ); + TextLabelC1A4 = new QLabel( GroupC1, "TextLabelC1A4" ); + TextLabelC1A4->setText( tr( "GEOM_RADIUS_MINOR" ) ); + TextLabelC1A4->setMinimumSize( QSize( 50, 0 ) ); + GroupC1Layout->addMultiCellWidget( TextLabelC1A4, 3, 3, 0, 1 ); + + TextLabelC1A3 = new QLabel( GroupC1, "TextLabelC1A3" ); + TextLabelC1A3->setText( tr( "GEOM_RADIUS_MAJOR" ) ); + TextLabelC1A3->setMinimumSize( QSize( 50, 0 ) ); + GroupC1Layout->addWidget( TextLabelC1A3, 2, 0 ); + + TextLabelC1A2 = new QLabel( GroupC1, "TextLabelC1A2" ); + TextLabelC1A2->setText( tr( "GEOM_VECTOR" ) ); + TextLabelC1A2->setMinimumSize( QSize( 50, 0 ) ); + + GroupC1Layout->addWidget( TextLabelC1A2, 1, 0 ); + SelectButtonC1A1 = new QPushButton( GroupC1, "SelectButtonC1A1" ); + SelectButtonC1A1->setText( tr( "" ) ); + SelectButtonC1A1->setPixmap( image1 ); + SelectButtonC1A1->setToggleButton( FALSE ); + GroupC1Layout->addWidget( SelectButtonC1A1, 0, 1 ); + SelectButtonC1A2 = new QPushButton( GroupC1, "SelectButtonC1A2" ); + SelectButtonC1A2->setText( tr( "" ) ); + SelectButtonC1A2->setPixmap( image1 ); + GroupC1Layout->addWidget( SelectButtonC1A2, 1, 1 ); + + SpinBox_C1A3 = new GeometryGUI_SpinBox( GroupC1, "GeomSpinBox_C1A3" ); + GroupC1Layout->addWidget( SpinBox_C1A3, 2, 2 ) ; + SpinBox_C1A4 = new GeometryGUI_SpinBox( GroupC1, "GeomSpinBox_C1A4" ); + GroupC1Layout->addWidget( SpinBox_C1A4, 3, 2 ); + + GeometryGUI_EllipseDlgLayout->addWidget( GroupC1, 1, 0 ); + /***************************************************************/ + + Init(Sel) ; /* Initialisations */ +} + + +//================================================================================= +// function : ~GeometryGUI_EllipseDlg() +// purpose : Destroys the object and frees any allocated resources +//================================================================================= +GeometryGUI_EllipseDlg::~GeometryGUI_EllipseDlg() +{ + // no need to delete child widgets, Qt does it all for us +} + + + +//================================================================================= +// function : Init() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::Init( SALOME_Selection* Sel ) +{ + double step ; + QString St = QAD_CONFIG->getSetting( "Geometry:SettingsGeomStep" ) ; + step = St.toDouble() ; + + /* min, max, step and decimals for spin boxes */ + SpinBox_C1A3->RangeStepAndValidator( 0.00001, 999999.99999, step, 5 ) ; + SpinBox_C1A3->SetValue( 200.0 ) ; /* = myMajorRadius */ + myMajorRadius = 200.0 ; + + /* min, max, step and decimals for spin boxes */ + SpinBox_C1A4->RangeStepAndValidator( 0.00001, 999999.99999, step, 5 ) ; + SpinBox_C1A4->SetValue( 100.0 ) ; /* = myMinorRadius */ + myMinorRadius = 100.0 ; + + GroupC1->show(); + myConstructorId = 0 ; + Constructor1->setChecked( TRUE ); + myEditCurrentArgument = LineEditC1A1 ; + mySelection = Sel; + myGeomGUI = GeometryGUI::GetGeometryGUI() ; + myOkPoint = myOkDir = false ; + mySimulationTopoDs.Nullify() ; + myGeomGUI->SetActiveDialogBox( (QDialog*)this ) ; + + // TODO : previous selection into argument ? + + /* Filter definitions */ + Engines::Component_var comp = QAD_Application::getDesktop()->getEngine("FactoryServer", "GEOM"); + myGeom = GEOM::GEOM_Gen::_narrow(comp); + myEdgeFilter = new GEOM_EdgeFilter( StdSelect_Line, myGeom ); + myVertexFilter = new GEOM_ShapeTypeFilter( TopAbs_VERTEX, myGeom ); + + mySelection->AddFilter(myVertexFilter) ; /* first filter used */ + + /* signals and slots connections */ + connect( buttonOk, SIGNAL( pressed() ), this, SLOT( ClickOnOk() ) ); + connect( buttonCancel, SIGNAL( pressed() ), this, SLOT( ClickOnCancel() ) ) ; + connect( buttonApply, SIGNAL( pressed() ), this, SLOT( ClickOnApply() ) ); + connect( GroupConstructors, SIGNAL(clicked(int) ), SLOT( ConstructorsClicked(int) ) ); + connect( SelectButtonC1A1, SIGNAL (pressed() ), this, SLOT( SetEditCurrentArgument() ) ) ; + connect( SelectButtonC1A2, SIGNAL (pressed() ), this, SLOT( SetEditCurrentArgument() ) ) ; + + connect( LineEditC1A1, SIGNAL ( returnPressed() ), this, SLOT( LineEditReturnPressed() ) ) ; + connect( LineEditC1A2, SIGNAL ( returnPressed() ), this, SLOT( LineEditReturnPressed() ) ) ; + + connect( SpinBox_C1A3, SIGNAL ( valueChanged( double) ), this, SLOT( ValueChangedInSpinBox( double) ) ) ; + connect( SpinBox_C1A4, SIGNAL ( valueChanged( double) ), this, SLOT( ValueChangedInSpinBox( double) ) ) ; + + connect( myGeomGUI, SIGNAL ( SignalDeactivateActiveDialog() ), this, SLOT( DeactivateActiveDialog() ) ) ; + connect( mySelection, SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) ); + /* to close dialog if study change */ + connect( myGeomGUI, SIGNAL ( SignalCloseAllDialogs() ), this, SLOT( ClickOnCancel() ) ) ; + + /* Move widget on the botton right corner of main widget */ + int x, y ; + myGeomGUI->DefineDlgPosition( this, x, y ) ; + this->move( x, y ) ; + this->show() ; /* displays Dialog */ + + return ; +} + + +//================================================================================= +// function : ConstructorsClicked() +// purpose : Radio button management +//================================================================================= +void GeometryGUI_EllipseDlg::ConstructorsClicked(int constructorId) +{ + /* only a constructor now */ + return ; +} + +//================================================================================= +// function : ClickOnOk() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::ClickOnOk() +{ + this->ClickOnApply() ; + this->ClickOnCancel() ; + + return ; +} + +//================================================================================= +// function : ClickOnApply() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::ClickOnApply() +{ + myGeomGUI->EraseSimulationShape() ; + mySimulationTopoDs.Nullify() ; + switch(myConstructorId) + { + case 0 : + { + if(myOkPoint && myOkDir) { + myGeomGUI->MakeEllipseAndDisplay( myPoint, myDir, myMajorRadius, myMinorRadius ) ; + } + break ; + } + } + return ; +} + +//================================================================================= +// function : ClickOnCancel() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::ClickOnCancel() +{ + mySelection->ClearFilters() ; + myGeomGUI->EraseSimulationShape() ; + mySimulationTopoDs.Nullify() ; + disconnect( mySelection, 0, this, 0 ); + myGeomGUI->ResetState() ; + reject() ; + return ; +} + +//================================================================================= +// function : SelectionIntoArgument() +// purpose : Called when selection as changed or other case +//================================================================================= +void GeometryGUI_EllipseDlg::SelectionIntoArgument() +{ + + myGeomGUI->EraseSimulationShape() ; + mySimulationTopoDs.Nullify() ; + + /* Future name of selection */ + QString aString = ""; + + int nbSel = myGeomGUI->GetNameOfSelectedIObjects(mySelection, aString) ; + if ( nbSel != 1 ) { + if ( myEditCurrentArgument == LineEditC1A1 ) { + LineEditC1A1->setText("") ; + myOkPoint = false ; + } + else if ( myEditCurrentArgument == LineEditC1A2 ) { + LineEditC1A2->setText("") ; + myOkDir = false ; + } + return ; + } + + /* nbSel == 1 */ + TopoDS_Shape S; + if( !myGeomGUI->GetTopoFromSelection(mySelection, S) ) + return ; + + /* gp_Pnt : not used */ + if ( myEditCurrentArgument == LineEditC1A1 && myGeomGUI->VertexToPoint(S, myPoint) ) { + LineEditC1A1->setText(aString) ; + myOkPoint = true ; + } + else if ( myEditCurrentArgument == LineEditC1A2 /*&& myGeomGUI->LinearLocationAndDirection(S, notUsed, myDir) */) { + BRepAdaptor_Curve curv(TopoDS::Edge(S)); + myDir = curv.Line().Direction(); + LineEditC1A2->setText(aString) ; + myOkDir = true ; + } + + if( myOkPoint && myOkDir ) { + this->MakeEllipseSimulationAndDisplay() ; + } + return ; +} + +//================================================================================= +// function : SetEditCurrentArgument() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::SetEditCurrentArgument() +{ + mySelection->ClearFilters() ; + QPushButton* send = (QPushButton*)sender(); + switch (myConstructorId) + { + case 0: /* default constructor */ + { + if(send == SelectButtonC1A1) { + LineEditC1A1->setFocus() ; + myEditCurrentArgument = LineEditC1A1; + mySelection->AddFilter(myVertexFilter) ; + } + else if(send == SelectButtonC1A2) { + LineEditC1A2->setFocus() ; + myEditCurrentArgument = LineEditC1A2; + mySelection->AddFilter(myEdgeFilter) ; + } + SelectionIntoArgument() ; + break; + } + } + return ; +} + +//================================================================================= +// function : LineEditReturnPressed() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::LineEditReturnPressed() +{ + QLineEdit* send = (QLineEdit*)sender(); + if( send == LineEditC1A1 ) + myEditCurrentArgument = LineEditC1A1 ; + else if ( send == LineEditC1A2 ) + myEditCurrentArgument = LineEditC1A2 ; + else + return ; + + /* User name of object input management */ + /* If successfull the selection is changed and signal emitted... */ + /* so SelectionIntoArgument() is automatically called. */ + const QString objectUserName = myEditCurrentArgument->text() ; + QWidget* thisWidget = (QWidget*)this ; + if( myGeomGUI->SelectionByNameInDialogs( thisWidget, objectUserName, mySelection ) ) { + myEditCurrentArgument->setText( objectUserName ) ; + } + return ; +} + + +//================================================================================= +// function : ValueChangedInSpinBox() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::ValueChangedInSpinBox( double newValue ) +{ + myGeomGUI->EraseSimulationShape() ; + mySimulationTopoDs.Nullify() ; + + GeometryGUI_SpinBox* send = (GeometryGUI_SpinBox*)sender(); + if(send == SpinBox_C1A3) + myMajorRadius = newValue ; + else if(send == SpinBox_C1A4) + myMinorRadius = newValue ; + else + return ; + + if (myOkPoint && myOkDir) { + MakeEllipseSimulationAndDisplay() ; + } + + return ; +} + + +//================================================================================= +// function : DeactivateActiveDialog() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::DeactivateActiveDialog() +{ + if ( GroupConstructors->isEnabled() ) { + GroupConstructors->setEnabled(false) ; + GroupC1->setEnabled(false) ; + GroupButtons->setEnabled(false) ; + disconnect( mySelection, 0, this, 0 ); + myGeomGUI->EraseSimulationShape() ; + mySelection->ClearFilters() ; + } + return ; +} + +//================================================================================= +// function : ActivateThisDialog() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::ActivateThisDialog() +{ + /* Emit a signal to deactivate the active dialog */ + myGeomGUI->EmitSignalDeactivateDialog() ; + GroupConstructors->setEnabled(true) ; + GroupC1->setEnabled(true) ; + GroupButtons->setEnabled(true) ; + connect ( mySelection, SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) ); + if( !mySimulationTopoDs.IsNull() ) + myGeomGUI->DisplaySimulationShape( mySimulationTopoDs ) ; + return ; +} + + +//================================================================================= +// function : enterEvent() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::enterEvent(QEvent* e) +{ + if ( GroupConstructors->isEnabled() ) + return ; + ActivateThisDialog() ; +} + + +//================================================================================= +// function : closeEvent() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::closeEvent( QCloseEvent* e ) +{ + this->ClickOnCancel() ; /* same than click on cancel button */ +} + + +//================================================================================= +// function : MakeEllipseSimulationAndDisplay() +// purpose : +//================================================================================= +void GeometryGUI_EllipseDlg::MakeEllipseSimulationAndDisplay() +{ + myGeomGUI->EraseSimulationShape() ; + + if( myMajorRadius < myMinorRadius ) + return ; + + try { + const gp_Ax2 axis( this->myPoint, this->myDir ) ; + gp_Elips ellipse( axis, this->myMajorRadius, this->myMinorRadius ); + + BRepBuilderAPI_MakeEdge MakeEdge( ellipse ); + mySimulationTopoDs = MakeEdge.Shape(); + myGeomGUI->DisplaySimulationShape( mySimulationTopoDs ) ; + } + catch(Standard_Failure) { + MESSAGE( "Exception catched in MakeEllipseSimulationAndDisplay" ) ; + } + return ; +} diff --git a/src/GEOMGUI/GeometryGUI_EllipseDlg.h b/src/GEOMGUI/GeometryGUI_EllipseDlg.h new file mode 100755 index 000000000..521cec8c4 --- /dev/null +++ b/src/GEOMGUI/GeometryGUI_EllipseDlg.h @@ -0,0 +1,133 @@ +// GEOM GEOMGUI : GUI for Geometry component +// +// Copyright (C) 2003 OPEN CASCADE +// +// 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_EllipseDlg.h +// Author : Nicolas REJNERI +// Module : GEOM +// $Header$ + +#ifndef GEOMETRYGUI_ELLIPSE_H +#define GEOMETRYGUI_ELLIPSE_H + +#include "SALOME_Selection.h" +#include "GEOM_ShapeTypeFilter.hxx" +#include "GEOM_EdgeFilter.hxx" +#include "GeometryGUI_SpinBox.h" + +#include +#include +#include + +#include +#include + +class QVBoxLayout; +class QHBoxLayout; +class QGridLayout; +class QButtonGroup; +class QGroupBox; +class QLabel; +class QLineEdit; +class QPushButton; +class QRadioButton; +class QSpinBox; +class GeometryGUI; + + +//================================================================================= +// class : GeometryGUI_EllipseDlg +// purpose : +//================================================================================= +class GeometryGUI_EllipseDlg : public QDialog +{ + Q_OBJECT + +public: + GeometryGUI_EllipseDlg( QWidget* parent = 0, const char* name = 0, SALOME_Selection* Sel = 0, bool modal = FALSE, WFlags fl = 0 ); + ~GeometryGUI_EllipseDlg(); + +private : + + void closeEvent( QCloseEvent* e ) ; + void enterEvent( QEvent* e ); + void Init(SALOME_Selection* Sel) ; + void MakeEllipseSimulationAndDisplay() ; + + GEOM::GEOM_Gen_var myGeom ; /* Current GeomI object */ + GeometryGUI* myGeomGUI ; /* Current GeomGUI object */ + TopoDS_Shape mySimulationTopoDs ; /* Shape used for simulation display */ + SALOME_Selection* mySelection ; /* User shape selection */ + + gp_Pnt myPoint ; /* Central point of ellipse */ + bool myOkPoint ; /* true when myPoint is defined */ + + gp_Dir myDir ; /* to set normal axis of ellipse */ + bool myOkDir ; /* true when myPoint is defined */ + + Standard_Real myMajorRadius ; + Standard_Real myMinorRadius ; + + int myConstructorId ; /* Current constructor id = radio button id */ + QLineEdit* myEditCurrentArgument; /* Current LineEdit */ + + Handle(GEOM_ShapeTypeFilter) myVertexFilter; /* filter for selection */ + Handle(GEOM_EdgeFilter) myEdgeFilter; /* filter for selection */ + + QButtonGroup* GroupConstructors; + QRadioButton* Constructor1; + QGroupBox* GroupButtons; + QPushButton* buttonApply; + QPushButton* buttonCancel; + QPushButton* buttonOk; + QGroupBox* GroupC1; + QLineEdit* LineEditC1A1; + QLineEdit* LineEditC1A2; + QLabel* TextLabelC1A1; + QLabel* TextLabelC1A4; + QLabel* TextLabelC1A3; + QLabel* TextLabelC1A2; + QPushButton* SelectButtonC1A1; + QPushButton* SelectButtonC1A2; + GeometryGUI_SpinBox* SpinBox_C1A3; + GeometryGUI_SpinBox* SpinBox_C1A4; + +private slots: + + void ConstructorsClicked(int constructorId); + void ClickOnOk(); + void ClickOnCancel(); + void ClickOnApply(); + void SetEditCurrentArgument() ; + void SelectionIntoArgument() ; + void LineEditReturnPressed() ; + void DeactivateActiveDialog() ; + void ActivateThisDialog() ; + void ValueChangedInSpinBox(double newValue) ; + +protected: + QGridLayout* GeometryGUI_EllipseDlgLayout; + QGridLayout* GroupConstructorsLayout; + QGridLayout* GroupButtonsLayout; + QGridLayout* GroupC1Layout; +}; + +#endif // GEOMETRYGUI_ELLIPSE_H diff --git a/src/GEOMGUI/GeometryGUI_FaceDlg.h b/src/GEOMGUI/GeometryGUI_FaceDlg.h index ac4a81d1d..2b33a5161 100644 --- a/src/GEOMGUI/GeometryGUI_FaceDlg.h +++ b/src/GEOMGUI/GeometryGUI_FaceDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_FaceDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_FaceDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_FACE_H diff --git a/src/GEOMGUI/GeometryGUI_FilletDlg.h b/src/GEOMGUI/GeometryGUI_FilletDlg.h index 36684b6d3..775bcc9f6 100644 --- a/src/GEOMGUI/GeometryGUI_FilletDlg.h +++ b/src/GEOMGUI/GeometryGUI_FilletDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_FilletDlg.h -// Created : -// Author : Damien COQUERET -// Project : SALOME -// Module : GEOM -// Copyright : OPEN CASCADE 2002 +// 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_FilletDlg.h +// Author : Damien COQUERET +// Module : GEOM // $Header$ #ifndef DIALOGBOX_FILLET_H diff --git a/src/GEOMGUI/GeometryGUI_FillingDlg.h b/src/GEOMGUI/GeometryGUI_FillingDlg.h index 5b92ab057..b41726884 100644 --- a/src/GEOMGUI/GeometryGUI_FillingDlg.h +++ b/src/GEOMGUI/GeometryGUI_FillingDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_FillingDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_FillingDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_FILLING_H diff --git a/src/GEOMGUI/GeometryGUI_FillingHoleDlg.h b/src/GEOMGUI/GeometryGUI_FillingHoleDlg.h index 0a3401da6..8e0b758df 100644 --- a/src/GEOMGUI/GeometryGUI_FillingHoleDlg.h +++ b/src/GEOMGUI/GeometryGUI_FillingHoleDlg.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_FillingHoleDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_FillingHoleDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ - #ifndef GEOMETRYGUI_FILLINGHOLE_H #define GEOMETRYGUI_FILLINGHOLE_H diff --git a/src/GEOMGUI/GeometryGUI_FuseDlg.cxx b/src/GEOMGUI/GeometryGUI_FuseDlg.cxx index bc6a1c8b6..e42d61c7e 100644 --- a/src/GEOMGUI/GeometryGUI_FuseDlg.cxx +++ b/src/GEOMGUI/GeometryGUI_FuseDlg.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GeometryGUI_FuseDlg.cxx -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_FuseDlg.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ +using namespace std; #include "GeometryGUI_FuseDlg.h" #include "GeometryGUI.h" diff --git a/src/GEOMGUI/GeometryGUI_FuseDlg.h b/src/GEOMGUI/GeometryGUI_FuseDlg.h index 7e951d6bd..67a2911b1 100644 --- a/src/GEOMGUI/GeometryGUI_FuseDlg.h +++ b/src/GEOMGUI/GeometryGUI_FuseDlg.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_FuseDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_FuseDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ - #ifndef DIALOGBOX_FUSE_H #define DIALOGBOX_FUSE_H diff --git a/src/GEOMGUI/GeometryGUI_InertiaDlg.cxx b/src/GEOMGUI/GeometryGUI_InertiaDlg.cxx index 3f1307ce5..99a6c46c6 100644 --- a/src/GEOMGUI/GeometryGUI_InertiaDlg.cxx +++ b/src/GEOMGUI/GeometryGUI_InertiaDlg.cxx @@ -1,12 +1,31 @@ -using namespace std; -// File : GeometryGUI_InertiaDlg.cxx -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE -// $Headers: +// 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_InertiaDlg.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM +using namespace std; #include "GeometryGUI_InertiaDlg.h" #include "GeometryGUI.h" diff --git a/src/GEOMGUI/GeometryGUI_InertiaDlg.h b/src/GEOMGUI/GeometryGUI_InertiaDlg.h index 4b3a28435..c64f81700 100644 --- a/src/GEOMGUI/GeometryGUI_InertiaDlg.h +++ b/src/GEOMGUI/GeometryGUI_InertiaDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_InertiaDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_InertiaDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_INERTIA_H diff --git a/src/GEOMGUI/GeometryGUI_LineDlg.h b/src/GEOMGUI/GeometryGUI_LineDlg.h index 76bed37f2..830ccdc28 100644 --- a/src/GEOMGUI/GeometryGUI_LineDlg.h +++ b/src/GEOMGUI/GeometryGUI_LineDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_LineDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_LineDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_LINE_H diff --git a/src/GEOMGUI/GeometryGUI_MaxToleranceDlg.h b/src/GEOMGUI/GeometryGUI_MaxToleranceDlg.h index 527857900..7da3e4111 100644 --- a/src/GEOMGUI/GeometryGUI_MaxToleranceDlg.h +++ b/src/GEOMGUI/GeometryGUI_MaxToleranceDlg.h @@ -1,13 +1,31 @@ -// File : GeometryGUI_MaxToleranceDlg.h -// Created : Mon Mar 04 14:10:03 2002 -// Author : Nicolas REJNERI - -// Project : SALOME -// Module : GEOM -// Copyright : Open CASCADE 2002 +// 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_MaxToleranceDlg.h +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ - #ifndef DIALOGBOX_MAXTOLERANCE_H #define DIALOGBOX_MAXTOLERANCE_H diff --git a/src/GEOMGUI/GeometryGUI_MirrorDlg.h b/src/GEOMGUI/GeometryGUI_MirrorDlg.h index 75d321091..adc4d7d33 100644 --- a/src/GEOMGUI/GeometryGUI_MirrorDlg.h +++ b/src/GEOMGUI/GeometryGUI_MirrorDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_MirrorDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_MirrorDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_MIRROR_H diff --git a/src/GEOMGUI/GeometryGUI_MultiRotationDlg.h b/src/GEOMGUI/GeometryGUI_MultiRotationDlg.h index 7917ec1fa..13f6804ad 100644 --- a/src/GEOMGUI/GeometryGUI_MultiRotationDlg.h +++ b/src/GEOMGUI/GeometryGUI_MultiRotationDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_MultiRotationDlg.h -// Created : -// Author : Damien COQUERET -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_MultiRotationDlg.h +// Author : Damien COQUERET +// Module : GEOM // $Header$ #ifndef DIALOGBOX_MULTIROTATION_H diff --git a/src/GEOMGUI/GeometryGUI_MultiTranslationDlg.h b/src/GEOMGUI/GeometryGUI_MultiTranslationDlg.h index b33eefc23..d0b366dc9 100644 --- a/src/GEOMGUI/GeometryGUI_MultiTranslationDlg.h +++ b/src/GEOMGUI/GeometryGUI_MultiTranslationDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_MultiTranslationDlg.h -// Created : -// Author : Damien COQUERET -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_MultiTranslationDlg.h +// Author : Damien COQUERET +// Module : GEOM // $Header$ #ifndef DIALOGBOX_MULTITRANSLATION_H diff --git a/src/GEOMGUI/GeometryGUI_NbIsosDlg.cxx b/src/GEOMGUI/GeometryGUI_NbIsosDlg.cxx index 6755abe57..849cb1a1d 100644 --- a/src/GEOMGUI/GeometryGUI_NbIsosDlg.cxx +++ b/src/GEOMGUI/GeometryGUI_NbIsosDlg.cxx @@ -1,13 +1,32 @@ -using namespace std; -// File : GeometryGUI_NbIsosDlg.cxx -// Created : Wed Mar 13 12:27:28 2002 -// Author : -// Project : SALOME -// Module : GEOM -// Copyright : OPEN CASCADE +// 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_NbIsosDlg.cxx +// Author : +// Module : GEOM // $Header: - +using namespace std; #include "GeometryGUI_NbIsosDlg.h" #include "GeometryGUI.h" #include "QAD_Tools.h" diff --git a/src/GEOMGUI/GeometryGUI_NbIsosDlg.h b/src/GEOMGUI/GeometryGUI_NbIsosDlg.h index 1aa48a681..a5d3498cd 100644 --- a/src/GEOMGUI/GeometryGUI_NbIsosDlg.h +++ b/src/GEOMGUI/GeometryGUI_NbIsosDlg.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_NbIsosDlg.h -// Created : Wed Mar 13 12:27:28 2002 -// Author : -// Project : SALOME -// Module : GEOM -// Copyright : OPEN CASCADE +// 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_NbIsosDlg.h +// Author : +// Module : GEOM // $Header: - #ifndef GEOMETRYGUI_NBISOSDLG_H #define GEOMETRYGUI_NBISOSDLG_H diff --git a/src/GEOMGUI/GeometryGUI_OrientationDlg.cxx b/src/GEOMGUI/GeometryGUI_OrientationDlg.cxx index 2d268f3a3..1970e6e97 100644 --- a/src/GEOMGUI/GeometryGUI_OrientationDlg.cxx +++ b/src/GEOMGUI/GeometryGUI_OrientationDlg.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GeometryGUI_OrientationDlg.cxx -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_OrientationDlg.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ +using namespace std; #include "GeometryGUI_OrientationDlg.h" #include "GeometryGUI.h" diff --git a/src/GEOMGUI/GeometryGUI_OrientationDlg.h b/src/GEOMGUI/GeometryGUI_OrientationDlg.h index e919300a1..81b439e1a 100644 --- a/src/GEOMGUI/GeometryGUI_OrientationDlg.h +++ b/src/GEOMGUI/GeometryGUI_OrientationDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_OrientationDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_OrientationDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_ORIENTATION_H diff --git a/src/GEOMGUI/GeometryGUI_PartitionDlg.h b/src/GEOMGUI/GeometryGUI_PartitionDlg.h index a6f2a2bba..72725819b 100644 --- a/src/GEOMGUI/GeometryGUI_PartitionDlg.h +++ b/src/GEOMGUI/GeometryGUI_PartitionDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_PartitionDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_PartitionDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_PARTITION_H diff --git a/src/GEOMGUI/GeometryGUI_PipeDlg.h b/src/GEOMGUI/GeometryGUI_PipeDlg.h index 8abc720c3..bbae793a9 100644 --- a/src/GEOMGUI/GeometryGUI_PipeDlg.h +++ b/src/GEOMGUI/GeometryGUI_PipeDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_PipeDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_PipeDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_PIPE_H diff --git a/src/GEOMGUI/GeometryGUI_PlaneDlg.h b/src/GEOMGUI/GeometryGUI_PlaneDlg.h index 4f4cbe53d..fb5c0f6ee 100644 --- a/src/GEOMGUI/GeometryGUI_PlaneDlg.h +++ b/src/GEOMGUI/GeometryGUI_PlaneDlg.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_PlaneDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_PlaneDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ - #ifndef DIALOGBOX_PLANE_H #define DIALOGBOX_PLANE_H diff --git a/src/GEOMGUI/GeometryGUI_PointDlg.cxx b/src/GEOMGUI/GeometryGUI_PointDlg.cxx index 043cb7cd9..2423b809f 100644 --- a/src/GEOMGUI/GeometryGUI_PointDlg.cxx +++ b/src/GEOMGUI/GeometryGUI_PointDlg.cxx @@ -1,13 +1,32 @@ -using namespace std; -// File : GeometryGUI_PointDlg.cxx -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_PointDlg.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ - +using namespace std; #include "GeometryGUI_PointDlg.h" #include "GeometryGUI.h" diff --git a/src/GEOMGUI/GeometryGUI_PointDlg.h b/src/GEOMGUI/GeometryGUI_PointDlg.h index 1d086a7f9..2de8161ee 100644 --- a/src/GEOMGUI/GeometryGUI_PointDlg.h +++ b/src/GEOMGUI/GeometryGUI_PointDlg.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_PointDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_PointDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ - #ifndef DIALOGBOX_POINT_H #define DIALOGBOX_POINT_H diff --git a/src/GEOMGUI/GeometryGUI_PrismDlg.cxx b/src/GEOMGUI/GeometryGUI_PrismDlg.cxx index c6187c7bd..21ce8eba7 100644 --- a/src/GEOMGUI/GeometryGUI_PrismDlg.cxx +++ b/src/GEOMGUI/GeometryGUI_PrismDlg.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GeometryGUI_PrismDlg.cxx -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_PrismDlg.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ +using namespace std; #include "GeometryGUI_PrismDlg.h" #include "GeometryGUI.h" diff --git a/src/GEOMGUI/GeometryGUI_PrismDlg.h b/src/GEOMGUI/GeometryGUI_PrismDlg.h index f33b527fb..8425fc152 100644 --- a/src/GEOMGUI/GeometryGUI_PrismDlg.h +++ b/src/GEOMGUI/GeometryGUI_PrismDlg.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_PrismDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_PrismDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ - #ifndef DIALOGBOX_PRISM_H #define DIALOGBOX_PRISM_H diff --git a/src/GEOMGUI/GeometryGUI_PropertiesDlg.h b/src/GEOMGUI/GeometryGUI_PropertiesDlg.h index 214a479f8..2251e2882 100644 --- a/src/GEOMGUI/GeometryGUI_PropertiesDlg.h +++ b/src/GEOMGUI/GeometryGUI_PropertiesDlg.h @@ -1,10 +1,29 @@ -// File : GeometryGUI_PropertiesDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE -// $Headers: +// 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_PropertiesDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM #ifndef DIALOGBOX_PROPERTIES_H #define DIALOGBOX_PROPERTIES_H diff --git a/src/GEOMGUI/GeometryGUI_RevolDlg.h b/src/GEOMGUI/GeometryGUI_RevolDlg.h index ba8879d23..5d4096c45 100644 --- a/src/GEOMGUI/GeometryGUI_RevolDlg.h +++ b/src/GEOMGUI/GeometryGUI_RevolDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_RevolDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_RevolDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_REVOLUTION_H diff --git a/src/GEOMGUI/GeometryGUI_RotationDlg.h b/src/GEOMGUI/GeometryGUI_RotationDlg.h index ad021c4e0..36d6e3985 100644 --- a/src/GEOMGUI/GeometryGUI_RotationDlg.h +++ b/src/GEOMGUI/GeometryGUI_RotationDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_RotationDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_RotationDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_ROTATION_H diff --git a/src/GEOMGUI/GeometryGUI_ScaleDlg.h b/src/GEOMGUI/GeometryGUI_ScaleDlg.h index b16cae0ea..e261ed585 100644 --- a/src/GEOMGUI/GeometryGUI_ScaleDlg.h +++ b/src/GEOMGUI/GeometryGUI_ScaleDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_ScaleDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_ScaleDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_SCALE_H diff --git a/src/GEOMGUI/GeometryGUI_SectionDlg.h b/src/GEOMGUI/GeometryGUI_SectionDlg.h index 080009e8c..5ac5b2a8f 100644 --- a/src/GEOMGUI/GeometryGUI_SectionDlg.h +++ b/src/GEOMGUI/GeometryGUI_SectionDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_SectionDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_SectionDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header: #ifndef DIALOGBOX_SECTION_H diff --git a/src/GEOMGUI/GeometryGUI_SewingDlg.h b/src/GEOMGUI/GeometryGUI_SewingDlg.h index f4fff34c3..8e2545bd6 100644 --- a/src/GEOMGUI/GeometryGUI_SewingDlg.h +++ b/src/GEOMGUI/GeometryGUI_SewingDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_SewingDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_SewingDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_SEWING_H diff --git a/src/GEOMGUI/GeometryGUI_ShellDlg.h b/src/GEOMGUI/GeometryGUI_ShellDlg.h index 7dbc30bf2..0e3fc1940 100644 --- a/src/GEOMGUI/GeometryGUI_ShellDlg.h +++ b/src/GEOMGUI/GeometryGUI_ShellDlg.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_ShellDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_ShellDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ - #ifndef DIALOGBOX_SHELL_H #define DIALOGBOX_SHELL_H diff --git a/src/GEOMGUI/GeometryGUI_SphereDlg.h b/src/GEOMGUI/GeometryGUI_SphereDlg.h index e3b193e0c..cd5027971 100644 --- a/src/GEOMGUI/GeometryGUI_SphereDlg.h +++ b/src/GEOMGUI/GeometryGUI_SphereDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_SphereDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_SphereDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_SPHERE_H diff --git a/src/GEOMGUI/GeometryGUI_SpinBox.cxx b/src/GEOMGUI/GeometryGUI_SpinBox.cxx index 984634eef..eec132f44 100644 --- a/src/GEOMGUI/GeometryGUI_SpinBox.cxx +++ b/src/GEOMGUI/GeometryGUI_SpinBox.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GeometryGUI_SpinBox.cxx -// Created : 5 june 2002 -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_SpinBox.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ +using namespace std; #include "GeometryGUI_SpinBox.h" #include "GeometryGUI.h" #include diff --git a/src/GEOMGUI/GeometryGUI_SpinBox.h b/src/GEOMGUI/GeometryGUI_SpinBox.h index 7963de530..d5c60d14f 100644 --- a/src/GEOMGUI/GeometryGUI_SpinBox.h +++ b/src/GEOMGUI/GeometryGUI_SpinBox.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_SpinBox.h -// Created : 4 july 2002 -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_SpinBox.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef GEOMSPINBOX_H diff --git a/src/GEOMGUI/GeometryGUI_SubShapeDlg.h b/src/GEOMGUI/GeometryGUI_SubShapeDlg.h index 080d8990d..7435721de 100644 --- a/src/GEOMGUI/GeometryGUI_SubShapeDlg.h +++ b/src/GEOMGUI/GeometryGUI_SubShapeDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_SubShapeDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_SubShapeDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_SUBSHAPE_H diff --git a/src/GEOMGUI/GeometryGUI_SuppressFacesDlg.h b/src/GEOMGUI/GeometryGUI_SuppressFacesDlg.h index 486898139..6e332c6e7 100644 --- a/src/GEOMGUI/GeometryGUI_SuppressFacesDlg.h +++ b/src/GEOMGUI/GeometryGUI_SuppressFacesDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_SuppressFacesDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_SuppressFacesDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_SUPPRESSFACES_H diff --git a/src/GEOMGUI/GeometryGUI_SuppressHoleDlg.h b/src/GEOMGUI/GeometryGUI_SuppressHoleDlg.h index 0b0f8345a..3e6e8554a 100644 --- a/src/GEOMGUI/GeometryGUI_SuppressHoleDlg.h +++ b/src/GEOMGUI/GeometryGUI_SuppressHoleDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_SuppressHoleDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_SuppressHoleDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef GEOMETRYGUI_SUPPRESSHOLE_H diff --git a/src/GEOMGUI/GeometryGUI_TorusDlg.h b/src/GEOMGUI/GeometryGUI_TorusDlg.h index 7385f1a8e..bae34d8ee 100644 --- a/src/GEOMGUI/GeometryGUI_TorusDlg.h +++ b/src/GEOMGUI/GeometryGUI_TorusDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_TorusDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_TorusDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_TORUS_H diff --git a/src/GEOMGUI/GeometryGUI_TranslationDlg.h b/src/GEOMGUI/GeometryGUI_TranslationDlg.h index 66252061a..617bc4802 100644 --- a/src/GEOMGUI/GeometryGUI_TranslationDlg.h +++ b/src/GEOMGUI/GeometryGUI_TranslationDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_TranslationDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_TranslationDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_TRANSLATION_H diff --git a/src/GEOMGUI/GeometryGUI_TransparencyDlg.cxx b/src/GEOMGUI/GeometryGUI_TransparencyDlg.cxx index 9c6a51087..8925aeb1a 100644 --- a/src/GEOMGUI/GeometryGUI_TransparencyDlg.cxx +++ b/src/GEOMGUI/GeometryGUI_TransparencyDlg.cxx @@ -1,20 +1,34 @@ -using namespace std; -// File : GeometryGUI_TransparencyDlg.cxx -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE -// $Headers - +// 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_TransparencyDlg.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM +using namespace std; #include "GeometryGUI_TransparencyDlg.h" #include "GeometryGUI.h" -#include "VTKViewer_ViewFrame.h" -#include "VTKViewer_RenderWindowInteractor.h" - -//#include "QAD_ViewVTKFrame.h" #include "QAD_RightFrame.h" #include "SALOME_ListIteratorOfListIO.hxx" @@ -29,6 +43,8 @@ using namespace std; #include #include +#include "VTKViewer_ViewFrame.h" +#include "VTKViewer_RenderWindowInteractor.h" //================================================================================= // class : GeometryGUI_TransparencyDlg() diff --git a/src/GEOMGUI/GeometryGUI_TransparencyDlg.h b/src/GEOMGUI/GeometryGUI_TransparencyDlg.h index c9c276e5b..c9a2c2046 100644 --- a/src/GEOMGUI/GeometryGUI_TransparencyDlg.h +++ b/src/GEOMGUI/GeometryGUI_TransparencyDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_TransparencyDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_TransparencyDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_TRANSPARENCYDLG_H diff --git a/src/GEOMGUI/GeometryGUI_VectorDlg.h b/src/GEOMGUI/GeometryGUI_VectorDlg.h index 843a4e6d0..03582f257 100644 --- a/src/GEOMGUI/GeometryGUI_VectorDlg.h +++ b/src/GEOMGUI/GeometryGUI_VectorDlg.h @@ -1,12 +1,31 @@ -// File : GeometryGUI_VectorDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_VectorDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ - #ifndef DIALOGBOX_VECTOR_H #define DIALOGBOX_VECTOR_H diff --git a/src/GEOMGUI/GeometryGUI_WhatisDlg.h b/src/GEOMGUI/GeometryGUI_WhatisDlg.h index 7d15cae9c..02a4e9f4a 100644 --- a/src/GEOMGUI/GeometryGUI_WhatisDlg.h +++ b/src/GEOMGUI/GeometryGUI_WhatisDlg.h @@ -1,10 +1,29 @@ -// File : GeometryGUI_WhatisDlg.h -// Created : Mon Mar 04 14:49:51 2002 -// Author : Nicolas REJNERI - -// Project : SALOME -// Module : GEOM -// Copyright : Open CASCADE 2002 +// 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_WhatisDlg.h +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_WHATIS_H diff --git a/src/GEOMGUI/GeometryGUI_WireDlg.h b/src/GEOMGUI/GeometryGUI_WireDlg.h index 5336b2a8b..5346ccaca 100644 --- a/src/GEOMGUI/GeometryGUI_WireDlg.h +++ b/src/GEOMGUI/GeometryGUI_WireDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_WireDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE +// 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_WireDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef DIALOGBOX_WIRE_H diff --git a/src/GEOMGUI/GeometryGUI_WorkingPlaneDlg.cxx b/src/GEOMGUI/GeometryGUI_WorkingPlaneDlg.cxx index f8704e502..536347dd8 100644 --- a/src/GEOMGUI/GeometryGUI_WorkingPlaneDlg.cxx +++ b/src/GEOMGUI/GeometryGUI_WorkingPlaneDlg.cxx @@ -1,12 +1,31 @@ -using namespace std; -// File : GeometryGUI_WorkingPlaneDlg.cxx -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE -// $Headers: +// 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_WorkingPlaneDlg.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM +using namespace std; #include "GeometryGUI_WorkingPlaneDlg.h" #include "GeometryGUI.h" diff --git a/src/GEOMGUI/GeometryGUI_WorkingPlaneDlg.h b/src/GEOMGUI/GeometryGUI_WorkingPlaneDlg.h index 1645beaac..2f54705a8 100644 --- a/src/GEOMGUI/GeometryGUI_WorkingPlaneDlg.h +++ b/src/GEOMGUI/GeometryGUI_WorkingPlaneDlg.h @@ -1,10 +1,29 @@ -// File : GeometryGUI_WorkingPlaneDlg.h -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : OPEN CASCADE -// $Headers: +// 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_WorkingPlaneDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM #ifndef DIALOGBOX_WORKINGPLANE_H #define DIALOGBOX_WORKINGPLANE_H diff --git a/src/GEOMGUI/GeometryGUI_aParameterDlg.cxx b/src/GEOMGUI/GeometryGUI_aParameterDlg.cxx index c41ba8659..ef9f50514 100644 --- a/src/GEOMGUI/GeometryGUI_aParameterDlg.cxx +++ b/src/GEOMGUI/GeometryGUI_aParameterDlg.cxx @@ -1,12 +1,32 @@ -using namespace std; -// File : GeometryGUI_aParameterDlg.cxx -// Created : -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : Open CASCADE +// 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_aParameterDlg.cxx +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ +using namespace std; #include "GeometryGUI_aParameterDlg.h" #include "GeometryGUI.h" #include "QAD_SpinBoxDbl.h" diff --git a/src/GEOMGUI/GeometryGUI_aParameterDlg.h b/src/GEOMGUI/GeometryGUI_aParameterDlg.h index b14ac0b24..6e65998a4 100644 --- a/src/GEOMGUI/GeometryGUI_aParameterDlg.h +++ b/src/GEOMGUI/GeometryGUI_aParameterDlg.h @@ -1,9 +1,29 @@ -// File : GeometryGUI_aParameterDlg.h -// Created : july 5 2001 -// Author : Lucien PIGNOLONI -// Project : SALOME -// Module : GeometryGUI -// Copyright : Open CASCADE +// 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_aParameterDlg.h +// Author : Lucien PIGNOLONI +// Module : GEOM // $Header$ #ifndef GeometryGUI_aParameterDLG_H diff --git a/src/GEOM_SWIG/GEOM_Partition1.py b/src/GEOM_SWIG/GEOM_Partition1.py index 287aed895..4eea3ff99 100755 --- a/src/GEOM_SWIG/GEOM_Partition1.py +++ b/src/GEOM_SWIG/GEOM_Partition1.py @@ -1,3 +1,12 @@ +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# Copyright (C) 2003 CEA/DEN, EDF R&D +# +# +# +# File : GEOM_Partition1.py +# Module : GEOM + #%Make geometry (like CEA script (A1)) using Partition algorithm% # appel: # import alveole_3D_01_GEOM diff --git a/src/GEOM_SWIG/GEOM_Partition2.py b/src/GEOM_SWIG/GEOM_Partition2.py index 5837d4147..db8ce8ec6 100755 --- a/src/GEOM_SWIG/GEOM_Partition2.py +++ b/src/GEOM_SWIG/GEOM_Partition2.py @@ -1,3 +1,12 @@ +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# Copyright (C) 2003 CEA/DEN, EDF R&D +# +# +# +# File : GEOM_Partition2.py +# Module : GEOM + #%Make geometry (like CEA script (A2)) using Partition algorithm% # import callovo_01_GEOM # reload(callovo_01_GEOM) diff --git a/src/GEOM_SWIG/GEOM_Partition3.py b/src/GEOM_SWIG/GEOM_Partition3.py index b3d8e5102..d325f848e 100755 --- a/src/GEOM_SWIG/GEOM_Partition3.py +++ b/src/GEOM_SWIG/GEOM_Partition3.py @@ -1,3 +1,12 @@ +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# Copyright (C) 2003 CEA/DEN, EDF R&D +# +# +# +# File : GEOM_Partition3.py +# Module : GEOM + #%Make geometry (like CEA script (A2)) using Partition algorithm% # import callovo_01_GEOM # reload(callovo_01_GEOM) diff --git a/src/GEOM_SWIG/GEOM_Partition4.py b/src/GEOM_SWIG/GEOM_Partition4.py index 1f19eb6e2..17c7632c9 100755 --- a/src/GEOM_SWIG/GEOM_Partition4.py +++ b/src/GEOM_SWIG/GEOM_Partition4.py @@ -1,3 +1,12 @@ +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# Copyright (C) 2003 CEA/DEN, EDF R&D +# +# +# +# File : GEOM_Partition4.py +# Module : GEOM + #%Make geometry (like CEA script (A3)) using Partition algorithm% # import couplex2_01_GEOM # reload(couplex2_01_GEOM) diff --git a/src/GEOM_SWIG/GEOM_Partition5.py b/src/GEOM_SWIG/GEOM_Partition5.py index 9a47c5c19..cbc1c5c5f 100755 --- a/src/GEOM_SWIG/GEOM_Partition5.py +++ b/src/GEOM_SWIG/GEOM_Partition5.py @@ -1,3 +1,12 @@ +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# Copyright (C) 2003 CEA/DEN, EDF R&D +# +# +# +# File : GEOM_Partition5.py +# Module : GEOM + #%Make geometry (like CEA script (A4)) using Partition algorithm% # import gallery_01_GEOM # reload(gallery_01_GEOM) diff --git a/src/GEOM_SWIG/GEOM_example.py b/src/GEOM_SWIG/GEOM_example.py index 1aaceb6a5..e293a3e57 100644 --- a/src/GEOM_SWIG/GEOM_example.py +++ b/src/GEOM_SWIG/GEOM_example.py @@ -1,11 +1,30 @@ -#============================================================================== -# File : GEOM_example.py -# Created : mer oct 17 16:38:32 CEST 2001 -# Author : Paul RASCLE, EDF -# Project : SALOME -# Copyright : EDF 2001 +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# 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 : GEOM_example.py +# Author : Paul RASCLE, EDF +# Module : GEOM # $Header$ -#============================================================================== import salome import geompy diff --git a/src/GEOM_SWIG/GEOM_example2.py b/src/GEOM_SWIG/GEOM_example2.py index cb016efad..147e6a4c7 100644 --- a/src/GEOM_SWIG/GEOM_example2.py +++ b/src/GEOM_SWIG/GEOM_example2.py @@ -1,11 +1,30 @@ -#============================================================================== -# File : GEOM_example2.py -# Created : sam nov 10 00:53:24 CET 2001 -# Author : Paul RASCLE, EDF -# Project : SALOME -# Copyright : EDF 2001 +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# 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 : GEOM_example2.py +# Author : Paul RASCLE, EDF +# Module : GEOM # $Header$ -#============================================================================== import salome import geompy diff --git a/src/GEOM_SWIG/GEOM_example3.py b/src/GEOM_SWIG/GEOM_example3.py index 9a4d91ea5..e98ecd11d 100644 --- a/src/GEOM_SWIG/GEOM_example3.py +++ b/src/GEOM_SWIG/GEOM_example3.py @@ -1,11 +1,30 @@ -#============================================================================== -# File : GEOM_example3.py -# Created : sam nov 10 00:53:24 CET 2001 -# Author : Paul RASCLE, EDF -# Project : SALOME -# Copyright : EDF 2001 +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# 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 : GEOM_example3.py +# Author : Paul RASCLE, EDF +# Module : GEOM # $Header$ -#============================================================================== import salome import geompy @@ -90,4 +109,4 @@ gg.setDisplayMode(id_acyl,1) gg.setColor(id_torus1,0,0,255) gg.setColor(id_torus2,255,0,0) gg.setColor(id_acyl,0,255,0) -#gg.setColor(id_cage,255,255,0) \ No newline at end of file +#gg.setColor(id_cage,255,255,0) diff --git a/src/GEOM_SWIG/GEOM_example4.py b/src/GEOM_SWIG/GEOM_example4.py index 3ec10fa07..7d50005a5 100755 --- a/src/GEOM_SWIG/GEOM_example4.py +++ b/src/GEOM_SWIG/GEOM_example4.py @@ -1,3 +1,29 @@ +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# 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 : GEOM_example4.py +# Module : GEOM + import SMESH import smeshpy import salome diff --git a/src/GEOM_SWIG/GEOM_moteur.py b/src/GEOM_SWIG/GEOM_moteur.py index 3c879fd83..2e8e30ed4 100644 --- a/src/GEOM_SWIG/GEOM_moteur.py +++ b/src/GEOM_SWIG/GEOM_moteur.py @@ -1,11 +1,30 @@ -#============================================================================== -# File : GEOM_moteur.py -# Created : mon feb 18 11:55:00 CET 2002 -# Author : Damien COQUERET, Open CASCADE -# Project : SALOME -# Copyright : Open CASCADE, 2002 +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# 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 : GEOM_moteur.py +# Author : Damien COQUERET, Open CASCADE +# Module : GEOM # $Header$ -#============================================================================== import salome import geompy diff --git a/src/GEOM_SWIG/GEOM_usinggeom.py b/src/GEOM_SWIG/GEOM_usinggeom.py index 97674648e..976526928 100644 --- a/src/GEOM_SWIG/GEOM_usinggeom.py +++ b/src/GEOM_SWIG/GEOM_usinggeom.py @@ -1,11 +1,30 @@ -#============================================================================== -# File : GEOM_usinggeom.py -# Created : mon apr 22 11:55:00 CET 2002 -# Author : Damien COQUERET, Open CASCADE -# Project : SALOME -# Copyright : Open CASCADE, 2002 +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# 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 : GEOM_usinggeom.py +# Author : Damien COQUERET, Open CASCADE +# Module : GEOM # $Header$ -#============================================================================== import salome import geompy @@ -121,7 +140,7 @@ for Shape in ShapeListSewing : #Create advanced objects Copy = geompy.MakeCopy(Box) #(GEOM_Shape_ptr)->GEOM_Shape_ptr Prism = geompy.MakePrism(Face, p0, pz) #(GEOM_Shape_ptr, PointStruct, PointStruct)->GEOM_Shape_ptr -Revolution = geompy.MakeRevolution(Face, az, angle2) #(GEOM_Shape_ptr, AxisStruct, Double)->GEOM_Shape_ptr +#Revolution = geompy.MakeRevolution(Face, az, angle2) #(GEOM_Shape_ptr, AxisStruct, Double)->GEOM_Shape_ptr Filling = geompy.MakeFilling(Compound, mindeg, maxdeg, tol3d, tol2d, nbiter) #(GEOM_Shape_ptr, Short, Short, Double, Double, Short)->GEOM_Shape_ptr Pipe = geompy.MakePipe(Edge, Wire) #(GEOM_Shape_ptr, GEOM_Shape_ptr)->GEOM_Shape_ptr Sewing = geompy.MakeSewing(IORListSewing, precision) #(ListOfIOR, Double)->GEOM_Shape_ptr @@ -199,7 +218,7 @@ id_Section = geompy.addToStudy(Section, "Section") id_Copy = geompy.addToStudy(Copy, "Copy") id_Prism = geompy.addToStudy(Prism, "Prism") -id_Revolution = geompy.addToStudy(Revolution, "Revolution") +#id_Revolution = geompy.addToStudy(Revolution, "Revolution") id_Filling = geompy.addToStudy(Filling, "Filling") id_Pipe = geompy.addToStudy(Pipe, "Pipe") id_Sewing = geompy.addToStudy(Sewing, "Sewing") diff --git a/src/GEOM_SWIG/Makefile.in b/src/GEOM_SWIG/Makefile.in index 2a374b7dd..02b5bd674 100644 --- a/src/GEOM_SWIG/Makefile.in +++ b/src/GEOM_SWIG/Makefile.in @@ -1,16 +1,35 @@ -# File : Makefile.in -# Created : Tue Mar 26 15:04:48 2002 -# Author : Nicolas REJNERI, Paul RASCLE -# Project : SALOME -# Module : GEOM -# Copyright : Open CASCADE, EDF 2002 +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# 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 : Makefile.in +# Author : Nicolas REJNERI, Paul RASCLE +# Module : GEOM # $Header$ -# source path top_srcdir=@top_srcdir@ -top_builddir=../.. +top_builddir=../../.. srcdir=@srcdir@ -VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl +VPATH=.:@srcdir@:@top_srcdir@/idl @COMMENCE@ diff --git a/src/GEOM_SWIG/batchmode_geompy.py b/src/GEOM_SWIG/batchmode_geompy.py index 374a2b411..8ac4b89c4 100644 --- a/src/GEOM_SWIG/batchmode_geompy.py +++ b/src/GEOM_SWIG/batchmode_geompy.py @@ -1,13 +1,13 @@ -#============================================================================== -# File : geompy.py -# Created : sam nov 10 00:49:10 CET 2001 -# Author : Paul RASCLE, EDF -# Project : SALOME -# Copyright : EDF 2001 +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# Copyright (C) 2003 CEA/DEN, EDF R&D +# +# +# +# File : geompy.py +# Author : Paul RASCLE, EDF +# Module : GEOM # $Header$ -#============================================================================== - -#-------------------------------------------------------------------------- from batchmode_salome import * diff --git a/src/GEOM_SWIG/geompy.py b/src/GEOM_SWIG/geompy.py index 1cc6a4f67..1e74b2938 100644 --- a/src/GEOM_SWIG/geompy.py +++ b/src/GEOM_SWIG/geompy.py @@ -1,11 +1,30 @@ -#============================================================================== -# File : geompy.py -# Created : sam nov 10 00:49:10 CET 2001 -# Author : Paul RASCLE, EDF -# Project : SALOME -# Copyright : EDF 2001 +# GEOM GEOM_SWIG : binding of C++ omplementaion with Python +# +# 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 : geompy.py +# Author : Paul RASCLE, EDF +# Module : GEOM # $Header$ -#============================================================================== import salome import SALOMEDS diff --git a/src/SKETCHER/GEOM_Sketcher.cxx b/src/SKETCHER/GEOM_Sketcher.cxx index 4e2010002..7734c2b8f 100644 --- a/src/SKETCHER/GEOM_Sketcher.cxx +++ b/src/SKETCHER/GEOM_Sketcher.cxx @@ -1,15 +1,32 @@ -using namespace std; -// File : GEOM_Sketcher.cxx -// Created : Wed Jul 5 10:12:09 2000 -// Author : Martine LANGLOIS - -// Modified : Tue Dec 11 21:28:07 2001 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : SALOMEGUI -// Copyright : Open CASCADE +// GEOM SKETCHER : basic sketcher +// +// 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 : GEOM_Sketcher.cxx +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ +using namespace std; #include "GEOM_Sketcher.h" #include "utilities.h" diff --git a/src/SKETCHER/GEOM_Sketcher.h b/src/SKETCHER/GEOM_Sketcher.h index c6c4927e7..89b12c086 100644 --- a/src/SKETCHER/GEOM_Sketcher.h +++ b/src/SKETCHER/GEOM_Sketcher.h @@ -1,12 +1,29 @@ -// File : GEOM_Sketcher.h -// Created : Wed Jul 5 10:12:09 2000 -// Author : Martine LANGLOIS - -// Modified : Tue Dec 11 21:23:41 2001 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : SALOMEGUI -// Copyright : Open CASCADE +// GEOM SKETCHER : basic sketcher +// +// 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 : GEOM_Sketcher.h +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ #include "GEOM_SketcherStatus.h" diff --git a/src/SKETCHER/GEOM_SketcherStatus.h b/src/SKETCHER/GEOM_SketcherStatus.h index 7680391cf..4e3adbc1a 100644 --- a/src/SKETCHER/GEOM_SketcherStatus.h +++ b/src/SKETCHER/GEOM_SketcherStatus.h @@ -1,12 +1,29 @@ -// File : GEOM_SketcherStatus.h -// Created : Wed Jul 5 10:12:09 2000 -// Author : Martine LANGLOIS - -// Modified : Tue Dec 11 21:29:57 2001 -// Author : Nicolas REJNERI -// Project : SALOME -// Module : SALOMEGUI -// Copyright : Open CASCADE +// GEOM SKETCHER : basic sketcher +// +// 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 : GEOM_SketcherStatus.h +// Author : Nicolas REJNERI +// Module : GEOM // $Header$ enum TransitionStatus { diff --git a/src/SKETCHER/Makefile.in b/src/SKETCHER/Makefile.in index ece7d52d9..e631aa7ac 100644 --- a/src/SKETCHER/Makefile.in +++ b/src/SKETCHER/Makefile.in @@ -1,20 +1,40 @@ -# -* Makefile *- +# GEOM SKETCHER : basic sketcher # -# Author : Patrick GOLDBRONN (CEA) -# Date : 29/06/2001 -# $Header$ +# 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 : Makefile.in +# Author : Patrick GOLDBRONN (CEA) +# Module : GEOM +# $Header$ -# source path top_srcdir=@top_srcdir@ -top_builddir=../.. +top_builddir=../../.. srcdir=@srcdir@ -VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl +VPATH=.:@srcdir@:@top_srcdir@/idl + @COMMENCE@ # Libraries targets - LIB = libGEOMSketcher.la LIB_SRC = GEOM_Sketcher.cxx LIB_CLIENT_IDL = SALOME_Component.idl SALOMEDS.idl SALOME_Exception.idl GEOM_Shape.idl GEOM_Gen.idl -- 2.39.2