Version: 9.16.0
GEOM_wrap.hxx
Go to the documentation of this file.
1// Copyright (C) 2007-2026 CEA, EDF, OPEN CASCADE
2//
3// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5//
6// This library is free software; you can redistribute it and/or
7// modify it under the terms of the GNU Lesser General Public
8// License as published by the Free Software Foundation; either
9// version 2.1 of the License, or (at your option) any later version.
10//
11// This library is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14// Lesser General Public License for more details.
15//
16// You should have received a copy of the GNU Lesser General Public
17// License along with this library; if not, write to the Free Software
18// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19//
20// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21//
22// File : GEOM_wrap.hxx
23// Created : Mon Dec 24 14:39:49 2012
24// Author : Edward AGAPOV (eap)
25
26
27#ifndef __GEOM_wrap_HXX__
28#define __GEOM_wrap_HXX__
29
30#include <SALOME_GenericObj_wrap.hxx>
31
32namespace GEOM
33{
34 // Declare a type GEOM::GEOM_Object_wrap to replace GEOM::GEOM_Object_var,
35 // to be used in the case if a new GEOM_Object is received, in which case
36 // obj->UnRegister() must be called to avoid a memory leak.
37 // The GEOM::GEOM_Object_wrap object calls UnRegister() at destruction.
38 // A simple rule: use GEOM::GEOM_Object_wrap if an object is returned by a
39 // GEOM operation (GEOM::GEOM_IBasicOperations etc).
40 //
41 class GEOM_BasicObject;
42 class GEOM_Object;
43 class GEOM_Field;
44 class GEOM_FieldStep;
45 typedef SALOME::GenericObj_wrap< GEOM_BasicObject > GEOM_BaseObject_wrap;
46 typedef SALOME::GenericObj_wrap< GEOM_Object > GEOM_Object_wrap;
47 typedef SALOME::GenericObj_wrap< GEOM_Field > GEOM_Field_wrap;
48 typedef SALOME::GenericObj_wrap< GEOM_FieldStep > GEOM_FieldStep_wrap;
49 //
50 // wrappers of operations
64 typedef SALOME::GenericObj_wrap< GEOM_IBasicOperations > GEOM_IBasicOperations_wrap;
65 typedef SALOME::GenericObj_wrap< GEOM_ITransformOperations> GEOM_ITransformOperations_wrap;
66 typedef SALOME::GenericObj_wrap< GEOM_I3DPrimOperations > GEOM_I3DPrimOperations_wrap;
67 typedef SALOME::GenericObj_wrap< GEOM_IShapesOperations > GEOM_IShapesOperations_wrap;
68 typedef SALOME::GenericObj_wrap< GEOM_IBlocksOperations > GEOM_IBlocksOperations_wrap;
69 typedef SALOME::GenericObj_wrap< GEOM_IBooleanOperations > GEOM_IBooleanOperations_wrap;
70 typedef SALOME::GenericObj_wrap< GEOM_ICurvesOperations > GEOM_ICurvesOperations_wrap;
71 typedef SALOME::GenericObj_wrap< GEOM_ILocalOperations > GEOM_ILocalOperations_wrap;
72 typedef SALOME::GenericObj_wrap< GEOM_IHealingOperations > GEOM_IHealingOperations_wrap;
73 typedef SALOME::GenericObj_wrap< GEOM_IInsertOperations > GEOM_IInsertOperations_wrap;
74 typedef SALOME::GenericObj_wrap< GEOM_IMeasureOperations > GEOM_IMeasureOperations_wrap;
75 typedef SALOME::GenericObj_wrap< GEOM_IGroupOperations > GEOM_IGroupOperations_wrap;
76 typedef SALOME::GenericObj_wrap< GEOM_IFieldOperations > GEOM_IFieldOperations_wrap;
77}
78
79#endif
Definition: GEOM_Field.hxx:135
Definition: GEOM_Field.hxx:40
Interface for 3D primitives creation.
Definition: GEOM_Gen.idl:1535
Interface for basic geometry creation.
Definition: GEOM_Gen.idl:760
Interface for Blocks construction Face from points or edges, Block from faces, Blocks multi-translati...
Definition: GEOM_Gen.idl:2918
Interface for boolean operations (Cut, Fuse, Common)
Definition: GEOM_Gen.idl:3319
Interface for curves creation.
Definition: GEOM_Gen.idl:3658
Interface for field operation.
Definition: GEOM_Gen.idl:5344
Interface for groups creation.
Definition: GEOM_Gen.idl:5207
Interface for shape healing operations.
Definition: GEOM_Gen.idl:4188
Interface for shape insert operations (like copy, import).
Definition: GEOM_Gen.idl:4389
Interface for fillet and chamfer creation.
Definition: GEOM_Gen.idl:4004
Interface for measurement (distance, whatis) and properties calculation (like Centre of Mass,...
Definition: GEOM_Gen.idl:4598
Interface for Shapes creation:
Definition: GEOM_Gen.idl:2045
Interface for shapes transforming.
Definition: GEOM_Gen.idl:1026
Definition: GEOM_PythonDump.cxx:33
SALOME::GenericObj_wrap< GEOM_Object > GEOM_Object_wrap
Definition: GEOM_wrap.hxx:46
SALOME::GenericObj_wrap< GEOM_IShapesOperations > GEOM_IShapesOperations_wrap
Definition: GEOM_wrap.hxx:67
SALOME::GenericObj_wrap< GEOM_ICurvesOperations > GEOM_ICurvesOperations_wrap
Definition: GEOM_wrap.hxx:70
SALOME::GenericObj_wrap< GEOM_ITransformOperations > GEOM_ITransformOperations_wrap
Definition: GEOM_wrap.hxx:65
SALOME::GenericObj_wrap< GEOM_BasicObject > GEOM_BaseObject_wrap
Definition: GEOM_wrap.hxx:45
SALOME::GenericObj_wrap< GEOM_IBasicOperations > GEOM_IBasicOperations_wrap
Definition: GEOM_wrap.hxx:64
SALOME::GenericObj_wrap< GEOM_IMeasureOperations > GEOM_IMeasureOperations_wrap
Definition: GEOM_wrap.hxx:74
SALOME::GenericObj_wrap< GEOM_ILocalOperations > GEOM_ILocalOperations_wrap
Definition: GEOM_wrap.hxx:71
SALOME::GenericObj_wrap< GEOM_IBlocksOperations > GEOM_IBlocksOperations_wrap
Definition: GEOM_wrap.hxx:68
SALOME::GenericObj_wrap< GEOM_IHealingOperations > GEOM_IHealingOperations_wrap
Definition: GEOM_wrap.hxx:72
SALOME::GenericObj_wrap< GEOM_IBooleanOperations > GEOM_IBooleanOperations_wrap
Definition: GEOM_wrap.hxx:69
SALOME::GenericObj_wrap< GEOM_FieldStep > GEOM_FieldStep_wrap
Definition: GEOM_wrap.hxx:48
SALOME::GenericObj_wrap< GEOM_Field > GEOM_Field_wrap
Definition: GEOM_wrap.hxx:47
SALOME::GenericObj_wrap< GEOM_IFieldOperations > GEOM_IFieldOperations_wrap
Definition: GEOM_wrap.hxx:76
SALOME::GenericObj_wrap< GEOM_IGroupOperations > GEOM_IGroupOperations_wrap
Definition: GEOM_wrap.hxx:75
SALOME::GenericObj_wrap< GEOM_I3DPrimOperations > GEOM_I3DPrimOperations_wrap
Definition: GEOM_wrap.hxx:66
SALOME::GenericObj_wrap< GEOM_IInsertOperations > GEOM_IInsertOperations_wrap
Definition: GEOM_wrap.hxx:73