1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523
|
// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace py = pybind11;
// Standard Handle
#include <Standard_Handle.hxx>
// user-defined inclusion per module before includes
// includes to resolve forward declarations
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Bnd_Box.hxx>
#include <MeshVS_Mesh.hxx>
#include <TColStd_HPackedMapOfInteger.hxx>
#include <Bnd_Box2d.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <MeshVS_Mesh.hxx>
#include <MeshVS_DataSource.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TColStd_HPackedMapOfInteger.hxx>
#include <MeshVS_DataSource.hxx>
#include <MeshVS_Drawer.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <MeshVS_DataSource.hxx>
#include <TColStd_HPackedMapOfInteger.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <MeshVS_Mesh.hxx>
#include <MeshVS_DataSource.hxx>
#include <Graphic3d_ArrayOfSegments.hxx>
#include <Graphic3d_ArrayOfTriangles.hxx>
#include <Graphic3d_ArrayOfPrimitives.hxx>
#include <Graphic3d_AspectLine3d.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <MeshVS_Mesh.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <MeshVS_Mesh.hxx>
#include <MeshVS_DataSource.hxx>
#include <Graphic3d_Texture2D.hxx>
#include <Graphic3d_ArrayOfPrimitives.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <MeshVS_DataSource.hxx>
#include <MeshVS_Drawer.hxx>
#include <MeshVS_Mesh.hxx>
#include <Select3D_SensitiveEntity.hxx>
#include <SelectMgr_EntityOwner.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <MeshVS_Mesh.hxx>
#include <MeshVS_DataSource.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_AspectFillArea3d.hxx>
#include <MeshVS_Drawer.hxx>
#include <Graphic3d_MaterialAspect.hxx>
#include <Graphic3d_AspectLine3d.hxx>
#include <Graphic3d_AspectMarker3d.hxx>
#include <Graphic3d_AspectText3d.hxx>
#include <gp_Vec.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <MeshVS_Mesh.hxx>
#include <MeshVS_DataSource.hxx>
#include <Graphic3d_ArrayOfPrimitives.hxx>
// module includes
#include <MeshVS_Array1OfSequenceOfInteger.hxx>
#include <MeshVS_Buffer.hxx>
#include <MeshVS_BuilderPriority.hxx>
#include <MeshVS_CommonSensitiveEntity.hxx>
#include <MeshVS_DataMapIteratorOfDataMapOfColorMapOfInteger.hxx>
#include <MeshVS_DataMapIteratorOfDataMapOfHArray1OfSequenceOfInteger.hxx>
#include <MeshVS_DataMapIteratorOfDataMapOfIntegerAsciiString.hxx>
#include <MeshVS_DataMapIteratorOfDataMapOfIntegerBoolean.hxx>
#include <MeshVS_DataMapIteratorOfDataMapOfIntegerColor.hxx>
#include <MeshVS_DataMapIteratorOfDataMapOfIntegerMaterial.hxx>
#include <MeshVS_DataMapIteratorOfDataMapOfIntegerMeshEntityOwner.hxx>
#include <MeshVS_DataMapIteratorOfDataMapOfIntegerOwner.hxx>
#include <MeshVS_DataMapIteratorOfDataMapOfIntegerTwoColors.hxx>
#include <MeshVS_DataMapIteratorOfDataMapOfIntegerVector.hxx>
#include <MeshVS_DataMapIteratorOfDataMapOfTwoColorsMapOfInteger.hxx>
#include <MeshVS_DataMapOfColorMapOfInteger.hxx>
#include <MeshVS_DataMapOfHArray1OfSequenceOfInteger.hxx>
#include <MeshVS_DataMapOfIntegerAsciiString.hxx>
#include <MeshVS_DataMapOfIntegerBoolean.hxx>
#include <MeshVS_DataMapOfIntegerColor.hxx>
#include <MeshVS_DataMapOfIntegerMaterial.hxx>
#include <MeshVS_DataMapOfIntegerMeshEntityOwner.hxx>
#include <MeshVS_DataMapOfIntegerOwner.hxx>
#include <MeshVS_DataMapOfIntegerTwoColors.hxx>
#include <MeshVS_DataMapOfIntegerVector.hxx>
#include <MeshVS_DataMapOfTwoColorsMapOfInteger.hxx>
#include <MeshVS_DataSource.hxx>
#include <MeshVS_DataSource3D.hxx>
#include <MeshVS_DeformedDataSource.hxx>
#include <MeshVS_DisplayModeFlags.hxx>
#include <MeshVS_Drawer.hxx>
#include <MeshVS_DrawerAttribute.hxx>
#include <MeshVS_DummySensitiveEntity.hxx>
#include <MeshVS_ElementalColorPrsBuilder.hxx>
#include <MeshVS_EntityType.hxx>
#include <MeshVS_HArray1OfSequenceOfInteger.hxx>
#include <MeshVS_MapIteratorOfMapOfTwoNodes.hxx>
#include <MeshVS_MapOfTwoNodes.hxx>
#include <MeshVS_Mesh.hxx>
#include <MeshVS_MeshEntityOwner.hxx>
#include <MeshVS_MeshOwner.hxx>
#include <MeshVS_MeshPrsBuilder.hxx>
#include <MeshVS_MeshPtr.hxx>
#include <MeshVS_MeshSelectionMethod.hxx>
#include <MeshVS_NodalColorPrsBuilder.hxx>
#include <MeshVS_PrsBuilder.hxx>
#include <MeshVS_SelectionModeFlags.hxx>
#include <MeshVS_SensitiveFace.hxx>
#include <MeshVS_SensitiveMesh.hxx>
#include <MeshVS_SensitivePolyhedron.hxx>
#include <MeshVS_SensitiveQuad.hxx>
#include <MeshVS_SensitiveSegment.hxx>
#include <MeshVS_SequenceOfPrsBuilder.hxx>
#include <MeshVS_SymmetricPairHasher.hxx>
#include <MeshVS_TextPrsBuilder.hxx>
#include <MeshVS_Tool.hxx>
#include <MeshVS_TwoColors.hxx>
#include <MeshVS_TwoNodes.hxx>
#include <MeshVS_VectorPrsBuilder.hxx>
// template related includes
#include "NCollection_tmpl.hxx"
#include "NCollection_tmpl.hxx"
#include "NCollection_tmpl.hxx"
#include "NCollection_tmpl.hxx"
#include "NCollection_tmpl.hxx"
#include "NCollection_tmpl.hxx"
#include "NCollection_tmpl.hxx"
#include "NCollection_tmpl.hxx"
#include "NCollection_tmpl.hxx"
#include "NCollection_tmpl.hxx"
#include "NCollection_tmpl.hxx"
#include "NCollection_tmpl.hxx"
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
// Module definiiton
void register_MeshVS_enums(py::module &main_module) {
py::module m = main_module.def_submodule("MeshVS", R"#()#");
// user-defined inclusion per module in the body
// enums
m.attr("MeshVS_DMF_WireFrame") = py::cast(int(MeshVS_DMF_WireFrame));
m.attr("MeshVS_DMF_Shading") = py::cast(int(MeshVS_DMF_Shading));
m.attr("MeshVS_DMF_Shrink") = py::cast(int(MeshVS_DMF_Shrink));
m.attr("MeshVS_DMF_OCCMask") = py::cast(int(MeshVS_DMF_OCCMask));
m.attr("MeshVS_DMF_VectorDataPrs") = py::cast(int(MeshVS_DMF_VectorDataPrs));
m.attr("MeshVS_DMF_NodalColorDataPrs") = py::cast(int(MeshVS_DMF_NodalColorDataPrs));
m.attr("MeshVS_DMF_ElementalColorDataPrs") = py::cast(int(MeshVS_DMF_ElementalColorDataPrs));
m.attr("MeshVS_DMF_TextDataPrs") = py::cast(int(MeshVS_DMF_TextDataPrs));
m.attr("MeshVS_DMF_EntitiesWithData") = py::cast(int(MeshVS_DMF_EntitiesWithData));
m.attr("MeshVS_DMF_DeformedPrsWireFrame") = py::cast(int(MeshVS_DMF_DeformedPrsWireFrame));
m.attr("MeshVS_DMF_DeformedPrsShading") = py::cast(int(MeshVS_DMF_DeformedPrsShading));
m.attr("MeshVS_DMF_DeformedPrsShrink") = py::cast(int(MeshVS_DMF_DeformedPrsShrink));
m.attr("MeshVS_DMF_DeformedMask") = py::cast(int(MeshVS_DMF_DeformedMask));
m.attr("MeshVS_DMF_SelectionPrs") = py::cast(int(MeshVS_DMF_SelectionPrs));
m.attr("MeshVS_DMF_HilightPrs") = py::cast(int(MeshVS_DMF_HilightPrs));
m.attr("MeshVS_DMF_User") = py::cast(int(MeshVS_DMF_User));
py::enum_<MeshVS_DrawerAttribute>(m, "MeshVS_DrawerAttribute",R"#(Is it allowed to draw beam and face's edge overlapping with this beam. Is mesh drawn with reflective material Is colored mesh data representation drawn with reflective material What part of face or link will be shown if shrink mode. It is recommended this coeff to be between 0 and 1. How many nodes is possible to be in face If this parameter is true, the compute method CPU time will be displayed in console window If this parameter is true, the compute selection method CPU time will be displayed in console window If this parameter is false, the nodes won't be shown in viewer, otherwise will be.//! If this parameter is true, the selectable nodes map will be updated automatically when hidden elements change//! If this parameter is false, the face's edges are not shown Warning: in wireframe mode this parameter is ignored Is mesh drawing in smooth shading mode Is back faces of volume elements should be suppressed The integer keys for most useful constants attuning mesh presentation appearance WARNING: DA_TextExpansionFactor, DA_TextSpace, DA_TextDisplayType have no effect and might be removed in the future.)#")
.value("MeshVS_DA_InteriorStyle",MeshVS_DrawerAttribute::MeshVS_DA_InteriorStyle)
.value("MeshVS_DA_InteriorColor",MeshVS_DrawerAttribute::MeshVS_DA_InteriorColor)
.value("MeshVS_DA_BackInteriorColor",MeshVS_DrawerAttribute::MeshVS_DA_BackInteriorColor)
.value("MeshVS_DA_EdgeColor",MeshVS_DrawerAttribute::MeshVS_DA_EdgeColor)
.value("MeshVS_DA_EdgeType",MeshVS_DrawerAttribute::MeshVS_DA_EdgeType)
.value("MeshVS_DA_EdgeWidth",MeshVS_DrawerAttribute::MeshVS_DA_EdgeWidth)
.value("MeshVS_DA_HatchStyle",MeshVS_DrawerAttribute::MeshVS_DA_HatchStyle)
.value("MeshVS_DA_FrontMaterial",MeshVS_DrawerAttribute::MeshVS_DA_FrontMaterial)
.value("MeshVS_DA_BackMaterial",MeshVS_DrawerAttribute::MeshVS_DA_BackMaterial)
.value("MeshVS_DA_BeamType",MeshVS_DrawerAttribute::MeshVS_DA_BeamType)
.value("MeshVS_DA_BeamWidth",MeshVS_DrawerAttribute::MeshVS_DA_BeamWidth)
.value("MeshVS_DA_BeamColor",MeshVS_DrawerAttribute::MeshVS_DA_BeamColor)
.value("MeshVS_DA_MarkerType",MeshVS_DrawerAttribute::MeshVS_DA_MarkerType)
.value("MeshVS_DA_MarkerColor",MeshVS_DrawerAttribute::MeshVS_DA_MarkerColor)
.value("MeshVS_DA_MarkerScale",MeshVS_DrawerAttribute::MeshVS_DA_MarkerScale)
.value("MeshVS_DA_TextColor",MeshVS_DrawerAttribute::MeshVS_DA_TextColor)
.value("MeshVS_DA_TextHeight",MeshVS_DrawerAttribute::MeshVS_DA_TextHeight)
.value("MeshVS_DA_TextFont",MeshVS_DrawerAttribute::MeshVS_DA_TextFont)
.value("MeshVS_DA_TextExpansionFactor",MeshVS_DrawerAttribute::MeshVS_DA_TextExpansionFactor)
.value("MeshVS_DA_TextSpace",MeshVS_DrawerAttribute::MeshVS_DA_TextSpace)
.value("MeshVS_DA_TextStyle",MeshVS_DrawerAttribute::MeshVS_DA_TextStyle)
.value("MeshVS_DA_TextDisplayType",MeshVS_DrawerAttribute::MeshVS_DA_TextDisplayType)
.value("MeshVS_DA_TextTexFont",MeshVS_DrawerAttribute::MeshVS_DA_TextTexFont)
.value("MeshVS_DA_TextFontAspect",MeshVS_DrawerAttribute::MeshVS_DA_TextFontAspect)
.value("MeshVS_DA_VectorColor",MeshVS_DrawerAttribute::MeshVS_DA_VectorColor)
.value("MeshVS_DA_VectorMaxLength",MeshVS_DrawerAttribute::MeshVS_DA_VectorMaxLength)
.value("MeshVS_DA_VectorArrowPart",MeshVS_DrawerAttribute::MeshVS_DA_VectorArrowPart)
.value("MeshVS_DA_IsAllowOverlapped",MeshVS_DrawerAttribute::MeshVS_DA_IsAllowOverlapped)
.value("MeshVS_DA_Reflection",MeshVS_DrawerAttribute::MeshVS_DA_Reflection)
.value("MeshVS_DA_ColorReflection",MeshVS_DrawerAttribute::MeshVS_DA_ColorReflection)
.value("MeshVS_DA_ShrinkCoeff",MeshVS_DrawerAttribute::MeshVS_DA_ShrinkCoeff)
.value("MeshVS_DA_MaxFaceNodes",MeshVS_DrawerAttribute::MeshVS_DA_MaxFaceNodes)
.value("MeshVS_DA_ComputeTime",MeshVS_DrawerAttribute::MeshVS_DA_ComputeTime)
.value("MeshVS_DA_ComputeSelectionTime",MeshVS_DrawerAttribute::MeshVS_DA_ComputeSelectionTime)
.value("MeshVS_DA_DisplayNodes",MeshVS_DrawerAttribute::MeshVS_DA_DisplayNodes)
.value("MeshVS_DA_SelectableAuto",MeshVS_DrawerAttribute::MeshVS_DA_SelectableAuto)
.value("MeshVS_DA_ShowEdges",MeshVS_DrawerAttribute::MeshVS_DA_ShowEdges)
.value("MeshVS_DA_SmoothShading",MeshVS_DrawerAttribute::MeshVS_DA_SmoothShading)
.value("MeshVS_DA_SupressBackFaces",MeshVS_DrawerAttribute::MeshVS_DA_SupressBackFaces)
.value("MeshVS_DA_User",MeshVS_DrawerAttribute::MeshVS_DA_User).export_values();
py::enum_<MeshVS_SelectionModeFlags>(m, "MeshVS_SelectionModeFlags",R"#(None)#")
.value("MeshVS_SMF_Mesh",MeshVS_SelectionModeFlags::MeshVS_SMF_Mesh)
.value("MeshVS_SMF_Node",MeshVS_SelectionModeFlags::MeshVS_SMF_Node)
.value("MeshVS_SMF_0D",MeshVS_SelectionModeFlags::MeshVS_SMF_0D)
.value("MeshVS_SMF_Link",MeshVS_SelectionModeFlags::MeshVS_SMF_Link)
.value("MeshVS_SMF_Face",MeshVS_SelectionModeFlags::MeshVS_SMF_Face)
.value("MeshVS_SMF_Volume",MeshVS_SelectionModeFlags::MeshVS_SMF_Volume)
.value("MeshVS_SMF_Element",MeshVS_SelectionModeFlags::MeshVS_SMF_Element)
.value("MeshVS_SMF_All",MeshVS_SelectionModeFlags::MeshVS_SMF_All)
.value("MeshVS_SMF_Group",MeshVS_SelectionModeFlags::MeshVS_SMF_Group).export_values();
py::enum_<MeshVS_MeshSelectionMethod>(m, "MeshVS_MeshSelectionMethod",R"#(this enumeration describe what type of sensitive entity will be built in 0-th selection mode (it means that whole mesh is selected ))#")
.value("MeshVS_MSM_PRECISE",MeshVS_MeshSelectionMethod::MeshVS_MSM_PRECISE)
.value("MeshVS_MSM_NODES",MeshVS_MeshSelectionMethod::MeshVS_MSM_NODES)
.value("MeshVS_MSM_BOX",MeshVS_MeshSelectionMethod::MeshVS_MSM_BOX).export_values();
py::enum_<MeshVS_EntityType>(m, "MeshVS_EntityType",R"#(None)#")
.value("MeshVS_ET_NONE",MeshVS_EntityType::MeshVS_ET_NONE)
.value("MeshVS_ET_Node",MeshVS_EntityType::MeshVS_ET_Node)
.value("MeshVS_ET_0D",MeshVS_EntityType::MeshVS_ET_0D)
.value("MeshVS_ET_Link",MeshVS_EntityType::MeshVS_ET_Link)
.value("MeshVS_ET_Face",MeshVS_EntityType::MeshVS_ET_Face)
.value("MeshVS_ET_Volume",MeshVS_EntityType::MeshVS_ET_Volume)
.value("MeshVS_ET_Element",MeshVS_EntityType::MeshVS_ET_Element)
.value("MeshVS_ET_All",MeshVS_EntityType::MeshVS_ET_All).export_values();
m.attr("MeshVS_BP_Mesh") = py::cast(int(MeshVS_BP_Mesh));
m.attr("MeshVS_BP_NodalColor") = py::cast(int(MeshVS_BP_NodalColor));
m.attr("MeshVS_BP_ElemColor") = py::cast(int(MeshVS_BP_ElemColor));
m.attr("MeshVS_BP_Text") = py::cast(int(MeshVS_BP_Text));
m.attr("MeshVS_BP_Vector") = py::cast(int(MeshVS_BP_Vector));
m.attr("MeshVS_BP_User") = py::cast(int(MeshVS_BP_User));
m.attr("MeshVS_BP_Default") = py::cast(int(MeshVS_BP_Default));
//Python trampoline classes
class Py_MeshVS_DataSource : public MeshVS_DataSource{
public:
using MeshVS_DataSource::MeshVS_DataSource;
// public pure virtual
Standard_Boolean GetGeom(const Standard_Integer ID,const Standard_Boolean IsElement,NCollection_Array1<Standard_Real> & Coords,Standard_Integer & NbNodes,MeshVS_EntityType & Type) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,MeshVS_DataSource,GetGeom,ID,IsElement,Coords,NbNodes,Type) };
Standard_Boolean GetGeomType(const Standard_Integer ID,const Standard_Boolean IsElement,MeshVS_EntityType & Type) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,MeshVS_DataSource,GetGeomType,ID,IsElement,Type) };
Standard_Address GetAddr(const Standard_Integer ID,const Standard_Boolean IsElement) const override { PYBIND11_OVERLOAD_PURE(Standard_Address,MeshVS_DataSource,GetAddr,ID,IsElement) };
Standard_Boolean GetNodesByElement(const Standard_Integer ID,NCollection_Array1<Standard_Integer> & NodeIDs,Standard_Integer & NbNodes) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,MeshVS_DataSource,GetNodesByElement,ID,NodeIDs,NbNodes) };
const TColStd_PackedMapOfInteger & GetAllNodes() const override { PYBIND11_OVERLOAD_PURE(const TColStd_PackedMapOfInteger &,MeshVS_DataSource,GetAllNodes,) };
const TColStd_PackedMapOfInteger & GetAllElements() const override { PYBIND11_OVERLOAD_PURE(const TColStd_PackedMapOfInteger &,MeshVS_DataSource,GetAllElements,) };
// protected pure virtual
// private pure virtual
};
class Py_MeshVS_PrsBuilder : public MeshVS_PrsBuilder{
public:
using MeshVS_PrsBuilder::MeshVS_PrsBuilder;
// public pure virtual
void Build(const opencascade::handle<Prs3d_Presentation> & Prs,const TColStd_PackedMapOfInteger & IDs,TColStd_PackedMapOfInteger & IDsToExclude,const Standard_Boolean IsElement,const Standard_Integer DisplayMode) const override { PYBIND11_OVERLOAD_PURE(void,MeshVS_PrsBuilder,Build,Prs,IDs,IDsToExclude,IsElement,DisplayMode) };
// protected pure virtual
// private pure virtual
};
class Py_MeshVS_DataSource3D : public MeshVS_DataSource3D{
public:
using MeshVS_DataSource3D::MeshVS_DataSource3D;
// public pure virtual
Standard_Boolean GetGeom(const Standard_Integer ID,const Standard_Boolean IsElement,NCollection_Array1<Standard_Real> & Coords,Standard_Integer & NbNodes,MeshVS_EntityType & Type) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,MeshVS_DataSource,GetGeom,ID,IsElement,Coords,NbNodes,Type) };
Standard_Boolean GetGeomType(const Standard_Integer ID,const Standard_Boolean IsElement,MeshVS_EntityType & Type) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,MeshVS_DataSource,GetGeomType,ID,IsElement,Type) };
Standard_Address GetAddr(const Standard_Integer ID,const Standard_Boolean IsElement) const override { PYBIND11_OVERLOAD_PURE(Standard_Address,MeshVS_DataSource,GetAddr,ID,IsElement) };
Standard_Boolean GetNodesByElement(const Standard_Integer ID,NCollection_Array1<Standard_Integer> & NodeIDs,Standard_Integer & NbNodes) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,MeshVS_DataSource,GetNodesByElement,ID,NodeIDs,NbNodes) };
const TColStd_PackedMapOfInteger & GetAllNodes() const override { PYBIND11_OVERLOAD_PURE(const TColStd_PackedMapOfInteger &,MeshVS_DataSource,GetAllNodes,) };
const TColStd_PackedMapOfInteger & GetAllElements() const override { PYBIND11_OVERLOAD_PURE(const TColStd_PackedMapOfInteger &,MeshVS_DataSource,GetAllElements,) };
// protected pure virtual
// private pure virtual
};
// pre-register typdefs+classes (topologically sorted)
py::class_<MeshVS_Buffer , shared_ptr<MeshVS_Buffer> >(m,"MeshVS_Buffer",R"#(None)#");
py::class_<MeshVS_SymmetricPairHasher , shared_ptr<MeshVS_SymmetricPairHasher> >(m,"MeshVS_SymmetricPairHasher",R"#(Provides symmetric hash methods pair of integers.)#");
py::class_<MeshVS_Tool , shared_ptr<MeshVS_Tool> >(m,"MeshVS_Tool",R"#(This class provides auxiliary methods to create different aspects)#");
py::class_<MeshVS_TwoColors , shared_ptr<MeshVS_TwoColors> >(m,"MeshVS_TwoColors",R"#(None)#");
py::class_<MeshVS_TwoNodes , shared_ptr<MeshVS_TwoNodes> >(m,"MeshVS_TwoNodes",R"#(Structure containing two IDs (of nodes) for using as a key in a map (as representation of a mesh link))#");
preregister_template_NCollection_Array1<TColStd_SequenceOfInteger>(m,"MeshVS_Array1OfSequenceOfInteger");
py::class_<MeshVS_CommonSensitiveEntity ,opencascade::handle<MeshVS_CommonSensitiveEntity> , Select3D_SensitiveSet >(m,"MeshVS_CommonSensitiveEntity",R"#(Sensitive entity covering entire mesh for global selection.Sensitive entity covering entire mesh for global selection.)#");
preregister_template_NCollection_DataMap<Quantity_Color, TColStd_MapOfInteger>(m,"MeshVS_DataMapOfColorMapOfInteger");
preregister_template_NCollection_DataMap<Standard_Integer, TCollection_AsciiString>(m,"MeshVS_DataMapOfIntegerAsciiString");
preregister_template_NCollection_DataMap<Standard_Integer, Standard_Boolean>(m,"MeshVS_DataMapOfIntegerBoolean");
preregister_template_NCollection_DataMap<Standard_Integer, Quantity_Color>(m,"MeshVS_DataMapOfIntegerColor");
preregister_template_NCollection_DataMap<Standard_Integer, Graphic3d_MaterialAspect>(m,"MeshVS_DataMapOfIntegerMaterial");
preregister_template_NCollection_DataMap<Standard_Integer, MeshVS_TwoColors>(m,"MeshVS_DataMapOfIntegerTwoColors");
preregister_template_NCollection_DataMap<Standard_Integer, gp_Vec>(m,"MeshVS_DataMapOfIntegerVector");
preregister_template_NCollection_DataMap<MeshVS_TwoColors, TColStd_MapOfInteger>(m,"MeshVS_DataMapOfTwoColorsMapOfInteger");
py::class_<MeshVS_DataSource ,opencascade::handle<MeshVS_DataSource> ,Py_MeshVS_DataSource , Standard_Transient >(m,"MeshVS_DataSource",R"#(The deferred class using for the following tasks: 1) Receiving geometry data about single element of node by its number; 2) Receiving type of element or node by its number; 3) Receiving topological information about links between element and nodes it consist of; 4) Receiving information about what element cover this node; 5) Receiving information about all nodes and elements the object consist of 6) Activation of advanced mesh selection. In the advanced mesh selection mode there is created: - one owner for the whole mesh and for all selection modes - one sensitive entity for the whole mesh and for each selection mode Receiving of IDs of detected entities (nodes and elements) in a viewer is achieved by implementation of a group of methods GetDetectedEntities.The deferred class using for the following tasks: 1) Receiving geometry data about single element of node by its number; 2) Receiving type of element or node by its number; 3) Receiving topological information about links between element and nodes it consist of; 4) Receiving information about what element cover this node; 5) Receiving information about all nodes and elements the object consist of 6) Activation of advanced mesh selection. In the advanced mesh selection mode there is created: - one owner for the whole mesh and for all selection modes - one sensitive entity for the whole mesh and for each selection mode Receiving of IDs of detected entities (nodes and elements) in a viewer is achieved by implementation of a group of methods GetDetectedEntities.The deferred class using for the following tasks: 1) Receiving geometry data about single element of node by its number; 2) Receiving type of element or node by its number; 3) Receiving topological information about links between element and nodes it consist of; 4) Receiving information about what element cover this node; 5) Receiving information about all nodes and elements the object consist of 6) Activation of advanced mesh selection. In the advanced mesh selection mode there is created: - one owner for the whole mesh and for all selection modes - one sensitive entity for the whole mesh and for each selection mode Receiving of IDs of detected entities (nodes and elements) in a viewer is achieved by implementation of a group of methods GetDetectedEntities.)#");
py::class_<MeshVS_Drawer ,opencascade::handle<MeshVS_Drawer> , Standard_Transient >(m,"MeshVS_Drawer",R"#(This class provided the common interface to share between classes big set of constants affecting to object appearance. By default, this class can store integers, doubles, OCC colors, OCC materials. Each of OCC enum members can be stored as integers.This class provided the common interface to share between classes big set of constants affecting to object appearance. By default, this class can store integers, doubles, OCC colors, OCC materials. Each of OCC enum members can be stored as integers.This class provided the common interface to share between classes big set of constants affecting to object appearance. By default, this class can store integers, doubles, OCC colors, OCC materials. Each of OCC enum members can be stored as integers.)#");
py::class_<MeshVS_DummySensitiveEntity ,opencascade::handle<MeshVS_DummySensitiveEntity> , Select3D_SensitiveEntity >(m,"MeshVS_DummySensitiveEntity",R"#(This class allows to create owners to all elements or nodes, both hidden and shown, but these owners user cannot select "by hands" in viewer. They means for internal application tasks, for example, receiving all owners, both for hidden and shown entities.This class allows to create owners to all elements or nodes, both hidden and shown, but these owners user cannot select "by hands" in viewer. They means for internal application tasks, for example, receiving all owners, both for hidden and shown entities.)#");
preregister_template_NCollection_Map<MeshVS_TwoNodes>(m,"MeshVS_MapOfTwoNodes");
py::class_<MeshVS_Mesh ,opencascade::handle<MeshVS_Mesh> , AIS_InteractiveObject >(m,"MeshVS_Mesh",R"#(the main class provides interface to create mesh presentation as a wholethe main class provides interface to create mesh presentation as a whole)#");
py::class_<MeshVS_MeshEntityOwner ,opencascade::handle<MeshVS_MeshEntityOwner> , SelectMgr_EntityOwner >(m,"MeshVS_MeshEntityOwner",R"#(The custom owner. This class provides methods to store owner information: 1) An address of element or node data structure 2) Type of node or element owner assigned 3) ID of node or element owner assignedThe custom owner. This class provides methods to store owner information: 1) An address of element or node data structure 2) Type of node or element owner assigned 3) ID of node or element owner assignedThe custom owner. This class provides methods to store owner information: 1) An address of element or node data structure 2) Type of node or element owner assigned 3) ID of node or element owner assigned)#");
py::class_<MeshVS_MeshOwner ,opencascade::handle<MeshVS_MeshOwner> , SelectMgr_EntityOwner >(m,"MeshVS_MeshOwner",R"#(The custom mesh owner used for advanced mesh selection. This class provides methods to store information: 1) IDs of hilighted mesh nodes and elements 2) IDs of mesh nodes and elements selected on the meshThe custom mesh owner used for advanced mesh selection. This class provides methods to store information: 1) IDs of hilighted mesh nodes and elements 2) IDs of mesh nodes and elements selected on the meshThe custom mesh owner used for advanced mesh selection. This class provides methods to store information: 1) IDs of hilighted mesh nodes and elements 2) IDs of mesh nodes and elements selected on the mesh)#");
preregister_template_NCollection_List<opencascade::handle<TColgp_HArray1OfPnt>>(m,"MeshVS_PolyhedronVerts");
py::class_<MeshVS_PrsBuilder ,opencascade::handle<MeshVS_PrsBuilder> ,Py_MeshVS_PrsBuilder , Standard_Transient >(m,"MeshVS_PrsBuilder",R"#(This class is parent for all builders using in MeshVS_Mesh. It provides base fields and methods all buildes need.This class is parent for all builders using in MeshVS_Mesh. It provides base fields and methods all buildes need.)#");
py::class_<MeshVS_SensitiveFace ,opencascade::handle<MeshVS_SensitiveFace> , Select3D_SensitiveFace >(m,"MeshVS_SensitiveFace",R"#(This class provides custom sensitive face, which will be selected if it center is in rectangle.This class provides custom sensitive face, which will be selected if it center is in rectangle.)#");
py::class_<MeshVS_SensitiveMesh ,opencascade::handle<MeshVS_SensitiveMesh> , Select3D_SensitiveEntity >(m,"MeshVS_SensitiveMesh",R"#(This class provides custom mesh sensitive entity used in advanced mesh selection.This class provides custom mesh sensitive entity used in advanced mesh selection.)#");
py::class_<MeshVS_SensitivePolyhedron ,opencascade::handle<MeshVS_SensitivePolyhedron> , Select3D_SensitiveEntity >(m,"MeshVS_SensitivePolyhedron",R"#(This class is used to detect selection of a polyhedron. The main principle of detection algorithm is to search for overlap with each polyhedron's face separately, treating them as planar convex polygons.This class is used to detect selection of a polyhedron. The main principle of detection algorithm is to search for overlap with each polyhedron's face separately, treating them as planar convex polygons.)#");
py::class_<MeshVS_SensitiveQuad ,opencascade::handle<MeshVS_SensitiveQuad> , Select3D_SensitiveEntity >(m,"MeshVS_SensitiveQuad",R"#(This class contains description of planar quadrangle and defines methods for its detection by OCCT BVH selection mechanismThis class contains description of planar quadrangle and defines methods for its detection by OCCT BVH selection mechanism)#");
py::class_<MeshVS_SensitiveSegment ,opencascade::handle<MeshVS_SensitiveSegment> , Select3D_SensitiveSegment >(m,"MeshVS_SensitiveSegment",R"#(This class provides custom sensitive face, which will be selected if it center is in rectangle.This class provides custom sensitive face, which will be selected if it center is in rectangle.)#");
preregister_template_NCollection_Sequence<opencascade::handle<MeshVS_PrsBuilder>>(m,"MeshVS_SequenceOfPrsBuilder");
py::class_<MeshVS_DataSource3D ,opencascade::handle<MeshVS_DataSource3D> ,Py_MeshVS_DataSource3D , MeshVS_DataSource >(m,"MeshVS_DataSource3D",R"#()#");
py::class_<MeshVS_DeformedDataSource ,opencascade::handle<MeshVS_DeformedDataSource> , MeshVS_DataSource >(m,"MeshVS_DeformedDataSource",R"#(The class provides default class which helps to represent node displacements by deformed mesh This class has an internal handle to canonical non-deformed mesh data source and map of displacement vectors. The displacement can be magnified to useful size. All methods is implemented with calling the corresponding methods of non-deformed data source.The class provides default class which helps to represent node displacements by deformed mesh This class has an internal handle to canonical non-deformed mesh data source and map of displacement vectors. The displacement can be magnified to useful size. All methods is implemented with calling the corresponding methods of non-deformed data source.The class provides default class which helps to represent node displacements by deformed mesh This class has an internal handle to canonical non-deformed mesh data source and map of displacement vectors. The displacement can be magnified to useful size. All methods is implemented with calling the corresponding methods of non-deformed data source.)#");
py::class_<MeshVS_ElementalColorPrsBuilder ,opencascade::handle<MeshVS_ElementalColorPrsBuilder> , MeshVS_PrsBuilder >(m,"MeshVS_ElementalColorPrsBuilder",R"#(This class provides methods to create presentation of elements with assigned colors. The class contains two color maps: map of same colors for front and back side of face and map of different ones,This class provides methods to create presentation of elements with assigned colors. The class contains two color maps: map of same colors for front and back side of face and map of different ones,This class provides methods to create presentation of elements with assigned colors. The class contains two color maps: map of same colors for front and back side of face and map of different ones,)#");
py::class_<MeshVS_HArray1OfSequenceOfInteger ,opencascade::handle<MeshVS_HArray1OfSequenceOfInteger> , MeshVS_Array1OfSequenceOfInteger , Standard_Transient >(m,"MeshVS_HArray1OfSequenceOfInteger",R"#()#");
py::class_<MeshVS_MeshPrsBuilder ,opencascade::handle<MeshVS_MeshPrsBuilder> , MeshVS_PrsBuilder >(m,"MeshVS_MeshPrsBuilder",R"#(This class provides methods to compute base mesh presentationThis class provides methods to compute base mesh presentation)#");
py::class_<MeshVS_NodalColorPrsBuilder ,opencascade::handle<MeshVS_NodalColorPrsBuilder> , MeshVS_PrsBuilder >(m,"MeshVS_NodalColorPrsBuilder",R"#(This class provides methods to create presentation of nodes with assigned color. There are two ways of presentation building 1. Without using texture. In this case colors of nodes are specified with DataMapOfIntegerColor and presentation is built with gradient fill between these nodes (default behaviour) 2. Using texture. In this case presentation is built with spectrum filling between nodes. For example, if one node has blue color and second one has violet color, parameters of this class may be set to fill presentation between nodes with solar spectrum. Methods: UseTexture - activates/deactivates this way SetColorMap - sets colors used for generation of texture SetColorindices - specifies correspondence between node IDs and indices of colors from color mapThis class provides methods to create presentation of nodes with assigned color. There are two ways of presentation building 1. Without using texture. In this case colors of nodes are specified with DataMapOfIntegerColor and presentation is built with gradient fill between these nodes (default behaviour) 2. Using texture. In this case presentation is built with spectrum filling between nodes. For example, if one node has blue color and second one has violet color, parameters of this class may be set to fill presentation between nodes with solar spectrum. Methods: UseTexture - activates/deactivates this way SetColorMap - sets colors used for generation of texture SetColorindices - specifies correspondence between node IDs and indices of colors from color map)#");
py::class_<MeshVS_TextPrsBuilder ,opencascade::handle<MeshVS_TextPrsBuilder> , MeshVS_PrsBuilder >(m,"MeshVS_TextPrsBuilder",R"#(This class provides methods to create text data presentation. It store map of texts assigned with nodes or elements.This class provides methods to create text data presentation. It store map of texts assigned with nodes or elements.)#");
py::class_<MeshVS_VectorPrsBuilder ,opencascade::handle<MeshVS_VectorPrsBuilder> , MeshVS_PrsBuilder >(m,"MeshVS_VectorPrsBuilder",R"#(This class provides methods to create vector data presentation. It store map of vectors assigned with nodes or elements. In simplified mode vectors draws with thickened ends instead of arrowsThis class provides methods to create vector data presentation. It store map of vectors assigned with nodes or elements. In simplified mode vectors draws with thickened ends instead of arrows)#");
};
// user-defined post-inclusion per module
// user-defined post
|