mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
NRI : Merge from V1_2.
This commit is contained in:
parent
b7f1da9ebf
commit
ee43f0fd7a
@ -1,12 +1,32 @@
|
|||||||
using namespace std;
|
// 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.cxx
|
// File : GeometryGUI_FilletDlg.cxx
|
||||||
// Created :
|
|
||||||
// Author : Damien COQUERET
|
// Author : Damien COQUERET
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE 2002
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_FilletDlg.h"
|
#include "GeometryGUI_FilletDlg.h"
|
||||||
|
|
||||||
#include "GeometryGUI.h"
|
#include "GeometryGUI.h"
|
||||||
|
@ -1,12 +1,32 @@
|
|||||||
using namespace std;
|
// 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.cxx
|
// File : GeometryGUI_PartitionDlg.cxx
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_PartitionDlg.h"
|
#include "GeometryGUI_PartitionDlg.h"
|
||||||
|
|
||||||
#include "GeometryGUI.h"
|
#include "GeometryGUI.h"
|
||||||
@ -212,8 +232,8 @@ void GeometryGUI_PartitionDlg::Init( SALOME_Selection* Sel )
|
|||||||
myGeomGUI->SetActiveDialogBox( (QDialog*)this ) ;
|
myGeomGUI->SetActiveDialogBox( (QDialog*)this ) ;
|
||||||
|
|
||||||
/* type for sub shape selection */
|
/* type for sub shape selection */
|
||||||
ComboBox1->insertItem( tr( "RECONSTRUCTION_LIMIT_SHAPE" ) );
|
// ComboBox1->insertItem( tr( "RECONSTRUCTION_LIMIT_SHAPE" ) );
|
||||||
// ComboBox1->insertItem( tr( "RECONSTRUCTION_LIMIT_SOLID" ) );
|
ComboBox1->insertItem( tr( "RECONSTRUCTION_LIMIT_SOLID" ) );
|
||||||
ComboBox1->insertItem( tr( "RECONSTRUCTION_LIMIT_SHELL" ) );
|
ComboBox1->insertItem( tr( "RECONSTRUCTION_LIMIT_SHELL" ) );
|
||||||
ComboBox1->insertItem( tr( "RECONSTRUCTION_LIMIT_FACE" ) );
|
ComboBox1->insertItem( tr( "RECONSTRUCTION_LIMIT_FACE" ) );
|
||||||
ComboBox1->insertItem( tr( "RECONSTRUCTION_LIMIT_WIRE" ) );
|
ComboBox1->insertItem( tr( "RECONSTRUCTION_LIMIT_WIRE" ) );
|
||||||
@ -284,13 +304,13 @@ void GeometryGUI_PartitionDlg::ClickOnApply()
|
|||||||
{
|
{
|
||||||
GEOM::shape_type limit;
|
GEOM::shape_type limit;
|
||||||
switch (myLimit) {
|
switch (myLimit) {
|
||||||
|
// case 0: limit = GEOM::SOLID ; break;
|
||||||
case 0: limit = GEOM::SHAPE ; break;
|
case 0: limit = GEOM::SHAPE ; break;
|
||||||
case 1: limit = GEOM::SOLID ; break;
|
case 1: limit = GEOM::SHELL ; break;
|
||||||
case 2: limit = GEOM::SHELL ; break;
|
case 2: limit = GEOM::FACE ; break;
|
||||||
case 3: limit = GEOM::FACE ; break;
|
case 3: limit = GEOM::WIRE ; break;
|
||||||
case 4: limit = GEOM::WIRE ; break;
|
case 4: limit = GEOM::EDGE ; break;
|
||||||
case 5: limit = GEOM::EDGE ; break;
|
case 5: limit = GEOM::VERTEX; break;
|
||||||
case 6: limit = GEOM::VERTEX; break;
|
|
||||||
default:limit = GEOM::SHAPE;
|
default:limit = GEOM::SHAPE;
|
||||||
}
|
}
|
||||||
myGeomGUI->MakePartitionAndDisplay (myListShapes,
|
myGeomGUI->MakePartitionAndDisplay (myListShapes,
|
||||||
|
@ -1,12 +1,32 @@
|
|||||||
using namespace std;
|
// 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.cxx
|
// File : GeometryGUI_RevolDlg.cxx
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_RevolDlg.h"
|
#include "GeometryGUI_RevolDlg.h"
|
||||||
|
|
||||||
#include <BRepAdaptor_Curve.hxx>
|
#include <BRepAdaptor_Curve.hxx>
|
||||||
|
@ -1,12 +1,32 @@
|
|||||||
using namespace std;
|
// 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.cxx
|
// File : GeometryGUI_ScaleDlg.cxx
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_ScaleDlg.h"
|
#include "GeometryGUI_ScaleDlg.h"
|
||||||
|
|
||||||
#include "GeometryGUI.h"
|
#include "GeometryGUI.h"
|
||||||
|
@ -1,9 +1,29 @@
|
|||||||
|
// GEOM GEOMGUI : GUI for Geometry component
|
||||||
|
//
|
||||||
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
|
//
|
||||||
|
// This library is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
|
// License as published by the Free Software Foundation; either
|
||||||
|
// version 2.1 of the License.
|
||||||
|
//
|
||||||
|
// This library is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// Lesser General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
|
// License along with this library; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
//
|
||||||
|
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
// File : GeometryGUI_Swig.i
|
// File : GeometryGUI_Swig.i
|
||||||
// Created : Tue Mar 26 15:08:38 2002
|
|
||||||
// Author : Nicolas REJNERI, Paul RASCLE
|
// Author : Nicolas REJNERI, Paul RASCLE
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : Open CASCADE, EDF 2002
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
%{
|
%{
|
||||||
|
Loading…
Reference in New Issue
Block a user