Files
OCCT/src/QANewBRepNaming/QANewBRepNaming_Loader.cdl
bugmaster b311480ed5 0023024: Update headers of OCCT files
Added appropriate copyright and license information in source files
2012-03-21 19:43:04 +04:00

162 lines
7.1 KiB
Plaintext
Executable File

-- Created on: 1999-10-25
-- Created by: Sergey ZARITCHNY <szy@philipox.nnov.matra-dtv.fr>
-- Copyright (c) 1999 Matra Datavision
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
--
-- The content of this file is subject to the Open CASCADE Technology Public
-- License Version 6.5 (the "License"). You may not use the content of this file
-- except in compliance with the License. Please obtain a copy of the License
-- at http://www.opencascade.org and read it completely before using this file.
--
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
--
-- The Original Code and all software distributed under the License is
-- distributed on an "AS IS" basis, without warranty of any kind, and the
-- Initial Developer hereby disclaims all such warranties, including without
-- limitation, any warranties of merchantability, fitness for a particular
-- purpose or non-infringement. Please see the License for the specific terms
-- and conditions governing the rights and limitations under the License.
class Loader from QANewBRepNaming
---Purpose:
uses MakeShape from BRepBuilderAPI,
Shape from TopoDS,
Edge from TopoDS,
ShapeEnum from TopAbs,
Builder from TNaming,
DataMapOfShapeShape from TopTools,
MapOfShape from TopTools,
Label from TDF,
TagSource from TDF
is
LoadGeneratedShapes (myclass;
MakeShape : in out MakeShape from BRepBuilderAPI;
ShapeIn : in Shape from TopoDS;
GeneratedFrom : in ShapeEnum from TopAbs;
Buider : in out Builder from TNaming);
---Purpose : Load in the naming data-structure the shape
-- generated from FACE, EDGE, VERTEX,..., after the
-- MakeShape operation. <ShapeIn> is the initial
-- shape. <GeneratedFrom> defines the kind of
-- shape generation to record in the naming
-- data-structure. The <builder> is used to store the
-- set of evolutions in the data-framework of TDF.
LoadModifiedShapes (myclass;
MakeShape : in out MakeShape from BRepBuilderAPI;
ShapeIn : in Shape from TopoDS;
ModifiedFrom : in ShapeEnum from TopAbs;
Buider : in out Builder from TNaming;
theBool : Boolean from Standard = Standard_False);
---Purpose : Load in the naming data-structure the shape
-- modified from FACE, EDGE, VERTEX,...,
-- after the MakeShape operation.
-- <ShapeIn> is the initial shape.
-- <ModifiedFrom> defines the kind of shape modification
-- to record in the naming data-structure.
-- The <builder> is used to store the set of evolutions
-- in the data-framework of TDF.
LoadDeletedShapes (myclass;
MakeShape : in out MakeShape from BRepBuilderAPI;
ShapeIn : in Shape from TopoDS;
KindOfDeletedShape : in ShapeEnum from TopAbs;
Buider : in out Builder from TNaming);
---Purpose : Load in the naming data-structure the shape
-- deleted after the MakeShape operation.
-- <ShapeIn> is the initial shape.
-- <KindOfDeletedShape> defines the kind of
-- deletion to record in the naming data-structure.
-- The <builder> is used to store the set of evolutions
-- in the data-framework of TDF.
LoadAndOrientGeneratedShapes (myclass;
MakeShape : in out MakeShape from BRepBuilderAPI;
ShapeIn : in Shape from TopoDS;
GeneratedFrom : in ShapeEnum from TopAbs;
Buider : in out Builder from TNaming;
SubShapesOfResult : in DataMapOfShapeShape from TopTools);
---Purpose : The same as LoadGeneratedShapes plus performs orientation of
-- loaded shapes according orientation of SubShapes
LoadAndOrientModifiedShapes (myclass;
MakeShape : in out MakeShape from BRepBuilderAPI;
ShapeIn : in Shape from TopoDS;
ModifiedFrom : in ShapeEnum from TopAbs;
Buider : in out Builder from TNaming;
SubShapesOfResult : in DataMapOfShapeShape from TopTools);
---Purpose : The same as LoadModifiedShapes plus performs orientation of
-- loaded shapes according orientation of SubShapes
ModifyPart (myclass;
PartShape : in Shape from TopoDS;
Primitive : in Shape from TopoDS;
Label : in Label from TDF);
---Category: Tool
---Level: Internal
HasDangleShapes(myclass; ShapeIn : in Shape from TopoDS)
returns Boolean from Standard;
LoadGeneratedDangleShapes(myclass;
ShapeIn : in Shape from TopoDS;
GeneratedFrom : in ShapeEnum from TopAbs;
GenBuider : in out Builder from TNaming);
LoadGeneratedDangleShapes(myclass;
ShapeIn : in Shape from TopoDS;
GeneratedFrom : in ShapeEnum from TopAbs;
OnlyThese : in MapOfShape from TopTools;
GenBuider : in out Builder from TNaming);
LoadModifiedDangleShapes(myclass;
MakeShape : in out MakeShape from BRepBuilderAPI;
ShapeIn : in Shape from TopoDS;
GeneratedFrom : in ShapeEnum from TopAbs;
GenBuider : in out Builder from TNaming);
LoadDeletedDangleShapes(myclass;
MakeShape : in out MakeShape from BRepBuilderAPI;
ShapeIn : in Shape from TopoDS;
ShapeType : in ShapeEnum from TopAbs;
DelBuider : in out Builder from TNaming);
LoadDangleShapes(myclass;
theShape : Shape from TopoDS;
theLabelGenerator : Label from TDF);
LoadDangleShapes(myclass;
theShape : Shape from TopoDS;
ignoredShape : Shape from TopoDS;
theLabelGenerator : Label from TDF);
GetDangleShapes(myclass;
ShapeIn : Shape from TopoDS;
GeneratedFrom : ShapeEnum from TopAbs;
Dangles : out DataMapOfShapeShape from TopTools)
---Purpose: Returns dangle sub shapes Generator - Dangle.
returns Boolean from Standard;
GetDangleShapes(myclass;
ShapeIn : Shape from TopoDS;
GeneratedFrom : ShapeEnum from TopAbs;
Dangles : out MapOfShape from TopTools)
---Purpose: Returns dangle sub shapes.
returns Boolean from Standard;
IsDangle(myclass;
theDangle : Shape from TopoDS;
theShape : Shape from TopoDS)
---Warning!: Don't use this method inside an iteration process!
returns Boolean from Standard;
end Loader;