mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
Deleted TKV2d toolkit and CGM, MFT,FontMFT, PlotMgt, PS packages. Deleted 2d test cases. Deleted WNT_WDriver and Xw_Driver, edited Aspect_Driver. Deleted trailing spaces, removed WNT_FontMapEntry, WNT_FontTable, WNT_HFontTable Deleting tests for 2D viewer
113 lines
4.3 KiB
Plaintext
Executable File
113 lines
4.3 KiB
Plaintext
Executable File
-- Created on: 1997-04-22
|
|
-- Created by: Guest Design
|
|
-- Copyright (c) 1997-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 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;
|