Files
OCCT/src/DBRep/DBRep.cdl
ski ff8178ef85 0024784: Move documentation in CDL files to proper location
Mostly duplicated comments were removed and missing ones were moved
into dedicated class CDL files.
Some more duplicated comments were removed from CDL files.
Correction of merge
2014-05-29 16:06:49 +04:00

116 lines
3.2 KiB
Plaintext

-- Created on: 1991-06-25
-- Created by: Christophe MARION
-- Copyright (c) 1991-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
package DBRep
---Purpose: Used to display BRep objects using the DrawTrSurf
-- package.
-- The DrawableShape is a Display object build from a
-- Shape.
-- Provides methods to manage a directory of named shapes.
-- Provides a set of Draw commands for Shapes.
uses
MMgt,
TCollection,
TColStd,
gp,
TColgp,
Draw,
TopAbs,
TopoDS,
TopTools,
GeomAbs,
Geom2dHatch,
HLRBRep,
Poly
is
class Edge;
class ListOfEdge instantiates
List from TCollection(Edge from DBRep);
class Face;
class ListOfFace instantiates
List from TCollection(Face from DBRep);
class HideData;
class ListOfHideData instantiates
List from TCollection(HideData from DBRep);
class DrawableShape;
class IsoBuilder;
---Purpose: Creation of isoparametric curves.
-- class ProgressIndicator;
---Purpose : Implements ProgressIndicator for DRAW
--
-- Methods to manage variables
--
Set(Name : CString; S : Shape from TopoDS);
---Purpose: Sets <S> in the variable <Name>. Overwrite the
-- variable if already set.
Get(Name : in out CString;
Typ : ShapeEnum from TopAbs = TopAbs_SHAPE;
Complain : Boolean = Standard_False)
returns Shape from TopoDS;
---Purpose: Returns the shape in the variable <Name>. Returns
-- a null shape if the variable is not set or not of
-- the given <Typ>. If <Complain> is True a message
-- is printed on cout if the variable is not set.
BasicCommands(theCommands : in out Interpretor from Draw);
---Purpose: Defines the basic commands.
HLRMode returns Boolean from Standard;
---Purpose: True if HLR, False if wireframe.
Rg1Mode returns Boolean from Standard;
---Purpose: True if display Rg1Lines.
RgNMode returns Boolean from Standard;
---Purpose: True if display RgNLines.
HidMode returns Boolean from Standard;
---Purpose: True if display HiddenLines.
HLRAngle returns Real from Standard;
---Purpose: discretisation angle for edges.
NbIsos returns Integer from Standard;
---Purpose: number of iso in U and V
Discretisation returns Integer from Standard;
---Purpose: discretisation number of points for curves
--SetProgressBar(thePI: ProgressIndicator from Message);
---Purpose: set progress indicator
--GetProgressBar returns ProgressIndicator from Message;
---Purpose: get progress indicator
end DBRep;