Salome HOME
NRI : Change lGeometryClient by lGEOMClient.
[modules/smesh.git] / src / SMDS / SMDSEdit_Transform.cdl
1 -- File:        SMDSEdit_Transform.cdl
2 -- Created:     Wed May 15 21:45:47 2002
3 -- Author:      Jean-Michel BOULCOURT
4 --              <jmb@localhost.localdomain>
5 ---Copyright:    Matra Datavision 2002
6
7
8 class Transform from SMDSEdit 
9
10         ---Purpose: tool to modify  a Mesh or MeshElements by applying
11         --          a transformation
12
13 uses
14   Mesh from SMDS,
15   ListOfMeshElement from SMDS,
16   Trsf from gp
17   
18 is
19     Create (aMesh : Mesh from SMDS; aTrsf: Trsf from gp) 
20     returns Transform from SMDSEdit;
21     ---Purpose: create a transform tool on a whole mesh
22
23     Create (aMesh : Mesh from SMDS; aListOfME : ListOfMeshElement from SMDS;
24             aTrsf : Trsf from gp)
25     returns Transform from SMDSEdit;
26     ---Purpose: create  a transform  tool to be  applied on a  list of
27     --          meshelements from the mesh aMesh. MeshElements from the
28     --          list that do not belong to the mesh will not be treated
29
30     Perform (me: in out);
31     ---Purpose: Perform  the current transformation on the  Mesh or on
32     --          the list of meshelements if it is not empty
33     
34     SetTrsf(me: in out; aTrsf: Trsf from gp);
35     ---Purpose: replace the field myTrsf by the one given in argument
36     --          This can be used to apply another transformation on a mesh
37     --          without creating another instance of SMDSEdit_Transform
38
39     GetTrsf(me) returns Trsf from gp;
40     ---Purpose: returns the stored Trsf
41      
42     
43 fields
44     myMesh     : Mesh from SMDS;
45     myTrsf     : Trsf from gp;
46     myListOfME : ListOfMeshElement from SMDS;
47 end Transform;