src/GEOMImpl/GEOMImpl_Types.hxx

Go to the documentation of this file.
00001 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00002 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00003 // 
00004 // This library is free software; you can redistribute it and/or
00005 // modify it under the terms of the GNU Lesser General Public
00006 // License as published by the Free Software Foundation; either 
00007 // version 2.1 of the License.
00008 // 
00009 // This library is distributed in the hope that it will be useful 
00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
00012 // Lesser General Public License for more details.
00013 //
00014 // You should have received a copy of the GNU Lesser General Public  
00015 // License along with this library; if not, write to the Free Software 
00016 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00017 //
00018 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00019 //
00020 //GEOM_Object types
00021 
00022 #define GEOM_COPY    0
00023 #define GEOM_IMPORT  1
00024 
00025 #define GEOM_POINT   2
00026 #define GEOM_VECTOR  3
00027 #define GEOM_PLANE   4
00028 #define GEOM_LINE    5
00029 
00030 #define GEOM_TORUS    6
00031 #define GEOM_BOX      7
00032 #define GEOM_CYLINDER 8
00033 #define GEOM_CONE     9
00034 #define GEOM_SPHERE   10
00035 
00036 #define GEOM_PRISM      11
00037 #define GEOM_REVOLUTION 12
00038 
00039 #define GEOM_BOOLEAN   13
00040 #define GEOM_PARTITION 14
00041 
00042 #define GEOM_POLYLINE 15
00043 #define GEOM_CIRCLE   16
00044 #define GEOM_SPLINE   17
00045 #define GEOM_ELLIPSE  18
00046 #define GEOM_CIRC_ARC 19
00047 
00048 #define GEOM_FILLET  20
00049 #define GEOM_CHAMFER 21
00050 
00051 #define GEOM_EDGE  22
00052 #define GEOM_WIRE  23
00053 #define GEOM_FACE  24
00054 #define GEOM_SHELL 25
00055 #define GEOM_SOLID 26
00056 #define GEOM_COMPOUND 27
00057 
00058 #define GEOM_SUBSHAPE 28
00059 
00060 #define GEOM_PIPE 29
00061 
00062 #define GEOM_ARCHIMEDE 30
00063 
00064 #define GEOM_FILLING 31
00065 
00066 #define GEOM_EXPLODE 32
00067 
00068 #define GEOM_GLUED 33
00069 
00070 #define GEOM_SKETCHER 34
00071 
00072 #define GEOM_CDG 35
00073 
00074 #define GEOM_FREE_BOUNDS 36
00075 
00076 #define GEOM_GROUP 37
00077 
00078 #define GEOM_BLOCK 38
00079 
00080 #define GEOM_MARKER 39
00081 
00082 #define GEOM_THRUSECTIONS 40
00083 
00084 //GEOM_Function types
00085 
00086 #define COPY_WITH_REF    1
00087 #define COPY_WITHOUT_REF 2
00088 
00089 #define EXPORT_SHAPE 1
00090 #define IMPORT_SHAPE 1
00091 
00092 #define POINT_XYZ       1
00093 #define POINT_XYZ_REF   2
00094 #define POINT_CURVE_PAR 3
00095 //#define POINT_FACE_PAR 4
00096 
00097 #define VECTOR_TWO_PNT  1
00098 #define VECTOR_DX_DY_DZ 2
00099 #define VECTOR_TANGENT_CURVE_PAR 3
00100 
00101 #define PLANE_PNT_VEC   1
00102 #define PLANE_FACE      2
00103 #define PLANE_THREE_PNT 3
00104 #define PLANE_TANGENT_FACE 4
00105 
00106 #define LINE_TWO_PNT 1
00107 #define LINE_PNT_DIR 2
00108 
00109 #define TRANSLATE_TWO_POINTS      1
00110 #define TRANSLATE_VECTOR          2
00111 #define TRANSLATE_TWO_POINTS_COPY 3
00112 #define TRANSLATE_VECTOR_COPY     4
00113 #define TRANSLATE_1D              5
00114 #define TRANSLATE_2D              6
00115 #define TRANSLATE_XYZ             7
00116 #define TRANSLATE_XYZ_COPY        8
00117 
00118 #define ROTATE      1
00119 #define ROTATE_COPY 2
00120 #define ROTATE_1D   3
00121 #define ROTATE_2D   4
00122 
00123 #define MIRROR_PLANE      1
00124 #define MIRROR_PLANE_COPY 2
00125 #define MIRROR_AXIS       3
00126 #define MIRROR_AXIS_COPY  4
00127 #define MIRROR_POINT      5
00128 #define MIRROR_POINT_COPY 6
00129 
00130 #define OFFSET_SHAPE      1
00131 #define OFFSET_SHAPE_COPY 2
00132 
00133 #define SCALE_SHAPE      1
00134 #define SCALE_SHAPE_COPY 2
00135 
00136 #define POSITION_SHAPE      1
00137 #define POSITION_SHAPE_COPY 2
00138 
00139 #define TORUS_RR         1
00140 #define TORUS_PNT_VEC_RR 2
00141 
00142 #define BOX_DX_DY_DZ  1
00143 #define BOX_TWO_PNT   2
00144 
00145 #define CYLINDER_R_H         1
00146 #define CYLINDER_PNT_VEC_R_H 2
00147 
00148 #define CONE_R1_R2_H         1
00149 #define CONE_PNT_VEC_R1_R2_H 2
00150 
00151 #define SPHERE_R     1
00152 #define SPHERE_PNT_R 2
00153 
00154 #define PRISM_BASE_VEC_H   1
00155 #define PRISM_BASE_TWO_PNT 2
00156 
00157 #define REVOLUTION_BASE_AXIS_ANGLE 1
00158 
00159 #define PIPE_BASE_PATH 1
00160 #define PIPE_DIFFERENT_SECTIONS 2
00161 
00162 #define THRUSECTIONS_RULED 1
00163 #define THRUSECTIONS_SMOOTHED 2
00164 
00165 #define BOOLEAN_COMMON  1
00166 #define BOOLEAN_CUT     2
00167 #define BOOLEAN_FUSE    3
00168 #define BOOLEAN_SECTION 4
00169 
00170 #define PARTITION_PARTITION 1
00171 #define PARTITION_HALF      2
00172 
00173 #define POLYLINE_POINTS 1
00174 
00175 #define CIRCLE_THREE_PNT 1
00176 #define CIRCLE_PNT_VEC_R 2
00177 
00178 #define SPLINE_BEZIER        1
00179 #define SPLINE_INTERPOLATION 2
00180 
00181 #define ELLIPSE_PNT_VEC_RR 1
00182 
00183 #define CIRC_ARC_THREE_PNT 1
00184 
00185 #define FILLET_SHAPE_ALL   1
00186 #define FILLET_SHAPE_EDGES 2
00187 #define FILLET_SHAPE_FACES 3
00188 
00189 #define CHAMFER_SHAPE_ALL   1
00190 #define CHAMFER_SHAPE_EDGE  2
00191 #define CHAMFER_SHAPE_FACES 3
00192 
00193 #define WIRE_EDGES          1
00194 #define FACE_WIRE           2
00195 #define SHELL_FACES         3
00196 #define SOLID_SHELL         4
00197 #define SOLID_SHELLS        5
00198 #define COMPOUND_SHAPES     6
00199 #define SUBSHAPE_SORTED     7
00200 #define SUBSHAPE_NOT_SORTED 8
00201 #define FACE_WIRES          9
00202 #define REVERSE_ORIENTATION 10
00203 
00204 #define ARCHIMEDE_TYPE 1
00205 
00206 // Shape Healing operators
00207 #define SHAPE_PROCESS      1
00208 #define SUPPRESS_FACES     2
00209 #define CLOSE_CONTOUR      3
00210 #define REMOVE_INT_WIRES   4
00211 #define FILL_HOLES         5
00212 #define SEWING             6
00213 #define DIVIDE_EDGE        7
00214 #define CHANGE_ORIENTATION 8
00215 
00216 #define BASIC_FILLING 1
00217 
00218 #define GLUE_FACES 1
00219 
00220 #define SKETCHER_NINE_DOUBLS 1
00221 #define SKETCHER_PLANE 2
00222 
00223 #define CDG_MEASURE 1
00224 
00225 #define GROUP_FUNCTION 1
00226 
00227 // Blocks
00228 #define BLOCK_FACE_FOUR_PNT       1
00229 #define BLOCK_FACE_FOUR_EDGES     2
00230 #define BLOCK_FACE_TWO_EDGES      3
00231 #define BLOCK_SIX_FACES           4
00232 #define BLOCK_TWO_FACES           5
00233 #define BLOCK_MULTI_TRANSFORM_1D  6
00234 #define BLOCK_MULTI_TRANSFORM_2D  7
00235 #define BLOCK_COMPOUND_GLUE       8
00236 #define BLOCK_REMOVE_EXTRA        9
00237 #define BLOCK_COMPOUND_IMPROVE    10
00238 
00239 // Marker
00240 #define MARKER_CS 1