-- Created on: 1997-04-22 -- Created by: Guest Design -- Copyright (c) 1997-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 MultipleConnectedShape from AIS inherits MultipleConnectedInteractive from AIS ---Purpose: Constructs an Interactive Object connected to a list of -- Interactive Objects having a Shape. These include -- AIS_Shape, and AIS_ConnectedShape. -- Presentation of Hidden parts is calculated automatically. -- You define the Interactive Object by gathering -- together several other object presentations as in -- AIS_MultipleConnectedInteractive. uses PresentationManager3d from PrsMgr, Shape from TopoDS, Projector from Prs3d, Presentation from Prs3d, Selection from SelectMgr, Integer from Standard, Transformation from Geom, KindOfInteractive from AIS raises NotImplemented from Standard is Create (aShape : Shape from TopoDS) returns mutable MultipleConnectedShape from AIS; ---Purpose: Initializes the shape aShape, a multiple connected -- Interactive Object grouping different -- projector-dependent representations of an entity. Type(me) returns KindOfInteractive from AIS is redefined virtual; Signature(me) returns Integer from Standard is redefined virtual; AcceptShapeDecomposition(me) returns Boolean from Standard is redefined virtual; ---Purpose: Returns true is shape decomposition is accepted. Set(me:mutable;ashap : Shape from TopoDS) is static; ---Purpose: Constructs the reference shape ashap. ---C++: inline Shape(me) returns Shape from TopoDS ; ---Purpose: Returns the shape which is constructed in Set. ---C++: inline ---C++: return const& Compute(me:mutable; aProjector : Projector from Prs3d; aPresentation: mutable Presentation from Prs3d) is redefined virtual protected; Compute(me:mutable; aProjector : Projector from Prs3d; aTrsf : Transformation from Geom; aPresentation: mutable Presentation from Prs3d) is redefined virtual protected; ComputeSelection(me:mutable; aSelection :mutable Selection from SelectMgr; aMode : Integer from Standard) is redefined virtual protected; Compute(me:mutable; aProjector : Projector from Prs3d; aPresentation: mutable Presentation from Prs3d; aShape : Shape from TopoDS) is private; Compute(me:mutable; aPresentationManager : PresentationManager3d from PrsMgr; aPresentation : mutable Presentation from Prs3d; aMode : Integer from Standard = 0) ---Level: Internal ---Purpose: this method is redefined virtual; -- when the instance is connected to another -- InteractiveObject,this method doesn't -- compute anything, but just uses the -- presentation of this last object, with -- a transformation if there's one stored. is redefined virtual private; fields myShape : Shape from TopoDS; -- celle qui sert au compute Hidden lines et selection end MultipleConnectedShape;