Version: 8.3.0
StdMeshers_Projection_1D_2D_3D_i.hxx
Go to the documentation of this file.
1 // Copyright (C) 2007-2016 CEA/DEN, EDF R&D, 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 : StdMeshers_Projection_1D_2D_3D_i.hxx
23 // Module : SMESH
24 //
25 #ifndef _SMESH_Projection_1D2D3D_I_HXX_
26 #define _SMESH_Projection_1D2D3D_I_HXX_
27 
28 #include <SALOMEconfig.h>
29 #include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
30 
31 #include "SMESH_1D_Algo_i.hxx"
32 #include "SMESH_2D_Algo_i.hxx"
33 #include "SMESH_3D_Algo_i.hxx"
38 
39 class SMESH_Gen;
40 class TopoDS_Shape;
41 
42 // ======================================================
43 // Projection 3D algorithm
44 // ======================================================
45 
47  public virtual POA_StdMeshers::StdMeshers_Projection_3D,
48  public virtual SMESH_3D_Algo_i
49 {
50 public:
51  // Constructor
52  StdMeshers_Projection_3D_i( PortableServer::POA_ptr thePOA,
53  int theStudyId,
54  ::SMESH_Gen* theGenImpl );
55 
56  // Destructor
58 
59  // Get implementation
61 
62  // Return true if the algorithm is applicable to a shape
63  static CORBA::Boolean IsApplicable(const TopoDS_Shape &S, CORBA::Boolean toCheckAll);
64 };
65 
66 // ======================================================
67 // Projection 2D algorithm
68 // ======================================================
69 
71  public virtual POA_StdMeshers::StdMeshers_Projection_2D,
72  public virtual SMESH_2D_Algo_i
73 {
74 public:
75  // Constructor
76  StdMeshers_Projection_2D_i( PortableServer::POA_ptr thePOA,
77  int theStudyId,
78  ::SMESH_Gen* theGenImpl );
79 
80  // Destructor
82 
83  // Get implementation
85 };
86 
87 // ======================================================
88 // Projection 1D-2D algorithm
89 // ======================================================
90 
92  public virtual POA_StdMeshers::StdMeshers_Projection_1D2D,
93  public virtual SMESH_2D_Algo_i
94 {
95 public:
96  // Constructor
97  StdMeshers_Projection_1D2D_i( PortableServer::POA_ptr thePOA,
98  int theStudyId,
99  ::SMESH_Gen* theGenImpl );
100 
101  // Destructor
103 
104  // Get implementation
106 };
107 
108 // ======================================================
109 // Projection 1D algorithm
110 // ======================================================
111 
113  public virtual POA_StdMeshers::StdMeshers_Projection_1D,
114  public virtual SMESH_1D_Algo_i
115 {
116 public:
117  // Constructor
118  StdMeshers_Projection_1D_i( PortableServer::POA_ptr thePOA,
119  int theStudyId,
120  ::SMESH_Gen* theGenImpl );
121 
122  // Destructor
123  virtual ~StdMeshers_Projection_1D_i();
124 
125  // Get implementation
127 };
128 
129 
130 #endif