00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _GEOM_I3DPrimOperations_i_HeaderFile
00024 #define _GEOM_I3DPrimOperations_i_HeaderFile
00025
00026 #include "GEOMImpl_Gen.hxx"
00027
00028 #include <SALOMEconfig.h>
00029
00030 #include CORBA_SERVER_HEADER(GEOM_Gen)
00031 #include "GEOM_IOperations_i.hh"
00032 #include "GEOM_Object_i.hh"
00033
00034 #include "GEOMImpl_I3DPrimOperations.hxx"
00035
00036 class GEOM_I_EXPORT GEOM_I3DPrimOperations_i :
00037 public virtual POA_GEOM::GEOM_I3DPrimOperations,
00038 public virtual GEOM_IOperations_i
00039 {
00040 public:
00041 GEOM_I3DPrimOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
00042 ::GEOMImpl_I3DPrimOperations* theImpl);
00043 ~GEOM_I3DPrimOperations_i();
00044
00045 GEOM::GEOM_Object_ptr MakeBoxDXDYDZ (CORBA::Double theDX,
00046 CORBA::Double theDY,
00047 CORBA::Double theDZ);
00048
00049 GEOM::GEOM_Object_ptr MakeBoxTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
00050 GEOM::GEOM_Object_ptr thePnt2);
00051
00052 GEOM::GEOM_Object_ptr MakeFaceHW (CORBA::Double theH,
00053 CORBA::Double theW,
00054 CORBA::Short theOrientation);
00055
00056 GEOM::GEOM_Object_ptr MakeFaceObjHW (GEOM::GEOM_Object_ptr theObj,
00057 CORBA::Double theH,
00058 CORBA::Double theW);
00059
00060 GEOM::GEOM_Object_ptr MakeDiskPntVecR (GEOM::GEOM_Object_ptr theCenter,
00061 GEOM::GEOM_Object_ptr theVector,
00062 double theR);
00063
00064 GEOM::GEOM_Object_ptr MakeDiskThreePnt (GEOM::GEOM_Object_ptr thePnt1,
00065 GEOM::GEOM_Object_ptr thePnt2,
00066 GEOM::GEOM_Object_ptr thePnt3);
00067
00068 GEOM::GEOM_Object_ptr MakeDiskR (CORBA::Double theR,
00069 CORBA::Short theOrientation);
00070
00071 GEOM::GEOM_Object_ptr MakeCylinderRH (CORBA::Double theR,
00072 CORBA::Double theH);
00073
00074 GEOM::GEOM_Object_ptr MakeCylinderPntVecRH (GEOM::GEOM_Object_ptr thePnt,
00075 GEOM::GEOM_Object_ptr theVec,
00076 CORBA::Double theR,
00077 CORBA::Double theH);
00078
00079 GEOM::GEOM_Object_ptr MakeConeR1R2H (CORBA::Double theR1,
00080 CORBA::Double theR2,
00081 CORBA::Double theH);
00082
00083 GEOM::GEOM_Object_ptr MakeConePntVecR1R2H (GEOM::GEOM_Object_ptr thePnt,
00084 GEOM::GEOM_Object_ptr theVec,
00085 CORBA::Double theR1,
00086 CORBA::Double theR2,
00087 CORBA::Double theH);
00088
00089 GEOM::GEOM_Object_ptr MakeSphereR (CORBA::Double theR);
00090
00091 GEOM::GEOM_Object_ptr MakeSpherePntR (GEOM::GEOM_Object_ptr thePnt,
00092 CORBA::Double theR);
00093
00094 GEOM::GEOM_Object_ptr MakeTorusRR (CORBA::Double theRMajor,
00095 CORBA::Double theRMinor);
00096
00097 GEOM::GEOM_Object_ptr MakeTorusPntVecRR (GEOM::GEOM_Object_ptr theCenter,
00098 GEOM::GEOM_Object_ptr theVector,
00099 CORBA::Double theRMajor,
00100 CORBA::Double theRMinor);
00101
00102 GEOM::GEOM_Object_ptr MakePrismVecH (GEOM::GEOM_Object_ptr theBase,
00103 GEOM::GEOM_Object_ptr theVec,
00104 CORBA::Double theH);
00105
00106 GEOM::GEOM_Object_ptr MakePrismVecH2Ways (GEOM::GEOM_Object_ptr theBase,
00107 GEOM::GEOM_Object_ptr theVec,
00108 CORBA::Double theH);
00109
00110 GEOM::GEOM_Object_ptr MakePrismVecHWithScaling (GEOM::GEOM_Object_ptr theBase,
00111 GEOM::GEOM_Object_ptr theVec,
00112 CORBA::Double theH,
00113 CORBA::Double theScaleFactor);
00114
00115 GEOM::GEOM_Object_ptr MakePrismTwoPnt (GEOM::GEOM_Object_ptr theBase,
00116 GEOM::GEOM_Object_ptr thePoint1,
00117 GEOM::GEOM_Object_ptr thePoint2);
00118
00119 GEOM::GEOM_Object_ptr MakePrismTwoPnt2Ways (GEOM::GEOM_Object_ptr theBase,
00120 GEOM::GEOM_Object_ptr thePoint1,
00121 GEOM::GEOM_Object_ptr thePoint2);
00122
00123 GEOM::GEOM_Object_ptr MakePrismTwoPntWithScaling (GEOM::GEOM_Object_ptr theBase,
00124 GEOM::GEOM_Object_ptr thePoint1,
00125 GEOM::GEOM_Object_ptr thePoint2,
00126 CORBA::Double theScaleFactor);
00127
00128 GEOM::GEOM_Object_ptr MakePrismDXDYDZ (GEOM::GEOM_Object_ptr theBase,
00129 CORBA::Double theDX,
00130 CORBA::Double theDY,
00131 CORBA::Double theDZ);
00132 GEOM::GEOM_Object_ptr MakePrismDXDYDZ2Ways (GEOM::GEOM_Object_ptr theBase,
00133 CORBA::Double theDX,
00134 CORBA::Double theDY,
00135 CORBA::Double theDZ);
00136 GEOM::GEOM_Object_ptr MakePrismDXDYDZWithScaling (GEOM::GEOM_Object_ptr theBase,
00137 CORBA::Double theDX,
00138 CORBA::Double theDY,
00139 CORBA::Double theDZ,
00140 CORBA::Double theScaleFactor);
00141
00142 GEOM::GEOM_Object_ptr MakePipe (GEOM::GEOM_Object_ptr theBase,
00143 GEOM::GEOM_Object_ptr thePath);
00144
00145 GEOM::GEOM_Object_ptr MakeRevolutionAxisAngle (GEOM::GEOM_Object_ptr theBase,
00146 GEOM::GEOM_Object_ptr theAxis,
00147 CORBA::Double theAngle);
00148
00149 GEOM::GEOM_Object_ptr MakeRevolutionAxisAngle2Ways (GEOM::GEOM_Object_ptr theBase,
00150 GEOM::GEOM_Object_ptr theAxis,
00151 CORBA::Double theAngle);
00152
00153 GEOM::GEOM_Object_ptr MakeFilling(GEOM::GEOM_Object_ptr theShape,
00154 CORBA::Long theMinDeg, CORBA::Long theMaxDeg,
00155 CORBA::Double theTol2D, CORBA::Double theTol3D,
00156 CORBA::Long theNbIter,
00157 GEOM::filling_oper_method theMethod,
00158 CORBA::Boolean theApprox);
00159
00160 GEOM::GEOM_Object_ptr MakeThruSections(const GEOM::ListOfGO& theSeqSections,
00161 CORBA::Boolean theModeSolid,
00162 CORBA::Double thePreci,
00163 CORBA::Boolean theRuled);
00164
00165 GEOM::GEOM_Object_ptr MakePipeWithDifferentSections(const GEOM::ListOfGO& theBases,
00166 const GEOM::ListOfGO& theLocations,
00167 GEOM::GEOM_Object_ptr thePath,
00168 CORBA::Boolean theWithContact,
00169 CORBA::Boolean theWithCorrections);
00170
00171 GEOM::GEOM_Object_ptr MakePipeWithShellSections(const GEOM::ListOfGO& theBases,
00172 const GEOM::ListOfGO& theSubBases,
00173 const GEOM::ListOfGO& theLocations,
00174 GEOM::GEOM_Object_ptr thePath,
00175 CORBA::Boolean theWithContact,
00176 CORBA::Boolean theWithCorrections);
00177
00178 GEOM::GEOM_Object_ptr MakePipeShellsWithoutPath(const GEOM::ListOfGO& theBases,
00179 const GEOM::ListOfGO& theLocations);
00180
00181 GEOM::GEOM_Object_ptr MakePipeBiNormalAlongVector (GEOM::GEOM_Object_ptr theBase,
00182 GEOM::GEOM_Object_ptr thePath,
00183 GEOM::GEOM_Object_ptr theVec);
00184
00185 ::GEOMImpl_I3DPrimOperations* GetOperations()
00186 { return (::GEOMImpl_I3DPrimOperations*)GetImpl(); }
00187 };
00188
00189 #endif