Version: 6.3.1

src/GEOMImpl/GEOMImpl_Types.hxx

Go to the documentation of this file.
00001 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 //GEOM_Object types
00024 
00025 #define GEOM_COPY    0
00026 #define GEOM_IMPORT  1
00027 
00028 #define GEOM_POINT   2
00029 #define GEOM_VECTOR  3
00030 #define GEOM_PLANE   4
00031 #define GEOM_LINE    5
00032 
00033 #define GEOM_TORUS    6
00034 #define GEOM_BOX      7
00035 #define GEOM_CYLINDER 8
00036 #define GEOM_CONE     9
00037 #define GEOM_SPHERE   10
00038 
00039 #define GEOM_PRISM      11
00040 #define GEOM_REVOLUTION 12
00041 
00042 #define GEOM_BOOLEAN   13
00043 #define GEOM_PARTITION 14
00044 
00045 #define GEOM_POLYLINE 15
00046 #define GEOM_CIRCLE   16
00047 #define GEOM_SPLINE   17
00048 #define GEOM_ELLIPSE  18
00049 #define GEOM_CIRC_ARC 19
00050 
00051 #define GEOM_FILLET    20
00052 #define GEOM_FILLET_2D 45
00053 #define GEOM_FILLET_1D 46
00054 #define GEOM_CHAMFER   21
00055 
00056 #define GEOM_EDGE  22
00057 #define GEOM_WIRE  23
00058 #define GEOM_FACE  24
00059 #define GEOM_SHELL 25
00060 #define GEOM_SOLID 26
00061 #define GEOM_COMPOUND 27
00062 
00063 #define GEOM_SUBSHAPE 28
00064 
00065 #define GEOM_PIPE 29
00066 
00067 #define GEOM_ARCHIMEDE 30
00068 
00069 #define GEOM_FILLING 31
00070 
00071 #define GEOM_EXPLODE 32
00072 
00073 #define GEOM_GLUED 33
00074 
00075 #define GEOM_SKETCHER 34
00076 
00077 #define GEOM_CDG 35
00078 
00079 #define GEOM_FREE_BOUNDS 36
00080 
00081 #define GEOM_GROUP 37
00082 
00083 #define GEOM_BLOCK 38
00084 
00085 #define GEOM_MARKER 39
00086 
00087 #define GEOM_THRUSECTIONS 40
00088 
00089 #define GEOM_COMPOUNDFILTER 41
00090 
00091 #define GEOM_SHAPES_ON_SHAPE 42
00092 
00093 #define GEOM_ELLIPSE_ARC 43
00094 
00095 #define GEOM_3DSKETCHER 44
00096 
00097 #define GEOM_PROJECTION 45
00098 
00099 //GEOM_Function types
00100 
00101 #define COPY_WITH_REF    1
00102 #define COPY_WITHOUT_REF 2
00103 
00104 #define EXPORT_SHAPE 1
00105 #define IMPORT_SHAPE 1
00106 
00107 #define POINT_XYZ                1
00108 #define POINT_XYZ_REF            2
00109 #define POINT_CURVE_PAR          3
00110 #define POINT_LINES_INTERSECTION 4
00111 #define POINT_SURFACE_PAR        5
00112 #define POINT_CURVE_COORD        6
00113 #define POINT_SURFACE_COORD      7
00114 #define POINT_CURVE_LENGTH       8 
00115 
00116 #define VECTOR_TWO_PNT  1
00117 #define VECTOR_DX_DY_DZ 2
00118 #define VECTOR_TANGENT_CURVE_PAR 3
00119 #define VECTOR_FACE_NORMALE 4
00120 #define VERTEX_BY_INDEX 5
00121 
00122 #define PLANE_PNT_VEC      1
00123 #define PLANE_FACE         2
00124 #define PLANE_THREE_PNT    3
00125 #define PLANE_TANGENT_FACE 4
00126 #define PLANE_2_VEC        5
00127 #define PLANE_LCS          6
00128 
00129 #define LINE_TWO_PNT   1
00130 #define LINE_PNT_DIR   2
00131 #define LINE_TWO_FACES 3
00132 
00133 #define TRANSLATE_TWO_POINTS      1
00134 #define TRANSLATE_VECTOR          2
00135 #define TRANSLATE_VECTOR_DISTANCE 9
00136 #define TRANSLATE_TWO_POINTS_COPY 3
00137 #define TRANSLATE_VECTOR_COPY     4
00138 #define TRANSLATE_1D              5
00139 #define TRANSLATE_2D              6
00140 #define TRANSLATE_XYZ             7
00141 #define TRANSLATE_XYZ_COPY        8
00142 
00143 #define ROTATE                    1
00144 #define ROTATE_COPY               2
00145 #define ROTATE_1D                 3
00146 #define ROTATE_2D                 4
00147 #define ROTATE_THREE_POINTS       5
00148 #define ROTATE_THREE_POINTS_COPY  6
00149 
00150 #define MIRROR_PLANE      1
00151 #define MIRROR_PLANE_COPY 2
00152 #define MIRROR_AXIS       3
00153 #define MIRROR_AXIS_COPY  4
00154 #define MIRROR_POINT      5
00155 #define MIRROR_POINT_COPY 6
00156 
00157 #define OFFSET_SHAPE      1
00158 #define OFFSET_SHAPE_COPY 2
00159 
00160 #define PROJECTION_COPY 1
00161 
00162 #define SCALE_SHAPE      1
00163 #define SCALE_SHAPE_COPY 2
00164 #define SCALE_SHAPE_AXES      3
00165 #define SCALE_SHAPE_AXES_COPY 4
00166 
00167 #define POSITION_SHAPE      1
00168 #define POSITION_SHAPE_COPY 2
00169 #define POSITION_SHAPE_FROM_GLOBAL      3
00170 #define POSITION_SHAPE_FROM_GLOBAL_COPY 4
00171 #define POSITION_ALONG_PATH 5
00172 
00173 #define TORUS_RR         1
00174 #define TORUS_PNT_VEC_RR 2
00175 
00176 #define BOX_DX_DY_DZ  1
00177 #define BOX_TWO_PNT   2
00178 
00179 #define FACE_OBJ_H_W  1
00180 #define FACE_H_W        2
00181 
00182 #define DISK_PNT_VEC_R    1
00183 #define DISK_THREE_PNT    2
00184 #define DISK_R            3
00185 
00186 #define CYLINDER_R_H         1
00187 #define CYLINDER_PNT_VEC_R_H 2
00188 
00189 #define CONE_R1_R2_H         1
00190 #define CONE_PNT_VEC_R1_R2_H 2
00191 
00192 #define SPHERE_R     1
00193 #define SPHERE_PNT_R 2
00194 
00195 #define PRISM_BASE_VEC_H         1
00196 #define PRISM_BASE_TWO_PNT       2
00197 #define PRISM_BASE_VEC_H_2WAYS   3
00198 #define PRISM_BASE_TWO_PNT_2WAYS 4
00199 #define PRISM_BASE_DXDYDZ        5
00200 #define PRISM_BASE_DXDYDZ_2WAYS  6
00201 
00202 #define REVOLUTION_BASE_AXIS_ANGLE       1
00203 #define REVOLUTION_BASE_AXIS_ANGLE_2WAYS 2
00204 
00205 #define PIPE_BASE_PATH 1
00206 #define PIPE_DIFFERENT_SECTIONS 2
00207 #define PIPE_SHELL_SECTIONS 3
00208 #define PIPE_SHELLS_WITHOUT_PATH 4
00209 #define PIPE_BI_NORMAL_ALONG_VECTOR 5
00210 
00211 #define THRUSECTIONS_RULED 1
00212 #define THRUSECTIONS_SMOOTHED 2
00213 
00214 #define BOOLEAN_COMMON  1
00215 #define BOOLEAN_CUT     2
00216 #define BOOLEAN_FUSE    3
00217 #define BOOLEAN_SECTION 4
00218 
00219 #define PARTITION_PARTITION 1
00220 #define PARTITION_HALF      2
00221 #define PARTITION_NO_SELF_INTERSECTIONS 3
00222 
00223 #define POLYLINE_POINTS 1
00224 
00225 #define CIRCLE_THREE_PNT 1
00226 #define CIRCLE_PNT_VEC_R 2
00227 #define CIRCLE_CENTER_TWO_PNT 3
00228 
00229 #define SPLINE_BEZIER        1
00230 #define SPLINE_INTERPOLATION 2
00231 
00232 #define ELLIPSE_PNT_VEC_RR 1
00233 
00234 #define CIRC_ARC_THREE_PNT         1
00235 #define CIRC_ARC_CENTER            2
00236 #define ELLIPSE_ARC_CENTER_TWO_PNT 3
00237 
00238 #define FILLET_SHAPE_ALL      1
00239 #define FILLET_SHAPE_EDGES    2
00240 #define FILLET_SHAPE_FACES    3
00241 #define FILLET_SHAPE_EDGES_2R 4
00242 #define FILLET_SHAPE_FACES_2R 5
00243 
00244 #define FILLET_2D_SHAPE_VERTEXES      1
00245 #define FILLET_1D_SHAPE_VERTEXES      1
00246 
00247 #define CHAMFER_SHAPE_ALL      1
00248 #define CHAMFER_SHAPE_EDGE     2
00249 #define CHAMFER_SHAPE_FACES    3
00250 #define CHAMFER_SHAPE_EDGES    4
00251 #define CHAMFER_SHAPE_EDGE_AD  5
00252 #define CHAMFER_SHAPE_FACES_AD 6
00253 #define CHAMFER_SHAPE_EDGES_AD 7
00254 
00255 #define WIRE_EDGES          1
00256 #define FACE_WIRE           2
00257 #define SHELL_FACES         3
00258 #define SOLID_SHELL         4
00259 #define SOLID_SHELLS        5
00260 #define COMPOUND_SHAPES     6
00261 #define SUBSHAPE_SORTED     7
00262 #define SUBSHAPE_NOT_SORTED 8
00263 #define FACE_WIRES          9
00264 #define REVERSE_ORIENTATION 10
00265 #define EDGE_WIRE           11
00266 #define EDGE_CURVE_LENGTH   12
00267 
00268 #define ARCHIMEDE_TYPE 1
00269 
00270 // Shape Healing operators
00271 #define SHAPE_PROCESS      1
00272 #define SUPPRESS_FACES     2
00273 #define CLOSE_CONTOUR      3
00274 #define REMOVE_INT_WIRES   4
00275 #define FILL_HOLES         5
00276 #define SEWING             6
00277 #define DIVIDE_EDGE        7
00278 #define CHANGE_ORIENTATION 8
00279 #define LIMIT_TOLERANCE    9
00280 
00281 #define BASIC_FILLING 1
00282 
00283 #define GLUE_FACES         1
00284 #define GLUE_FACES_BY_LIST 2
00285 #define GLUE_EDGES         3
00286 #define GLUE_EDGES_BY_LIST 4
00287 
00288 #define SKETCHER_NINE_DOUBLS 1
00289 #define SKETCHER_PLANE 2
00290 
00291 #define CDG_MEASURE 1
00292 
00293 #define GROUP_FUNCTION 1
00294 
00295 #define SHAPES_ON_SHAPE 1
00296 
00297 //Curve constructor type
00298 #define POINT_CONSTRUCTOR 0
00299 #define COORD_CONSTRUCTOR 1
00300 
00301 // Blocks
00302 #define BLOCK_FACE_FOUR_PNT       1
00303 #define BLOCK_FACE_FOUR_EDGES     2
00304 #define BLOCK_FACE_TWO_EDGES      3
00305 #define BLOCK_SIX_FACES           4
00306 #define BLOCK_TWO_FACES           5
00307 #define BLOCK_MULTI_TRANSFORM_1D  6
00308 #define BLOCK_MULTI_TRANSFORM_2D  7
00309 #define BLOCK_COMPOUND_GLUE       8
00310 #define BLOCK_REMOVE_EXTRA        9
00311 #define BLOCK_COMPOUND_IMPROVE    10
00312 
00313 // Marker
00314 #define MARKER_CS      1
00315 #define MARKER_SHAPE   2
00316 #define MARKER_PNT2VEC 3
00317 
00318 // Advanced functions (base = 200)
00319 #define ADVANCED_BASE 200  // NO OPERATION (advanced operations base)
00320 #define GEOM_TSHAPE 201
00321 /*@@ insert new functions before this line @@ do not remove this line @@ do not remove this line @@*/
00322 // Advanced functions sub-operations codes
00323 #define TSHAPE_BASIC 1
00324 #define TSHAPE_CHAMFER 2
00325 #define TSHAPE_FILLET 3
00326 /*@@ insert new functions before this line @@ do not remove this line @@ do not remove this line @@*/
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS