Files
OCCT/src/MeshVS/MeshVS_MeshEntityOwner.cdl
abv 6e33d3ced2 0024830: Remove redundant keyword 'mutable' in CDL declarations
Redundant keyword 'mutable' removed in CDL files.
In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed.
Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
2014-05-29 14:58:25 +04:00

89 lines
3.1 KiB
Plaintext

-- Created on: 2003-10-10
-- Created by: Alexander SOLOVYOV
-- Copyright (c) 2003-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.
class MeshEntityOwner from MeshVS inherits EntityOwner from SelectMgr
---Purpose: The custom owner. This class provides methods to store owner information:
-- 1) An address of element or node data structure
-- 2) Type of node or element owner assigned
-- 3) ID of node or element owner assigned
uses
SOPtr from SelectMgr,
Integer from Standard,
Address from Standard,
Array1OfReal from TColStd,
EntityType from MeshVS,
PresentationManager3d from PrsMgr,
PresentationManager from PrsMgr,
NameOfColor from Quantity
is
Create ( SelObj : SOPtr from SelectMgr;
ID : Integer;
MeshEntity : Address;
Type : EntityType from MeshVS;
Priority : Integer = 0;
IsGroup : Boolean = Standard_False ) returns MeshEntityOwner from MeshVS;
Owner ( me ) returns Address;
---Purpose: Returns an address of element or node data structure
Type ( me ) returns EntityType;
---Purpose: Returns type of element or node data structure
ID ( me ) returns Integer;
---Purpose: Returns ID of element or node data structure
IsGroup ( me ) returns Boolean;
---Purpose: Returns true if owner represents group of nodes or elements
IsHilighted ( me; PM : PresentationManager from PrsMgr;
Mode : Integer = 0 ) returns Boolean is redefined;
---Purpose: Returns true if owner is hilighted
Hilight ( me : mutable ) is redefined;
---Purpose: Hilights owner
Hilight ( me : mutable; PM : PresentationManager from PrsMgr;
Mode : Integer = 0 ) is redefined;
---Purpose: Hilights owner
HilightWithColor ( me : mutable; PM : PresentationManager3d from PrsMgr;
theColor : NameOfColor from Quantity;
Mode : Integer = 0 ) is redefined;
---Purpose: Hilights owner with the certain color
Unhilight ( me : mutable; PM : PresentationManager from PrsMgr;
Mode : Integer = 0 ) is redefined;
---Purpose: Strip hilight of owner
Clear ( me : mutable; PM : PresentationManager from PrsMgr;
Mode : Integer = 0 ) is redefined;
fields
myAddr : Address;
myType : EntityType from MeshVS;
myID : Integer;
myIsGroup : Boolean;
end MeshEntityOwner;