Files
OCCT/src/MeshVS/MeshVS_DeformedDataSource.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

103 lines
4.1 KiB
Plaintext

-- Created on: 2003-12-11
-- 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 DeformedDataSource from MeshVS inherits DataSource from MeshVS
---Purpose: The class provides default class which helps to represent node displacements by deformed mesh
-- This class has an internal handle to canonical non-deformed mesh data source and
-- map of displacement vectors. The displacement can be magnified to useful size.
-- All methods is implemented with calling the corresponding methods of non-deformed data source.
uses
Integer from Standard,
Real from Standard,
Boolean from Standard,
Address from Standard,
Vec from gp,
Array1OfReal from TColStd,
Array1OfInteger from TColStd,
PackedMapOfInteger from TColStd,
DataMapOfIntegerVector from MeshVS,
EntityType from MeshVS,
HArray1OfSequenceOfInteger from MeshVS
is
Create ( theNonDeformDS : DataSource from MeshVS;
theMagnify : Real ) returns DeformedDataSource from MeshVS;
---Purpose: Constructor
-- theNonDeformDS is canonical non-deformed data source, by which we are able to calculate
-- deformed mesh geometry
-- theMagnify is coefficient of displacement magnify
GetGeom ( me; ID : Integer;
IsElement : Boolean;
Coords : out Array1OfReal from TColStd;
NbNodes : out Integer;
Type : out EntityType from MeshVS ) returns Boolean is redefined;
GetGeomType ( me; ID : Integer;
IsElement : Boolean;
Type : out EntityType from MeshVS ) returns Boolean is redefined;
Get3DGeom( me; ID : Integer;
NbNodes : out Integer;
Data : out HArray1OfSequenceOfInteger from MeshVS ) returns Boolean is redefined;
GetAddr ( me; ID : Integer;
IsElement : Boolean ) returns Address is redefined;
GetNodesByElement ( me; ID : Integer;
NodeIDs : out Array1OfInteger from TColStd;
NbNodes : out Integer ) returns Boolean is redefined;
GetAllNodes ( me ) returns PackedMapOfInteger from TColStd is redefined;
---C++: return const &
GetAllElements ( me ) returns PackedMapOfInteger from TColStd is redefined;
---C++: return const &
GetVectors ( me ) returns DataMapOfIntegerVector from MeshVS;
---C++: return const &
---Purpose: This method returns map of nodal displacement vectors
SetVectors ( me: mutable; Map : DataMapOfIntegerVector from MeshVS );
---Purpose: This method sets map of nodal displacement vectors (Map).
GetVector ( me; ID : Integer; Vect : out Vec from gp ) returns Boolean;
---Purpose: This method returns vector ( Vect ) assigned to node number ID.
SetVector ( me: mutable; ID : Integer; Vect : Vec from gp );
---Purpose: This method sets vector ( Vect ) assigned to node number ID.
SetNonDeformedDataSource ( me: mutable; theDS : DataSource from MeshVS );
GetNonDeformedDataSource ( me ) returns DataSource from MeshVS;
---Purpose: With this methods you can read and change internal canonical data source
SetMagnify ( me: mutable; theMagnify : Real );
GetMagnify ( me ) returns Real;
---Purpose: With this methods you can read and change magnify coefficient of nodal displacements
fields
myNonDeformedDataSource : DataSource from MeshVS;
myEmptyMap : PackedMapOfInteger from TColStd;
myVectors : DataMapOfIntegerVector from MeshVS;
myMagnify : Real;
end DataSource;