geom/src/NMTAlgo/NMTAlgo_Splitter1.cdl
2005-12-05 16:23:52 +00:00

93 lines
2.4 KiB
Plaintext

// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License.
//
// This library is distributed in the hope that it will be useful
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// See http://www.salome-platform.org/
//
-- File: NMTAlgo_Splitter1.cdl
-- Created: Wed Feb 11 14:23:25 2004
-- Author: Peter KURNEV
-- <pkv@irinox>
---Copyright: Matra Datavision 2004
class Splitter1 from NMTAlgo
inherits Splitter from NMTAlgo
---Purpose:
uses
ShapeEnum from TopAbs,
Shape from TopoDS,
DataMapOfShapeInteger from TopTools
--raises
is
Create
returns Splitter1 from NMTAlgo;
---C++: alias "Standard_EXPORT virtual ~NMTAlgo_Splitter1();"
Clear (me:out)
is redefined;
AddShape (me:out;
aS : Shape from TopoDS)
is redefined;
AddTool(me:out;
aS : Shape from TopoDS)
is redefined;
SetMaterial (me:out;
aS : Shape from TopoDS;
aM : Integer from Standard=0);
SetRemoveWebs(me:out;
bFlag:Boolean from Standard);
RemoveWebs(me)
returns Boolean from Standard;
GetMaterialTable(me)
returns DataMapOfShapeInteger from TopTools;
---C++: return const &
Build (me:out;
Limit:ShapeEnum from TopAbs=TopAbs_SHAPE)
is redefined;
-- protected block
TreatSolids (me:out)
is protected;
TreatWebs (me:out)
is protected;
RestParts (me:out)
is protected;
fields
myRemoveWebs : Boolean from Standard is protected;
myMapSWM : DataMapOfShapeInteger from TopTools is protected;
myMapSWMOut : DataMapOfShapeInteger from TopTools is protected;
myRestParts : Shape from TopoDS is protected;
end Splitter1;