mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +05:00
NRI : Merge from V1_2.
This commit is contained in:
parent
ee43f0fd7a
commit
46fb512313
@ -1,15 +1,32 @@
|
|||||||
using namespace std;
|
// 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
|
// 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
|
// Author : Nicolas REJNERI
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : Open CASCADE 2002
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "Archimede_VolumeSection.hxx"
|
#include "Archimede_VolumeSection.hxx"
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
|
@ -1,12 +1,29 @@
|
|||||||
|
// 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
|
// 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
|
// Author : Nicolas REJNERI
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : Open CASCADE 2002
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef ARCHIMEDE_VOLUMESECTION_HXX
|
#ifndef ARCHIMEDE_VOLUMESECTION_HXX
|
||||||
|
@ -1,15 +1,35 @@
|
|||||||
# -* Makefile *-
|
# 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 : Makefile.in
|
||||||
# Author : Nicolas REJNERI
|
# Author : Nicolas REJNERI
|
||||||
# Date : Fri Feb 22 09:28:13 CET 2002
|
# Module : GEOM
|
||||||
# $Header$
|
# $Header$
|
||||||
#
|
|
||||||
|
|
||||||
# source path
|
|
||||||
top_srcdir=@top_srcdir@
|
top_srcdir=@top_srcdir@
|
||||||
top_builddir=../..
|
top_builddir=../../..
|
||||||
srcdir=@srcdir@
|
srcdir=@srcdir@
|
||||||
VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl
|
VPATH=.:@srcdir@:@top_srcdir@/idl
|
||||||
|
|
||||||
|
|
||||||
@COMMENCE@
|
@COMMENCE@
|
||||||
|
@ -1,11 +1,32 @@
|
|||||||
using namespace std;
|
// 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
|
// File : GEOM_GEN_i.cc file
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GEOM_Gen_i.hh"
|
#include "GEOM_Gen_i.hh"
|
||||||
|
|
||||||
#include "Partition_Spliter.hxx"
|
#include "Partition_Spliter.hxx"
|
||||||
@ -22,6 +43,7 @@ using namespace std;
|
|||||||
|
|
||||||
#include <gp_Circ.hxx>
|
#include <gp_Circ.hxx>
|
||||||
#include <gp_Pln.hxx>
|
#include <gp_Pln.hxx>
|
||||||
|
#include <gp_Elips.hxx>
|
||||||
#include <Geom_Plane.hxx>
|
#include <Geom_Plane.hxx>
|
||||||
#include <Geom_Line.hxx>
|
#include <Geom_Line.hxx>
|
||||||
#include <GeomFill_Line.hxx>
|
#include <GeomFill_Line.hxx>
|
||||||
@ -165,7 +187,8 @@ GEOM_Gen_i::~GEOM_Gen_i() {
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
char* GEOM_Gen_i::IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
|
char* GEOM_Gen_i::IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
|
||||||
const char* IORString,
|
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));
|
GEOM::GEOM_Shape_var aShape = GEOM::GEOM_Shape::_narrow(_orb->string_to_object(IORString));
|
||||||
if (!CORBA::is_nil(aShape)) {
|
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,
|
char* GEOM_Gen_i::LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject,
|
||||||
const char* aLocalPersistentID,
|
const char* aLocalPersistentID,
|
||||||
CORBA::Boolean isMultiFile)
|
CORBA::Boolean isMultiFile,
|
||||||
|
CORBA::Boolean isASCII)
|
||||||
{
|
{
|
||||||
SALOMEDS::Study_var myStudy = theSObject->GetStudy();
|
SALOMEDS::Study_var myStudy = theSObject->GetStudy();
|
||||||
GetCurrentStudy(myStudy->StudyId());
|
GetCurrentStudy(myStudy->StudyId());
|
||||||
@ -221,7 +245,7 @@ char* GEOM_Gen_i::LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject,
|
|||||||
CORBA::String_var ent = strdup(entry.ToCString());
|
CORBA::String_var ent = strdup(entry.ToCString());
|
||||||
|
|
||||||
/* Create the main object recursively */
|
/* Create the main object recursively */
|
||||||
MainIOR = LocalPersistentIDToIOR(theSObject, ent, isMultiFile ) ;
|
MainIOR = LocalPersistentIDToIOR(theSObject, ent, isMultiFile, isASCII) ;
|
||||||
} else {
|
} else {
|
||||||
GC.ReturnNameIOR( mainLabel, MainIOR );
|
GC.ReturnNameIOR( mainLabel, MainIOR );
|
||||||
}
|
}
|
||||||
@ -427,21 +451,38 @@ SALOMEDS::TMPFile* GEOM_Gen_i::Save(SALOMEDS::SComponent_ptr theComponent,
|
|||||||
return aStreamFile._retn();
|
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,
|
CORBA::Boolean GEOM_Gen_i::Load(SALOMEDS::SComponent_ptr theComponent,
|
||||||
const SALOMEDS::TMPFile& theStream,
|
const SALOMEDS::TMPFile& theStream,
|
||||||
const char* theURL,
|
const char* theURL,
|
||||||
bool isMultiFile) {
|
bool isMultiFile) {
|
||||||
|
|
||||||
|
if (theStream.length() <= 9) {
|
||||||
|
MESSAGE("The TMPFile is too short : " << theStream.length() << " bytes ");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Get a temporary directory for a file
|
// Get a temporary directory for a file
|
||||||
TCollection_AsciiString aTmpDir = isMultiFile?TCollection_AsciiString((char*)theURL):SALOMEDS_Tool::GetTmpDir();
|
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
|
// Conver the byte stream theStream to a file and place it in tmp directory
|
||||||
SALOMEDS::ListOfFileNames_var aSeq = SALOMEDS_Tool::PutStreamToFiles(theStream,
|
SALOMEDS::ListOfFileNames_var aSeq = SALOMEDS_Tool::PutStreamToFiles(theStream,
|
||||||
aTmpDir.ToCString(),
|
aTmpDir.ToCString(),
|
||||||
isMultiFile);
|
isMultiFile);
|
||||||
|
|
||||||
// Prepare a file name to open
|
// Prepare a file name to open
|
||||||
TCollection_AsciiString aNameWithExt(aSeq[0]);
|
TCollection_AsciiString aNameWithExt(aSeq[0]);
|
||||||
TCollection_AsciiString aFullName = aTmpDir + aNameWithExt;
|
TCollection_AsciiString aFullName = aTmpDir + aNameWithExt;
|
||||||
|
|
||||||
// Open document
|
// Open document
|
||||||
if (myOCAFApp->Open(aFullName, myCurrentOCAFDoc) != CDF_RS_OK) return false;
|
if (myOCAFApp->Open(aFullName, myCurrentOCAFDoc) != CDF_RS_OK) return false;
|
||||||
|
|
||||||
// Remove the created file and tmp directory
|
// Remove the created file and tmp directory
|
||||||
if (!isMultiFile) SALOMEDS_Tool::RemoveTemporaryFiles(aTmpDir.ToCString(), aSeq.in(), true);
|
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();
|
int StudyID = Study->StudyId();
|
||||||
myStudyIDToDoc.Bind( StudyID, myCurrentOCAFDoc );
|
myStudyIDToDoc.Bind( StudyID, myCurrentOCAFDoc );
|
||||||
myStudyID = StudyID;
|
myStudyID = StudyID;
|
||||||
|
|
||||||
/* We clear all IOR (nameIOR) attributes of all objects before reconstruction */
|
/* We clear all IOR (nameIOR) attributes of all objects before reconstruction */
|
||||||
/* This information will be setted when each object is reconstructed */
|
/* This information will be setted when each object is reconstructed */
|
||||||
GEOMDS_Commands GC( myCurrentOCAFDoc->Main() ) ;
|
GEOMDS_Commands GC( myCurrentOCAFDoc->Main() ) ;
|
||||||
@ -459,6 +501,13 @@ CORBA::Boolean GEOM_Gen_i::Load(SALOMEDS::SComponent_ptr theComponent,
|
|||||||
return true;
|
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()
|
// // function : Save()
|
||||||
// // purpose : save OCAF/Geom document
|
// // purpose : save OCAF/Geom document
|
||||||
@ -2500,8 +2549,6 @@ GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeCylinder(const GEOM::PointStruct& pstruct,
|
|||||||
return result ;
|
return result ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
// function : MakeSphere()
|
// function : MakeSphere()
|
||||||
// purpose : Make a sphere topology
|
// purpose : Make a sphere topology
|
||||||
@ -2530,8 +2577,6 @@ GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeSphere(CORBA::Double x1,
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
// function : MakeTorus()
|
// function : MakeTorus()
|
||||||
// purpose : Create a torus topology
|
// purpose : Create a torus topology
|
||||||
@ -3663,6 +3708,41 @@ GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeCircle(const GEOM::PointStruct& pstruct,
|
|||||||
return result ;
|
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()
|
// function : MakeArc()
|
||||||
// purpose : make an arc of circle from pInit to pEnd and passing on pCircle
|
// 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 */
|
/* Insert arguments in ocaf */
|
||||||
GEOM::GEOM_Gen::ListOfIOR_var ListShapes = new GEOM::GEOM_Gen::ListOfIOR;
|
GEOM::GEOM_Gen::ListOfIOR_var ListShapes = new GEOM::GEOM_Gen::ListOfIOR;
|
||||||
ListShapes->length(2);
|
ListShapes->length(2);
|
||||||
ListShapes[0] = GetStringFromIOR(myShape) ;
|
ListShapes[0] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(myShape)) ;
|
||||||
ListShapes[1] = GetStringFromIOR(shapePlane) ;
|
ListShapes[1] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(shapePlane)) ;
|
||||||
InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc) ;
|
InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc) ;
|
||||||
return result ;
|
return result ;
|
||||||
}
|
}
|
||||||
@ -4318,8 +4398,8 @@ GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakePipe( GEOM::GEOM_Shape_ptr pathShape,
|
|||||||
/* Insert arguments in ocaf */
|
/* Insert arguments in ocaf */
|
||||||
GEOM::GEOM_Gen::ListOfIOR_var ListShapes = new GEOM::GEOM_Gen::ListOfIOR;
|
GEOM::GEOM_Gen::ListOfIOR_var ListShapes = new GEOM::GEOM_Gen::ListOfIOR;
|
||||||
ListShapes->length(2);
|
ListShapes->length(2);
|
||||||
ListShapes[0] = GetStringFromIOR(pathShape) ;
|
ListShapes[0] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(pathShape)) ;
|
||||||
ListShapes[1] = GetStringFromIOR(baseShape) ;
|
ListShapes[1] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(baseShape)) ;
|
||||||
InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc) ;
|
InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc) ;
|
||||||
}
|
}
|
||||||
return result ;
|
return result ;
|
||||||
@ -4849,11 +4929,8 @@ extern "C"
|
|||||||
const char *instanceName,
|
const char *instanceName,
|
||||||
const char * interfaceName)
|
const char * interfaceName)
|
||||||
{
|
{
|
||||||
MESSAGE("mygeom")
|
|
||||||
GEOM_Gen_i * myGEOM_Gen_i = new GEOM_Gen_i(orb, poa, contId, instanceName, interfaceName);
|
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
|
myGEOM_Gen_i->register_name("/myGEOM_Gen"); // NRI : 11/07/2002 : Add for Supervision example
|
||||||
MESSAGE("mygeom")
|
|
||||||
return myGEOM_Gen_i->getId() ;
|
return myGEOM_Gen_i->getId() ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,31 @@
|
|||||||
|
// 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
|
// File : GEOM_GEN_i.h file
|
||||||
// Created : April 2002
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef __GEOM_GEN_I_H__
|
#ifndef __GEOM_GEN_I_H__
|
||||||
#define __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,
|
const char* theURL,
|
||||||
bool isMultiFile);
|
bool isMultiFile);
|
||||||
|
|
||||||
|
SALOMEDS::TMPFile* SaveASCII(SALOMEDS::SComponent_ptr theComponent,
|
||||||
|
const char* theURL,
|
||||||
|
bool isMultiFile);
|
||||||
|
|
||||||
CORBA::Boolean Load(SALOMEDS::SComponent_ptr theComponent,
|
CORBA::Boolean Load(SALOMEDS::SComponent_ptr theComponent,
|
||||||
const SALOMEDS::TMPFile& theStream,
|
const SALOMEDS::TMPFile& theStream,
|
||||||
const char* theURL,
|
const char* theURL,
|
||||||
bool isMultiFile);
|
bool isMultiFile);
|
||||||
|
|
||||||
|
CORBA::Boolean LoadASCII(SALOMEDS::SComponent_ptr theComponent,
|
||||||
|
const SALOMEDS::TMPFile& theStream,
|
||||||
|
const char* theURL,
|
||||||
|
bool isMultiFile);
|
||||||
|
|
||||||
void Close(SALOMEDS::SComponent_ptr theComponent);
|
void Close(SALOMEDS::SComponent_ptr theComponent);
|
||||||
char* ComponentDataType();
|
char* ComponentDataType();
|
||||||
|
|
||||||
|
|
||||||
char* IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
|
char* IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
|
||||||
const char* IORString,
|
const char* IORString,
|
||||||
CORBA::Boolean isMultiFile);
|
CORBA::Boolean isMultiFile,
|
||||||
|
CORBA::Boolean isASCII);
|
||||||
char* LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject,
|
char* LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject,
|
||||||
const char* aLocalPersistentID,
|
const char* aLocalPersistentID,
|
||||||
CORBA::Boolean isMultiFile);
|
CORBA::Boolean isMultiFile,
|
||||||
|
CORBA::Boolean isASCII);
|
||||||
|
|
||||||
bool CanPublishInStudy(CORBA::Object_ptr theIOR);
|
bool CanPublishInStudy(CORBA::Object_ptr theIOR);
|
||||||
SALOMEDS::SObject_ptr PublishInStudy(SALOMEDS::Study_ptr theStudy,
|
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,
|
const GEOM::DirStruct& dstruct,
|
||||||
CORBA::Double radius)
|
CORBA::Double radius)
|
||||||
throw (SALOME::SALOME_Exception) ;
|
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,
|
GEOM::GEOM_Shape_ptr MakeArc (const GEOM::PointStruct& pInit,
|
||||||
const GEOM::PointStruct& pCircle,
|
const GEOM::PointStruct& pCircle,
|
||||||
const GEOM::PointStruct& pEnd)
|
const GEOM::PointStruct& pEnd)
|
||||||
|
@ -1,11 +1,32 @@
|
|||||||
using namespace std;
|
// 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
|
// File : GEOM_Shape_i.cc
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include <BRepTools_ShapeSet.hxx>
|
#include <BRepTools_ShapeSet.hxx>
|
||||||
#include "GEOM_Shape_i.hh"
|
#include "GEOM_Shape_i.hh"
|
||||||
#include "SALOME_NamingService.hxx"
|
#include "SALOME_NamingService.hxx"
|
||||||
|
@ -1,11 +1,31 @@
|
|||||||
|
// 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
|
// File : GEOM_Shape_i.hh
|
||||||
// Created : 29 november 2001
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef __GEOM_SHAPE_I_H__
|
#ifndef __GEOM_SHAPE_I_H__
|
||||||
#define __GEOM_SHAPE_I_H__
|
#define __GEOM_SHAPE_I_H__
|
||||||
|
|
||||||
|
@ -1,15 +1,36 @@
|
|||||||
# -* Makefile *-
|
# 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 : Makefile.in
|
||||||
# Author : Patrick GOLDBRONN (CEA)
|
# Author : Patrick GOLDBRONN (CEA)
|
||||||
# Date : 29/06/2001
|
# Module : GEOM
|
||||||
# $Header$
|
# $Header$
|
||||||
#
|
|
||||||
|
|
||||||
# source path
|
|
||||||
top_srcdir=@top_srcdir@
|
top_srcdir=@top_srcdir@
|
||||||
top_builddir=../..
|
top_builddir=../../..
|
||||||
srcdir=@srcdir@
|
srcdir=@srcdir@
|
||||||
VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl
|
VPATH=.:@srcdir@:@top_srcdir@/idl
|
||||||
|
|
||||||
|
|
||||||
@COMMENCE@
|
@COMMENCE@
|
||||||
|
|
||||||
|
@ -1,11 +1,32 @@
|
|||||||
using namespace std;
|
// 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
|
// File : geom.cxx
|
||||||
// Created : 5 November 2001
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GEOM_Gen_i.hh"
|
#include "GEOM_Gen_i.hh"
|
||||||
#include "SALOME_NamingService.hxx"
|
#include "SALOME_NamingService.hxx"
|
||||||
|
|
||||||
@ -17,6 +38,7 @@ int main(int argc, char** argv)
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
// Create and initialise the ORB.
|
// 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");
|
CORBA::ORB_var orb = CORBA::ORB_init(argc, argv, "omniORB3");
|
||||||
|
|
||||||
// Obtain a reference to the root POA.
|
// Obtain a reference to the root POA.
|
||||||
|
@ -1,12 +1,32 @@
|
|||||||
using namespace std;
|
// 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
|
// File : GEOM_Client.cxx
|
||||||
// Created :
|
|
||||||
// Author : Yves FRICAUD/Lucien PIGNOLONI
|
// Author : Yves FRICAUD/Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : Open CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GEOM_Client.hxx"
|
#include "GEOM_Client.hxx"
|
||||||
#include <SALOMEconfig.h>
|
#include <SALOMEconfig.h>
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
@ -1,9 +1,29 @@
|
|||||||
|
// 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
|
// File : GEOM_Client.hxx
|
||||||
// Created :
|
|
||||||
// Author : Yves FRICAUD
|
// Author : Yves FRICAUD
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : Open CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef _GEOM_Client_HeaderFile
|
#ifndef _GEOM_Client_HeaderFile
|
||||||
|
@ -1,15 +1,35 @@
|
|||||||
# -* Makefile *-
|
# 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 : Makefile.in
|
||||||
# Author : Patrick GOLDBRONN (CEA)
|
# Author : Patrick GOLDBRONN (CEA)
|
||||||
# Date : 29/06/2001
|
# Module : GEOM
|
||||||
# $Header$
|
# $Header$
|
||||||
#
|
|
||||||
|
|
||||||
# source path
|
|
||||||
top_srcdir=@top_srcdir@
|
top_srcdir=@top_srcdir@
|
||||||
top_builddir=../..
|
top_builddir=../../..
|
||||||
srcdir=@srcdir@
|
srcdir=@srcdir@
|
||||||
VPATH=.:$(srcdir):${KERNEL_ROOT_DIR}/idl/salome
|
VPATH=.:@srcdir@:@top_srcdir@/idl
|
||||||
|
|
||||||
|
|
||||||
@COMMENCE@
|
@COMMENCE@
|
||||||
|
@ -1,9 +1,29 @@
|
|||||||
-- File: GEOMDS.cdl
|
-- GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management
|
||||||
-- Created: Fri Mar 16 12:16:40 2001
|
--
|
||||||
-- Author: Yves FRICAUD
|
-- Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
-- <yfr@claquox.paris1.matra-dtv.fr>
|
-- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
---Copyright: Matra Datavision 2001
|
--
|
||||||
|
-- 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
|
package GEOMDS
|
||||||
|
|
||||||
|
@ -1,11 +1,29 @@
|
|||||||
// File : GEOMDS_Application.cdl
|
-- GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management
|
||||||
// Created :
|
--
|
||||||
// Author : Yves FRICAUD
|
-- Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
// Project : SALOME
|
-- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
// Module : GEOM
|
--
|
||||||
// Copyright : OPEN CASCADE
|
-- This library is free software; you can redistribute it and/or
|
||||||
// $Header$
|
-- 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
|
class Application from GEOMDS inherits Application from TDocStd
|
||||||
|
|
||||||
|
@ -1,13 +1,32 @@
|
|||||||
using namespace std;
|
// 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
|
// File : GEOMDS_Application.cxx
|
||||||
// Created :
|
|
||||||
// Author : Yves FRICAUD
|
// Author : Yves FRICAUD
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GEOMDS_Application.ixx"
|
#include "GEOMDS_Application.ixx"
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -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
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// 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 software is furnished in accordance with the terms and conditions
|
// This library is distributed in the hope that it will be useful,
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
// be made available to any other person. No title to an ownership of the
|
// Lesser General Public License for more details.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _GEOMDS_Application_HeaderFile
|
||||||
#define _GEOMDS_Application_HeaderFile
|
#define _GEOMDS_Application_HeaderFile
|
||||||
|
|
||||||
|
@ -1,17 +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
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// This software is furnished in accordance with the terms and conditions
|
// This library is free software; you can redistribute it and/or
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// License as published by the Free Software Foundation; either
|
||||||
// be made available to any other person. No title to an ownership of the
|
// version 2.1 of the License.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// This library is distributed in the hope that it will be useful,
|
||||||
// software must be deleted.
|
// 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"
|
#include "GEOMDS_Application.jxx"
|
||||||
|
|
||||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||||
|
@ -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
|
#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
|
||||||
#include <TColStd_SequenceOfExtendedString.hxx>
|
#include <TColStd_SequenceOfExtendedString.hxx>
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,9 +1,29 @@
|
|||||||
-- File: GEOMDS_Commands.cdl
|
-- GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management
|
||||||
-- Created: Fri Mar 16 12:21:51 2001
|
--
|
||||||
-- Author: Yves FRICAUD
|
-- Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
-- <yfr@claquox.paris1.matra-dtv.fr>
|
-- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
---Copyright: Matra Datavision 2001
|
--
|
||||||
|
-- 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
|
class Commands from GEOMDS
|
||||||
|
|
||||||
|
@ -1,12 +1,32 @@
|
|||||||
using namespace std;
|
// 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
|
// File : GeomDS_Commands.cxx
|
||||||
// Created :
|
|
||||||
// Author : Yves FRICAUD/Lucien PIGNOLONI
|
// Author : Yves FRICAUD/Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
#include "GEOMDS_Commands.ixx"
|
#include "GEOMDS_Commands.ixx"
|
||||||
|
|
||||||
|
@ -1,12 +1,31 @@
|
|||||||
|
// 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
|
// File : GeomDS_Commands.hxx
|
||||||
// Created :
|
|
||||||
// Author : Yves FRICAUD/Lucien PIGNOLONI
|
// Author : Yves FRICAUD/Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef _GEOMDS_Commands_HeaderFile
|
#ifndef _GEOMDS_Commands_HeaderFile
|
||||||
#define _GEOMDS_Commands_HeaderFile
|
#define _GEOMDS_Commands_HeaderFile
|
||||||
|
|
||||||
|
@ -1,17 +1,29 @@
|
|||||||
// File generated by CPPExt (Value)
|
// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management
|
||||||
// Copyright (C) 1991,1995 by
|
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// This software is furnished in accordance with the terms and conditions
|
// This library is free software; you can redistribute it and/or
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// License as published by the Free Software Foundation; either
|
||||||
// be made available to any other person. No title to an ownership of the
|
// version 2.1 of the License.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// This library is distributed in the hope that it will be useful,
|
||||||
// software must be deleted.
|
// 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"
|
#include "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
|
#ifndef _TDF_Label_HeaderFile
|
||||||
#include <TDF_Label.hxx>
|
#include <TDF_Label.hxx>
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,16 +1,28 @@
|
|||||||
// File generated by CPPExt (Value)
|
// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management
|
||||||
// Copyright (C) 1991,1995 by
|
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// This software is furnished in accordance with the terms and conditions
|
// This library is free software; you can redistribute it and/or
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// License as published by the Free Software Foundation; either
|
||||||
// be made available to any other person. No title to an ownership of the
|
// version 2.1 of the License.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// This library is distributed in the hope that it will be useful,
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient_HeaderFile
|
||||||
#define _GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient_HeaderFile
|
#define _GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient_HeaderFile
|
||||||
|
@ -1,18 +1,30 @@
|
|||||||
|
// 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;
|
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.
|
|
||||||
//
|
|
||||||
#include "GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient.hxx"
|
#include "GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient.hxx"
|
||||||
|
|
||||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||||
|
@ -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
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// 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 software is furnished in accordance with the terms and conditions
|
// This library is distributed in the hope that it will be useful,
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
// be made available to any other person. No title to an ownership of the
|
// Lesser General Public License for more details.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile
|
||||||
#define _GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile
|
#define _GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile
|
||||||
|
|
||||||
|
@ -1,18 +1,30 @@
|
|||||||
|
// 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;
|
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.
|
|
||||||
//
|
|
||||||
#include "GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx"
|
#include "GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx"
|
||||||
|
|
||||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||||
|
@ -1,16 +1,28 @@
|
|||||||
// File generated by CPPExt (Value)
|
// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management
|
||||||
// Copyright (C) 1991,1995 by
|
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// This software is furnished in accordance with the terms and conditions
|
// This library is free software; you can redistribute it and/or
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// License as published by the Free Software Foundation; either
|
||||||
// be made available to any other person. No title to an ownership of the
|
// version 2.1 of the License.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// This library is distributed in the hope that it will be useful,
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _GEOMDS_DataMapOfIntegerTransient_HeaderFile
|
||||||
#define _GEOMDS_DataMapOfIntegerTransient_HeaderFile
|
#define _GEOMDS_DataMapOfIntegerTransient_HeaderFile
|
||||||
|
@ -1,18 +1,30 @@
|
|||||||
|
// 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;
|
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.
|
|
||||||
//
|
|
||||||
#include "GEOMDS_DataMapOfIntegerTransient.hxx"
|
#include "GEOMDS_DataMapOfIntegerTransient.hxx"
|
||||||
|
|
||||||
#ifndef _Standard_DomainError_HeaderFile
|
#ifndef _Standard_DomainError_HeaderFile
|
||||||
|
@ -1,10 +1,29 @@
|
|||||||
// File : GEOMDS_Explorer.cdl
|
-- GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management
|
||||||
// Created :
|
--
|
||||||
// Author : Yves FRICAUD
|
-- Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
// Project : SALOME
|
-- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
// Module : GEOM
|
--
|
||||||
// Copyright : OPEN CASCADE
|
-- This library is free software; you can redistribute it and/or
|
||||||
// $Header$
|
-- 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
|
class Explorer from GEOMDS
|
||||||
|
|
||||||
|
@ -1,13 +1,32 @@
|
|||||||
using namespace std;
|
// 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
|
// File : GEOMDS_Explorer.cxx
|
||||||
// Created :
|
|
||||||
// Author : Yves FRICAUD
|
// Author : Yves FRICAUD
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GEOMDS_Explorer.ixx"
|
#include "GEOMDS_Explorer.ixx"
|
||||||
|
|
||||||
#include <TNaming_NamedShape.hxx>
|
#include <TNaming_NamedShape.hxx>
|
||||||
|
@ -1,16 +1,28 @@
|
|||||||
// File generated by CPPExt (Value)
|
// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management
|
||||||
// Copyright (C) 1991,1995 by
|
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// This software is furnished in accordance with the terms and conditions
|
// This library is free software; you can redistribute it and/or
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// License as published by the Free Software Foundation; either
|
||||||
// be made available to any other person. No title to an ownership of the
|
// version 2.1 of the License.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// This library is distributed in the hope that it will be useful,
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _GEOMDS_Explorer_HeaderFile
|
||||||
#define _GEOMDS_Explorer_HeaderFile
|
#define _GEOMDS_Explorer_HeaderFile
|
||||||
|
@ -1,17 +1,29 @@
|
|||||||
// File generated by CPPExt (Value)
|
// GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management
|
||||||
// Copyright (C) 1991,1995 by
|
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// This software is furnished in accordance with the terms and conditions
|
// This library is free software; you can redistribute it and/or
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// License as published by the Free Software Foundation; either
|
||||||
// be made available to any other person. No title to an ownership of the
|
// version 2.1 of the License.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// This library is distributed in the hope that it will be useful,
|
||||||
// software must be deleted.
|
// 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"
|
#include "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
|
#ifndef _TDF_Label_HeaderFile
|
||||||
#include <TDF_Label.hxx>
|
#include <TDF_Label.hxx>
|
||||||
#endif
|
#endif
|
||||||
|
@ -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
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// 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 software is furnished in accordance with the terms and conditions
|
// This library is distributed in the hope that it will be useful,
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
// be made available to any other person. No title to an ownership of the
|
// Lesser General Public License for more details.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _Handle_GEOMDS_Application_HeaderFile
|
||||||
#define _Handle_GEOMDS_Application_HeaderFile
|
#define _Handle_GEOMDS_Application_HeaderFile
|
||||||
|
@ -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
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// 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 software is furnished in accordance with the terms and conditions
|
// This library is distributed in the hope that it will be useful,
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
// be made available to any other person. No title to an ownership of the
|
// Lesser General Public License for more details.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile
|
||||||
#define _Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile
|
#define _Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile
|
||||||
|
@ -1,15 +1,35 @@
|
|||||||
# -* Makefile *-
|
# 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 : Makefile.in
|
||||||
# Author : Patrick GOLDBRONN (CEA)
|
# Author : Patrick GOLDBRONN (CEA)
|
||||||
# Date : 29/06/2001
|
# Module : GEOM
|
||||||
# $Header$
|
# $Header$
|
||||||
#
|
|
||||||
|
|
||||||
# source path
|
|
||||||
top_srcdir=@top_srcdir@
|
top_srcdir=@top_srcdir@
|
||||||
top_builddir=../..
|
top_builddir=../../..
|
||||||
srcdir=@srcdir@
|
srcdir=@srcdir@
|
||||||
VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl
|
VPATH=.:@srcdir@:@top_srcdir@/idl
|
||||||
|
|
||||||
|
|
||||||
@COMMENCE@
|
@COMMENCE@
|
||||||
|
@ -1,12 +1,32 @@
|
|||||||
using namespace std;
|
// 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
|
// File : GEOM_EdgeFilter.cxx
|
||||||
// Created : Fri Dec 07 09:57:24 2001
|
|
||||||
// Author : Nicolas REJNERI
|
// Author : Nicolas REJNERI
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : Open CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GEOM_EdgeFilter.ixx"
|
#include "GEOM_EdgeFilter.ixx"
|
||||||
#include "GEOM_Client.hxx"
|
#include "GEOM_Client.hxx"
|
||||||
|
|
||||||
|
@ -1,18 +1,29 @@
|
|||||||
// File generated by CPPExt (Transient)
|
// GEOM GEOMFiltersSelection : filter selector for the viewer
|
||||||
//
|
//
|
||||||
// Copyright (C) 1991,1995 by
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// 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 software is furnished in accordance with the terms and conditions
|
// This library is distributed in the hope that it will be useful,
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
// be made available to any other person. No title to an ownership of the
|
// Lesser General Public License for more details.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _GEOM_EdgeFilter_HeaderFile
|
||||||
#define _GEOM_EdgeFilter_HeaderFile
|
#define _GEOM_EdgeFilter_HeaderFile
|
||||||
|
|
||||||
|
@ -1,17 +1,29 @@
|
|||||||
// File generated by CPPExt (Transient)
|
// GEOM GEOMFiltersSelection : filter selector for the viewer
|
||||||
// Copyright (C) 1991,1995 by
|
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// This software is furnished in accordance with the terms and conditions
|
// This library is free software; you can redistribute it and/or
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// License as published by the Free Software Foundation; either
|
||||||
// be made available to any other person. No title to an ownership of the
|
// version 2.1 of the License.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// This library is distributed in the hope that it will be useful,
|
||||||
// software must be deleted.
|
// 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"
|
#include "GEOM_EdgeFilter.jxx"
|
||||||
|
|
||||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||||
|
@ -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
|
#ifndef _GEOM_EdgeFilter_HeaderFile
|
||||||
#include "GEOM_EdgeFilter.hxx"
|
#include "GEOM_EdgeFilter.hxx"
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,12 +1,32 @@
|
|||||||
using namespace std;
|
// 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
|
// File : GEOM_FaceFilter.cxx
|
||||||
// Created : Fri Dec 07 09:57:24 2001
|
|
||||||
// Author : Nicolas REJNERI
|
// Author : Nicolas REJNERI
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : Open CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GEOM_FaceFilter.ixx"
|
#include "GEOM_FaceFilter.ixx"
|
||||||
#include "GEOM_Client.hxx"
|
#include "GEOM_Client.hxx"
|
||||||
|
|
||||||
|
@ -1,18 +1,29 @@
|
|||||||
// File generated by CPPExt (Transient)
|
// GEOM GEOMFiltersSelection : filter selector for the viewer
|
||||||
//
|
//
|
||||||
// Copyright (C) 1991,1995 by
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// 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 software is furnished in accordance with the terms and conditions
|
// This library is distributed in the hope that it will be useful,
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
// be made available to any other person. No title to an ownership of the
|
// Lesser General Public License for more details.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _GEOM_FaceFilter_HeaderFile
|
||||||
#define _GEOM_FaceFilter_HeaderFile
|
#define _GEOM_FaceFilter_HeaderFile
|
||||||
|
|
||||||
|
@ -1,17 +1,29 @@
|
|||||||
// File generated by CPPExt (Transient)
|
// GEOM GEOMFiltersSelection : filter selector for the viewer
|
||||||
// Copyright (C) 1991,1995 by
|
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// This software is furnished in accordance with the terms and conditions
|
// This library is free software; you can redistribute it and/or
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// License as published by the Free Software Foundation; either
|
||||||
// be made available to any other person. No title to an ownership of the
|
// version 2.1 of the License.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// This library is distributed in the hope that it will be useful,
|
||||||
// software must be deleted.
|
// 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"
|
#include "GEOM_FaceFilter.jxx"
|
||||||
|
|
||||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||||
|
@ -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
|
#ifndef _GEOM_FaceFilter_HeaderFile
|
||||||
#include "GEOM_FaceFilter.hxx"
|
#include "GEOM_FaceFilter.hxx"
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,12 +1,32 @@
|
|||||||
using namespace std;
|
// 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
|
// File : GEOM_ShapeTypeFilter.cxx
|
||||||
// Created : Fri Dec 07 09:57:24 2001
|
|
||||||
// Author : Nicolas REJNERI
|
// Author : Nicolas REJNERI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : SALOMEGUI
|
|
||||||
// Copyright : Open CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GEOM_ShapeTypeFilter.ixx"
|
#include "GEOM_ShapeTypeFilter.ixx"
|
||||||
#include "GEOM_Client.hxx"
|
#include "GEOM_Client.hxx"
|
||||||
|
|
||||||
|
@ -1,18 +1,29 @@
|
|||||||
// File generated by CPPExt (Transient)
|
// GEOM GEOMFiltersSelection : filter selector for the viewer
|
||||||
//
|
//
|
||||||
// Copyright (C) 1991,1995 by
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// 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 software is furnished in accordance with the terms and conditions
|
// This library is distributed in the hope that it will be useful,
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
// be made available to any other person. No title to an ownership of the
|
// Lesser General Public License for more details.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _GEOM_ShapeTypeFilter_HeaderFile
|
||||||
#define _GEOM_ShapeTypeFilter_HeaderFile
|
#define _GEOM_ShapeTypeFilter_HeaderFile
|
||||||
|
|
||||||
|
@ -1,17 +1,29 @@
|
|||||||
// File generated by CPPExt (Transient)
|
// GEOM GEOMFiltersSelection : filter selector for the viewer
|
||||||
// Copyright (C) 1991,1995 by
|
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// This software is furnished in accordance with the terms and conditions
|
// This library is free software; you can redistribute it and/or
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// License as published by the Free Software Foundation; either
|
||||||
// be made available to any other person. No title to an ownership of the
|
// version 2.1 of the License.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// This library is distributed in the hope that it will be useful,
|
||||||
// software must be deleted.
|
// 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"
|
#include "GEOM_ShapeTypeFilter.jxx"
|
||||||
|
|
||||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||||
|
@ -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
|
#ifndef _GEOM_ShapeTypeFilter_HeaderFile
|
||||||
#include "GEOM_ShapeTypeFilter.hxx"
|
#include "GEOM_ShapeTypeFilter.hxx"
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,17 +1,28 @@
|
|||||||
// File generated by CPPExt (Transient)
|
// GEOM GEOMFiltersSelection : filter selector for the viewer
|
||||||
//
|
//
|
||||||
// Copyright (C) 1991,1995 by
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// 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 software is furnished in accordance with the terms and conditions
|
// This library is distributed in the hope that it will be useful,
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
// be made available to any other person. No title to an ownership of the
|
// Lesser General Public License for more details.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _Handle_GEOM_EdgeFilter_HeaderFile
|
||||||
#define _Handle_GEOM_EdgeFilter_HeaderFile
|
#define _Handle_GEOM_EdgeFilter_HeaderFile
|
||||||
|
@ -1,17 +1,28 @@
|
|||||||
// File generated by CPPExt (Transient)
|
// GEOM GEOMFiltersSelection : filter selector for the viewer
|
||||||
//
|
//
|
||||||
// Copyright (C) 1991,1995 by
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// 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 software is furnished in accordance with the terms and conditions
|
// This library is distributed in the hope that it will be useful,
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
// be made available to any other person. No title to an ownership of the
|
// Lesser General Public License for more details.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _Handle_GEOM_FaceFilter_HeaderFile
|
||||||
#define _Handle_GEOM_FaceFilter_HeaderFile
|
#define _Handle_GEOM_FaceFilter_HeaderFile
|
||||||
|
@ -1,17 +1,28 @@
|
|||||||
// File generated by CPPExt (Transient)
|
// GEOM GEOMFiltersSelection : filter selector for the viewer
|
||||||
//
|
//
|
||||||
// Copyright (C) 1991,1995 by
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
//
|
//
|
||||||
// MATRA DATAVISION, FRANCE
|
// 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 software is furnished in accordance with the terms and conditions
|
// This library is distributed in the hope that it will be useful,
|
||||||
// of the contract and with the inclusion of the above copyright notice.
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
// This software or any other copy thereof may not be provided or otherwise
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
// be made available to any other person. No title to an ownership of the
|
// Lesser General Public License for more details.
|
||||||
// software is hereby transferred.
|
|
||||||
//
|
//
|
||||||
// At the termination of the contract, the software and all copies of this
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
// software must be deleted.
|
// 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
|
#ifndef _Handle_GEOM_ShapeTypeFilter_HeaderFile
|
||||||
#define _Handle_GEOM_ShapeTypeFilter_HeaderFile
|
#define _Handle_GEOM_ShapeTypeFilter_HeaderFile
|
||||||
|
@ -1,15 +1,35 @@
|
|||||||
# -* Makefile *-
|
# 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 : Makefile.in
|
||||||
# Author : Patrick GOLDBRONN (CEA)
|
# Author : Patrick GOLDBRONN (CEA)
|
||||||
# Date : 29/06/2001
|
# Module : GEOM
|
||||||
# $Header$
|
# $Header$
|
||||||
#
|
|
||||||
|
|
||||||
# source path
|
|
||||||
top_srcdir=@top_srcdir@
|
top_srcdir=@top_srcdir@
|
||||||
top_builddir=../..
|
top_builddir=../../..
|
||||||
srcdir=@srcdir@
|
srcdir=@srcdir@
|
||||||
VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl
|
VPATH=.:@srcdir@:@top_srcdir@/idl
|
||||||
|
|
||||||
|
|
||||||
@COMMENCE@
|
@COMMENCE@
|
||||||
|
@ -338,5 +338,8 @@ msgstr "multirotation.png"
|
|||||||
msgid "ICON_DLG_MULTIROTATION_DOUBLE"
|
msgid "ICON_DLG_MULTIROTATION_DOUBLE"
|
||||||
msgstr "multirotationdouble.png"
|
msgstr "multirotationdouble.png"
|
||||||
|
|
||||||
|
#EllipseDlg
|
||||||
|
msgid "ICON_DLG_ELLIPSE_PV"
|
||||||
|
msgstr "ellipsepointvector.png"
|
||||||
|
|
||||||
|
|
||||||
|
@ -551,6 +551,21 @@ msgstr "Box"
|
|||||||
msgid "GEOM_CIRCLE"
|
msgid "GEOM_CIRCLE"
|
||||||
msgstr "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
|
#Compound
|
||||||
msgid "GEOM_COMPOUND"
|
msgid "GEOM_COMPOUND"
|
||||||
msgstr "Compound"
|
msgstr "Compound"
|
||||||
|
@ -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.cxx
|
// File : GeometryGUI.cxx
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI.h"
|
#include "GeometryGUI.h"
|
||||||
|
|
||||||
// SALOME Includes
|
// SALOME Includes
|
||||||
@ -26,15 +46,6 @@ using namespace std;
|
|||||||
#include "OCCViewer_ViewPort3d.h"
|
#include "OCCViewer_ViewPort3d.h"
|
||||||
#include "OCCViewer_Viewer3d.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_NamingService.hxx"
|
||||||
#include "SALOME_ListIteratorOfListIO.hxx"
|
#include "SALOME_ListIteratorOfListIO.hxx"
|
||||||
#include "SALOME_InteractiveObject.hxx"
|
#include "SALOME_InteractiveObject.hxx"
|
||||||
@ -141,6 +152,16 @@ using namespace std;
|
|||||||
#include <qwidget.h>
|
#include <qwidget.h>
|
||||||
#include <qevent.h>
|
#include <qevent.h>
|
||||||
#include <qlineedit.h>
|
#include <qlineedit.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 "GeometryGUI_aParameterDlg.h"
|
#include "GeometryGUI_aParameterDlg.h"
|
||||||
|
|
||||||
#include "GeometryGUI_PointDlg.h" // Method POINT
|
#include "GeometryGUI_PointDlg.h" // Method POINT
|
||||||
@ -158,6 +179,7 @@ using namespace std;
|
|||||||
#include "GeometryGUI_MirrorDlg.h" // Method MIRROR
|
#include "GeometryGUI_MirrorDlg.h" // Method MIRROR
|
||||||
#include "GeometryGUI_SphereDlg.h" // Method SPHERE
|
#include "GeometryGUI_SphereDlg.h" // Method SPHERE
|
||||||
#include "GeometryGUI_CircleDlg.h" // Method CIRCLE
|
#include "GeometryGUI_CircleDlg.h" // Method CIRCLE
|
||||||
|
#include "GeometryGUI_EllipseDlg.h" // Method ELLIPSE
|
||||||
#include "GeometryGUI_RevolDlg.h" // Method REVOL
|
#include "GeometryGUI_RevolDlg.h" // Method REVOL
|
||||||
#include "GeometryGUI_RotationDlg.h" // Method ROTATION
|
#include "GeometryGUI_RotationDlg.h" // Method ROTATION
|
||||||
#include "GeometryGUI_TranslationDlg.h" // Method TRANSLATION
|
#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()
|
// function : MakeWireAndDisplay()
|
||||||
@ -2942,13 +2993,13 @@ bool GeometryGUI::OnGUIEvent(int theCommandID, QAD_Desktop* parent)
|
|||||||
|
|
||||||
AIS_ListIteratorOfListOfInteractive ite(List);
|
AIS_ListIteratorOfListOfInteractive ite(List);
|
||||||
ic->InitCurrent();
|
ic->InitCurrent();
|
||||||
if ( ic-> NbCurrents() )
|
if ( ic->NbCurrents() )
|
||||||
while (ite.More()) {
|
while (ite.More()) {
|
||||||
if (ite.Value()->IsInstance(STANDARD_TYPE(GEOM_AISShape))) {
|
if (ite.Value()->IsInstance(STANDARD_TYPE(GEOM_AISShape))) {
|
||||||
|
|
||||||
Handle(GEOM_AISShape) aSh = Handle(GEOM_AISShape)::DownCast(ite.Value());
|
Handle(GEOM_AISShape) aSh = Handle(GEOM_AISShape)::DownCast(ite.Value());
|
||||||
Handle (AIS_Drawer) CurDrawer;
|
Handle (AIS_Drawer) CurDrawer;
|
||||||
CurDrawer = ic->Current()->Attributes();
|
CurDrawer = aSh->Attributes();
|
||||||
CurDrawer->UIsoAspect()->SetNumber( UIso );
|
CurDrawer->UIsoAspect()->SetNumber( UIso );
|
||||||
CurDrawer->VIsoAspect()->SetNumber( VIso );
|
CurDrawer->VIsoAspect()->SetNumber( VIso );
|
||||||
ic->SetLocalAttributes(aSh, CurDrawer);
|
ic->SetLocalAttributes(aSh, CurDrawer);
|
||||||
@ -3275,6 +3326,14 @@ bool GeometryGUI::OnGUIEvent(int theCommandID, QAD_Desktop* parent)
|
|||||||
break ;
|
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
|
case 3015: // ARC
|
||||||
{
|
{
|
||||||
GeomGUI->EmitSignalDeactivateDialog() ;
|
GeomGUI->EmitSignalDeactivateDialog() ;
|
||||||
|
@ -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.h
|
// File : GeometryGUI.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef GeometryGUI_HeaderFile
|
#ifndef GeometryGUI_HeaderFile
|
||||||
@ -146,6 +166,7 @@ public :
|
|||||||
const Standard_Real dy, const Standard_Real dz, const Standard_Real TrimSize ) ;
|
const Standard_Real dy, const Standard_Real dz, const Standard_Real TrimSize ) ;
|
||||||
void MakeSphereAndDisplay( const gp_Pnt aCenterPoint, const double aRadius) ;
|
void MakeSphereAndDisplay( const gp_Pnt aCenterPoint, const double aRadius) ;
|
||||||
void MakeCircleAndDisplay( const gp_Pnt CenterPoint, const gp_Dir dir, const Standard_Real Radius) ;
|
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 MakeArcAndDisplay( gp_Pnt InitPoint, gp_Pnt CirclePoint, gp_Pnt EndPoint ) ;
|
||||||
void MakeLineAndDisplay( const gp_Pnt InitPoint, const gp_Pnt LastPoint) ;
|
void MakeLineAndDisplay( const gp_Pnt InitPoint, const gp_Pnt LastPoint) ;
|
||||||
void MakeCylinderAndDisplay( const gp_Pnt BasePoint, const gp_Dir aDir,
|
void MakeCylinderAndDisplay( const gp_Pnt BasePoint, const gp_Dir aDir,
|
||||||
|
@ -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_ArcDlg.h
|
// File : GeometryGUI_ArcDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_ARC_H
|
#ifndef DIALOGBOX_ARC_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_ArchimedeDlg.cxx
|
// File : GeometryGUI_ArchimedeDlg.cxx
|
||||||
// Created : Mon Feb 25 11:13:13 CET 2002
|
|
||||||
// Author : Nicolas REJNERI
|
// Author : Nicolas REJNERI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_ArchimedeDlg.h"
|
#include "GeometryGUI_ArchimedeDlg.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_ArchimedeDlg.h
|
// File : GeometryGUI_ArchimedeDlg.h
|
||||||
// Created : Mon Feb 25 11:13:13 CET 2002
|
|
||||||
// Author : Nicolas REJNERI
|
// Author : Nicolas REJNERI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_ARCHIMEDE_H
|
#ifndef DIALOGBOX_ARCHIMEDE_H
|
||||||
|
@ -1,10 +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_BndBoxDlg.h
|
// File : GeometryGUI_BndBoxDlg.h
|
||||||
// Created : Mon Mar 04 13:12:22 2002
|
|
||||||
// Author : Nicolas REJNERI
|
// Author : Nicolas REJNERI
|
||||||
|
// Module : GEOM
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOMGUI
|
|
||||||
// Copyright : Open CASCADE 2002
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_BNDBOX_H
|
#ifndef DIALOGBOX_BNDBOX_H
|
||||||
|
@ -1,12 +1,31 @@
|
|||||||
|
// 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
|
// File : GeometryGUI_BoxDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef DIALOGBOX_BOX_H
|
#ifndef DIALOGBOX_BOX_H
|
||||||
#define DIALOGBOX_BOX_H
|
#define DIALOGBOX_BOX_H
|
||||||
|
|
||||||
|
@ -1,11 +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_CenterMassDlg.h
|
// File : GeometryGUI_CenterMassDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Heade$
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef DIALOGBOX_CMASS_H
|
#ifndef DIALOGBOX_CMASS_H
|
||||||
#define DIALOGBOX_CMASS_H
|
#define DIALOGBOX_CMASS_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_ChamferDlg.h
|
// File : GeometryGUI_ChamferDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Damien COQUERET
|
// Author : Damien COQUERET
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE 2002
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_CHAMFER_H
|
#ifndef DIALOGBOX_CHAMFER_H
|
||||||
|
@ -1,13 +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_CheckShape.cxx
|
// File : GeometryGUI_CheckShape.cxx
|
||||||
// Created : Tue Mar 12 17:23:51 2002
|
|
||||||
// Author : Nicolas REJNERI
|
// Author : Nicolas REJNERI
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : Open CASCADE 2002
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_CheckShape.h"
|
#include "GeometryGUI_CheckShape.h"
|
||||||
|
|
||||||
#include "GeometryGUI.h"
|
#include "GeometryGUI.h"
|
||||||
|
@ -1,12 +1,31 @@
|
|||||||
|
// 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
|
// File : GeometryGUI_CheckShape.h
|
||||||
// Created : Tue Mar 12 17:25:52 2002
|
|
||||||
// Author : Nicolas REJNERI
|
// Author : Nicolas REJNERI
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : Open CASCADE 2002
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef DIALOGBOX_CHECKSHAPE_H
|
#ifndef DIALOGBOX_CHECKSHAPE_H
|
||||||
#define DIALOGBOX_CHECKSHAPE_H
|
#define DIALOGBOX_CHECKSHAPE_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_CircleDlg.h
|
// File : GeometryGUI_CircleDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_CIRCLE_H
|
#ifndef DIALOGBOX_CIRCLE_H
|
||||||
|
@ -1,12 +1,31 @@
|
|||||||
|
// 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
|
// File : GeometryGUI_CommonDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef DIALOGBOX_COMMON_H
|
#ifndef DIALOGBOX_COMMON_H
|
||||||
#define DIALOGBOX_COMMON_H
|
#define DIALOGBOX_COMMON_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_CompoundDlg.h
|
// File : GeometryGUI_CompoundDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_COMPOUND_H
|
#ifndef DIALOGBOX_COMPOUND_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_ConeDlg.h
|
// File : GeometryGUI_ConeDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_CONE_H
|
#ifndef DIALOGBOX_CONE_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_CutDlg.cxx
|
// File : GeometryGUI_CutDlg.cxx
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_CutDlg.h"
|
#include "GeometryGUI_CutDlg.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_CutDlg.h
|
// File : GeometryGUI_CutDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_CUT_H
|
#ifndef DIALOGBOX_CUT_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_CylinderDlg.h
|
// File : GeometryGUI_CylinderDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_CYLINDER_H
|
#ifndef DIALOGBOX_CYLINDER_H
|
||||||
|
@ -1,12 +1,31 @@
|
|||||||
|
// 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
|
// File : GeometryGUI_DistanceDlg.h
|
||||||
// Created : Mon Mar 04 22:34:22 2002
|
|
||||||
// Author : Nicolas REJNERI
|
// Author : Nicolas REJNERI
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : Open CASCADE 2002
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef DIALOGBOX_DISTANCE_H
|
#ifndef DIALOGBOX_DISTANCE_H
|
||||||
#define DIALOGBOX_DISTANCE_H
|
#define DIALOGBOX_DISTANCE_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_EdgeDlg.h
|
// File : GeometryGUI_EdgeDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_EDGE_H
|
#ifndef DIALOGBOX_EDGE_H
|
||||||
|
533
src/GEOMGUI/GeometryGUI_EllipseDlg.cxx
Executable file
533
src/GEOMGUI/GeometryGUI_EllipseDlg.cxx
Executable file
@ -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 <BRepAdaptor_Curve.hxx>
|
||||||
|
|
||||||
|
#include <qbuttongroup.h>
|
||||||
|
#include <qgroupbox.h>
|
||||||
|
#include <qlabel.h>
|
||||||
|
#include <qlineedit.h>
|
||||||
|
#include <qpushbutton.h>
|
||||||
|
#include <qradiobutton.h>
|
||||||
|
#include <qspinbox.h>
|
||||||
|
#include <qlayout.h>
|
||||||
|
#include <qvariant.h>
|
||||||
|
#include <qtooltip.h>
|
||||||
|
#include <qwhatsthis.h>
|
||||||
|
#include <qimage.h>
|
||||||
|
#include <qpixmap.h>
|
||||||
|
|
||||||
|
//=================================================================================
|
||||||
|
// 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 ;
|
||||||
|
}
|
133
src/GEOMGUI/GeometryGUI_EllipseDlg.h
Executable file
133
src/GEOMGUI/GeometryGUI_EllipseDlg.h
Executable file
@ -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 <gp_Pnt.hxx>
|
||||||
|
#include <gp_Dir.hxx>
|
||||||
|
#include <BRepBuilderAPI_MakeEdge.hxx>
|
||||||
|
|
||||||
|
#include <qvariant.h>
|
||||||
|
#include <qdialog.h>
|
||||||
|
|
||||||
|
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
|
@ -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_FaceDlg.h
|
// File : GeometryGUI_FaceDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_FACE_H
|
#ifndef DIALOGBOX_FACE_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_FilletDlg.h
|
// File : GeometryGUI_FilletDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Damien COQUERET
|
// Author : Damien COQUERET
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE 2002
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_FILLET_H
|
#ifndef DIALOGBOX_FILLET_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_FillingDlg.h
|
// File : GeometryGUI_FillingDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_FILLING_H
|
#ifndef DIALOGBOX_FILLING_H
|
||||||
|
@ -1,12 +1,31 @@
|
|||||||
|
// 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
|
// File : GeometryGUI_FillingHoleDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef GEOMETRYGUI_FILLINGHOLE_H
|
#ifndef GEOMETRYGUI_FILLINGHOLE_H
|
||||||
#define GEOMETRYGUI_FILLINGHOLE_H
|
#define GEOMETRYGUI_FILLINGHOLE_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_FuseDlg.cxx
|
// File : GeometryGUI_FuseDlg.cxx
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_FuseDlg.h"
|
#include "GeometryGUI_FuseDlg.h"
|
||||||
|
|
||||||
#include "GeometryGUI.h"
|
#include "GeometryGUI.h"
|
||||||
|
@ -1,12 +1,31 @@
|
|||||||
|
// 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
|
// File : GeometryGUI_FuseDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef DIALOGBOX_FUSE_H
|
#ifndef DIALOGBOX_FUSE_H
|
||||||
#define DIALOGBOX_FUSE_H
|
#define DIALOGBOX_FUSE_H
|
||||||
|
|
||||||
|
@ -1,12 +1,31 @@
|
|||||||
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_InertiaDlg.cxx
|
// File : GeometryGUI_InertiaDlg.cxx
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Headers:
|
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_InertiaDlg.h"
|
#include "GeometryGUI_InertiaDlg.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_InertiaDlg.h
|
// File : GeometryGUI_InertiaDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_INERTIA_H
|
#ifndef DIALOGBOX_INERTIA_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_LineDlg.h
|
// File : GeometryGUI_LineDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_LINE_H
|
#ifndef DIALOGBOX_LINE_H
|
||||||
|
@ -1,13 +1,31 @@
|
|||||||
|
// 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
|
// File : GeometryGUI_MaxToleranceDlg.h
|
||||||
// Created : Mon Mar 04 14:10:03 2002
|
|
||||||
// Author : Nicolas REJNERI
|
// Author : Nicolas REJNERI
|
||||||
|
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : Open CASCADE 2002
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef DIALOGBOX_MAXTOLERANCE_H
|
#ifndef DIALOGBOX_MAXTOLERANCE_H
|
||||||
#define DIALOGBOX_MAXTOLERANCE_H
|
#define DIALOGBOX_MAXTOLERANCE_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_MirrorDlg.h
|
// File : GeometryGUI_MirrorDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_MIRROR_H
|
#ifndef DIALOGBOX_MIRROR_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_MultiRotationDlg.h
|
// File : GeometryGUI_MultiRotationDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Damien COQUERET
|
// Author : Damien COQUERET
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_MULTIROTATION_H
|
#ifndef DIALOGBOX_MULTIROTATION_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_MultiTranslationDlg.h
|
// File : GeometryGUI_MultiTranslationDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Damien COQUERET
|
// Author : Damien COQUERET
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_MULTITRANSLATION_H
|
#ifndef DIALOGBOX_MULTITRANSLATION_H
|
||||||
|
@ -1,13 +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_NbIsosDlg.cxx
|
// File : GeometryGUI_NbIsosDlg.cxx
|
||||||
// Created : Wed Mar 13 12:27:28 2002
|
|
||||||
// Author :
|
// Author :
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header:
|
// $Header:
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_NbIsosDlg.h"
|
#include "GeometryGUI_NbIsosDlg.h"
|
||||||
#include "GeometryGUI.h"
|
#include "GeometryGUI.h"
|
||||||
#include "QAD_Tools.h"
|
#include "QAD_Tools.h"
|
||||||
|
@ -1,12 +1,31 @@
|
|||||||
|
// 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
|
// File : GeometryGUI_NbIsosDlg.h
|
||||||
// Created : Wed Mar 13 12:27:28 2002
|
|
||||||
// Author :
|
// Author :
|
||||||
// Project : SALOME
|
|
||||||
// Module : GEOM
|
// Module : GEOM
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header:
|
// $Header:
|
||||||
|
|
||||||
|
|
||||||
#ifndef GEOMETRYGUI_NBISOSDLG_H
|
#ifndef GEOMETRYGUI_NBISOSDLG_H
|
||||||
#define GEOMETRYGUI_NBISOSDLG_H
|
#define GEOMETRYGUI_NBISOSDLG_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_OrientationDlg.cxx
|
// File : GeometryGUI_OrientationDlg.cxx
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_OrientationDlg.h"
|
#include "GeometryGUI_OrientationDlg.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_OrientationDlg.h
|
// File : GeometryGUI_OrientationDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_ORIENTATION_H
|
#ifndef DIALOGBOX_ORIENTATION_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_PartitionDlg.h
|
// File : GeometryGUI_PartitionDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_PARTITION_H
|
#ifndef DIALOGBOX_PARTITION_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_PipeDlg.h
|
// File : GeometryGUI_PipeDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
#ifndef DIALOGBOX_PIPE_H
|
#ifndef DIALOGBOX_PIPE_H
|
||||||
|
@ -1,12 +1,31 @@
|
|||||||
|
// 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
|
// File : GeometryGUI_PlaneDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef DIALOGBOX_PLANE_H
|
#ifndef DIALOGBOX_PLANE_H
|
||||||
#define DIALOGBOX_PLANE_H
|
#define DIALOGBOX_PLANE_H
|
||||||
|
|
||||||
|
@ -1,13 +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_PointDlg.cxx
|
// File : GeometryGUI_PointDlg.cxx
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_PointDlg.h"
|
#include "GeometryGUI_PointDlg.h"
|
||||||
|
|
||||||
#include "GeometryGUI.h"
|
#include "GeometryGUI.h"
|
||||||
|
@ -1,12 +1,31 @@
|
|||||||
|
// 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
|
// File : GeometryGUI_PointDlg.h
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
|
||||||
#ifndef DIALOGBOX_POINT_H
|
#ifndef DIALOGBOX_POINT_H
|
||||||
#define DIALOGBOX_POINT_H
|
#define DIALOGBOX_POINT_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_PrismDlg.cxx
|
// File : GeometryGUI_PrismDlg.cxx
|
||||||
// Created :
|
|
||||||
// Author : Lucien PIGNOLONI
|
// Author : Lucien PIGNOLONI
|
||||||
// Project : SALOME
|
// Module : GEOM
|
||||||
// Module : GeometryGUI
|
|
||||||
// Copyright : OPEN CASCADE
|
|
||||||
// $Header$
|
// $Header$
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
#include "GeometryGUI_PrismDlg.h"
|
#include "GeometryGUI_PrismDlg.h"
|
||||||
|
|
||||||
#include "GeometryGUI.h"
|
#include "GeometryGUI.h"
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user