-- Created on: 1998-09-07 -- Created by: Denis PASCAL -- Copyright (c) 1998-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 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. class DrawDriver from DDataStd inherits TShared from MMgt ---Purpose: priority rule to display standard attributes is : -- * 1 Constraint -- * 2 Object -- * 3 Datum (Point,Axis,Plane) -- * 4 Geometry -- * 5 NamedShape uses ColorKind from Draw, Drawable3D from Draw, Label from TDF, Attribute from TDF, Integer from TDataStd, Real from TDataStd, Point from TDataXtd, Axis from TDataXtd, Plane from TDataXtd, Geometry from TDataXtd, Constraint from TDataXtd, NamedShape from TNaming, Shape from TopoDS is ---Purpose: access to the current DrawDriver -- ================================ Set (myclass; DD : DrawDriver from DDataStd); Get (myclass) returns DrawDriver from DDataStd; Create returns DrawDriver from DDataStd; ---Purpose: next method is called by DrawPresentation (may be redefined) -- ============================================================ Drawable (me; L : Label from TDF) returns Drawable3D from Draw is virtual; ---Purpose: reusable methods (may used when redefined ) -- ===================================================== DrawableConstraint (me; C : Constraint from TDataXtd) returns Drawable3D from Draw; DrawableShape (me; L : Label from TDF; color : ColorKind from Draw; current : Boolean from Standard = Standard_True) returns Drawable3D from Draw; DrawableShape (myclass; s : Shape from TopoDS; color : ColorKind from Draw) ---Purpose: May be used for temporary display of a shape returns Drawable3D from Draw; end DrawDriver;