/usr/share/doc/mia-2.0/libdoc/classCTriangleMesh.html is in libmia-2.0-doc 2.0.13-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>CTriangleMesh Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pub-static-attribs">Static Public Attributes</a> </div>
<div class="headertitle">
<div class="title">CTriangleMesh Class Reference<div class="ingroups"><a class="el" href="group__basic.html">Basic data strctures and functions</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>A class to deine a triangle mesh with some attributes.
<a href="classCTriangleMesh.html#details">More...</a></p>
<p><code>#include <<a class="el" href="triangularMesh_8hh_source.html">mia/mesh/triangularMesh.hh</a>></code></p>
<div class="dynheader">
Inheritance diagram for CTriangleMesh:</div>
<div class="dyncontent">
<div class="center">
<img src="classCTriangleMesh.png" usemap="#CTriangleMesh_map" alt=""/>
<map id="CTriangleMesh_map" name="CTriangleMesh_map">
<area href="classCIOData.html" title="helper class to derive from for data that can be loaded and stored to a disk. " alt="CIOData" shape="rect" coords="0,0,98,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a143ba846ba7c2127483863ffe2f177e4"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a143ba846ba7c2127483863ffe2f177e4">EData</a> { <br/>
  <a class="el" href="classCTriangleMesh.html#a143ba846ba7c2127483863ffe2f177e4a92f24661c8f202e0c9abdfae51c265a6">ed_none</a> = 0,
<a class="el" href="classCTriangleMesh.html#a143ba846ba7c2127483863ffe2f177e4ac0a35c336d685b3465559e413ea67582">ed_vertex</a> = 1,
<a class="el" href="classCTriangleMesh.html#a143ba846ba7c2127483863ffe2f177e4a1f284a7d153b3e9c1d4eb3f2a1f4b8a3">ed_normal</a> = 2,
<a class="el" href="classCTriangleMesh.html#a143ba846ba7c2127483863ffe2f177e4a0e2a2be823d1d0705034812fa60bcdc6">ed_color</a> = 4,
<br/>
  <a class="el" href="classCTriangleMesh.html#a143ba846ba7c2127483863ffe2f177e4a3bcae75535d68bdd6106c3c864272083">ed_scale</a> = 8
<br/>
}</td></tr>
<tr class="memdesc:a143ba846ba7c2127483863ffe2f177e4"><td class="mdescLeft"> </td><td class="mdescRight">these are some flags to indicate, which data is actually available <a href="classCTriangleMesh.html#a143ba846ba7c2127483863ffe2f177e4">More...</a><br/></td></tr>
<tr class="separator:a143ba846ba7c2127483863ffe2f177e4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa94cfa99154da9eea9a4f12f9b7d9d0c"><td class="memItemLeft" align="right" valign="top">typedef std::shared_ptr<br class="typebreak"/>
< <a class="el" href="classCTriangleMesh.html">CTriangleMesh</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#aa94cfa99154da9eea9a4f12f9b7d9d0c">Pointer</a></td></tr>
<tr class="separator:aa94cfa99154da9eea9a4f12f9b7d9d0c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a49fc3f59e453559b006ae15dc2b31510"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classCTriangleMesh.html">CTriangleMesh</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a49fc3f59e453559b006ae15dc2b31510">type</a></td></tr>
<tr class="separator:a49fc3f59e453559b006ae15dc2b31510"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac9cd9e65808f6a40d52cbf0c69d13744"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCTriangleMesh.html">CTriangleMesh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#ac9cd9e65808f6a40d52cbf0c69d13744">clone</a> () const __attribute__((warn_unused_result))</td></tr>
<tr class="separator:ac9cd9e65808f6a40d52cbf0c69d13744"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a413de51cd872f9e69c3f42782a1e923d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCTriangleMesh.html">CTriangleMesh</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a413de51cd872f9e69c3f42782a1e923d">clone_connectivity</a> () const </td></tr>
<tr class="separator:a413de51cd872f9e69c3f42782a1e923d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa5258fed3bfd60d081e16290019e4a49"><td class="memItemLeft" align="right" valign="top">const color_type & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#aa5258fed3bfd60d081e16290019e4a49">color_at</a> (unsigned int i) const </td></tr>
<tr class="separator:aa5258fed3bfd60d081e16290019e4a49"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a260b5b292ef772433a6f52ccb23ca7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a2a260b5b292ef772433a6f52ccb23ca7">CTriangleMesh</a> ()</td></tr>
<tr class="memdesc:a2a260b5b292ef772433a6f52ccb23ca7"><td class="mdescLeft"> </td><td class="mdescRight">Standart constructor creates an empty mesh. <a href="#a2a260b5b292ef772433a6f52ccb23ca7">More...</a><br/></td></tr>
<tr class="separator:a2a260b5b292ef772433a6f52ccb23ca7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7368231a977adf5b252b20a5828cd733"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a7368231a977adf5b252b20a5828cd733">CTriangleMesh</a> (const <a class="el" href="classCTriangleMesh.html">CTriangleMesh</a> &orig)</td></tr>
<tr class="separator:a7368231a977adf5b252b20a5828cd733"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8bd5dcdb7ab060658edbb83b6265fd98"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a8bd5dcdb7ab060658edbb83b6265fd98">CTriangleMesh</a> (int n_triangles, int n_vertices)</td></tr>
<tr class="separator:a8bd5dcdb7ab060658edbb83b6265fd98"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aea1383179460f307ca91d2c88b21215e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#aea1383179460f307ca91d2c88b21215e">CTriangleMesh</a> (PTrianglefield triangles, PVertexfield vertices, PNormalfield normals, PColorfield colors, PScalefield scales)</td></tr>
<tr class="separator:aea1383179460f307ca91d2c88b21215e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac4c229787de26cf43e3584fc003e5e7b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#ac4c229787de26cf43e3584fc003e5e7b">CTriangleMesh</a> (PTrianglefield triangles, PVertexfield vertices)</td></tr>
<tr class="separator:ac4c229787de26cf43e3584fc003e5e7b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abfd2da5cda9c7d85f975f61179e20841"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#abfd2da5cda9c7d85f975f61179e20841">evaluate_normals</a> ()</td></tr>
<tr class="separator:abfd2da5cda9c7d85f975f61179e20841"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5f4a39760aeea2ada9f06e8c7a1afdcb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a5f4a39760aeea2ada9f06e8c7a1afdcb">get_available_data</a> () const </td></tr>
<tr class="separator:a5f4a39760aeea2ada9f06e8c7a1afdcb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a79f7d11f2af1ea545e4fcfc42ca2c365"><td class="memItemLeft" align="right" valign="top">const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a79f7d11f2af1ea545e4fcfc42ca2c365">get_color_pointer</a> () const </td></tr>
<tr class="separator:a79f7d11f2af1ea545e4fcfc42ca2c365"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a355e18c4e924719e1f45ee5cf10659fe"><td class="memItemLeft" align="right" valign="top">const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a355e18c4e924719e1f45ee5cf10659fe">get_normal_pointer</a> () const </td></tr>
<tr class="separator:a355e18c4e924719e1f45ee5cf10659fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a371bc5ca90b84b5273bed6cde47a6899"><td class="memItemLeft" align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a371bc5ca90b84b5273bed6cde47a6899">get_sourceformat</a> () const </td></tr>
<tr class="separator:a371bc5ca90b84b5273bed6cde47a6899"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a750c6782fb2a2616bde81d5d5b264675"><td class="memItemLeft" align="right" valign="top">const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a750c6782fb2a2616bde81d5d5b264675">get_triangle_pointer</a> () const </td></tr>
<tr class="separator:a750c6782fb2a2616bde81d5d5b264675"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae828380000eaed2c15aa736a83ae421a"><td class="memItemLeft" align="right" valign="top">const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#ae828380000eaed2c15aa736a83ae421a">get_vertex_pointer</a> () const </td></tr>
<tr class="separator:ae828380000eaed2c15aa736a83ae421a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6053944f6935e05af12c859e38acbbaf"><td class="memItemLeft" align="right" valign="top">const normal_type & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a6053944f6935e05af12c859e38acbbaf">normal_at</a> (unsigned int i) const </td></tr>
<tr class="separator:a6053944f6935e05af12c859e38acbbaf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa518e756ddf05760bdf13ea4971ddbd0"><td class="memItemLeft" align="right" valign="top">const scale_type & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#aa518e756ddf05760bdf13ea4971ddbd0">scale_at</a> (unsigned int i) const </td></tr>
<tr class="separator:aa518e756ddf05760bdf13ea4971ddbd0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad69b4e9048308a43f65e9b14ba0bae25"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#ad69b4e9048308a43f65e9b14ba0bae25">set_sourceformat</a> (const std::string &fmt)</td></tr>
<tr class="separator:ad69b4e9048308a43f65e9b14ba0bae25"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a92baf72130b946a019c2ecb84c288d12"><td class="memItemLeft" align="right" valign="top">const triangle_type & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a92baf72130b946a019c2ecb84c288d12">triangle_at</a> (unsigned int i) const </td></tr>
<tr class="separator:a92baf72130b946a019c2ecb84c288d12"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afe9dd1445614cba863db511b8d90e40f"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#afe9dd1445614cba863db511b8d90e40f">triangle_size</a> () const </td></tr>
<tr class="separator:afe9dd1445614cba863db511b8d90e40f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8df9b75e45e9bd01ead2612749d162bb"><td class="memItemLeft" align="right" valign="top">const vertex_type & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a8df9b75e45e9bd01ead2612749d162bb">vertex_at</a> (unsigned int i) const </td></tr>
<tr class="separator:a8df9b75e45e9bd01ead2612749d162bb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4703b1710f96478ff83ca6120e19832e"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#a4703b1710f96478ff83ca6120e19832e">vertices_size</a> () const </td></tr>
<tr class="separator:a4703b1710f96478ff83ca6120e19832e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae718fdd8ea8b7f4f1b349ca0c0693e5b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#ae718fdd8ea8b7f4f1b349ca0c0693e5b">~CTriangleMesh</a> ()</td></tr>
<tr class="memdesc:ae718fdd8ea8b7f4f1b349ca0c0693e5b"><td class="mdescLeft"> </td><td class="mdescRight">Destructor - it releases all the data. <a href="#ae718fdd8ea8b7f4f1b349ca0c0693e5b">More...</a><br/></td></tr>
<tr class="separator:ae718fdd8ea8b7f4f1b349ca0c0693e5b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classCIOData"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classCIOData')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classCIOData.html">CIOData</a></td></tr>
<tr class="memitem:a82b863de30312987056869fdc695794d inherit pub_methods_classCIOData"><td class="memItemLeft" align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCIOData.html#a82b863de30312987056869fdc695794d">get_source_format</a> () const </td></tr>
<tr class="separator:a82b863de30312987056869fdc695794d inherit pub_methods_classCIOData"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af857e9647ffa5fe80a35cb44d39c6e24 inherit pub_methods_classCIOData"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCIOData.html#af857e9647ffa5fe80a35cb44d39c6e24">set_source_format</a> (const std::string &format)</td></tr>
<tr class="separator:af857e9647ffa5fe80a35cb44d39c6e24 inherit pub_methods_classCIOData"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ad063d7001661f2dfa62e1cecd2214e87"><td class="memItemLeft" align="right" valign="top">static const std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#ad063d7001661f2dfa62e1cecd2214e87">get_type_description</a> ()</td></tr>
<tr class="separator:ad063d7001661f2dfa62e1cecd2214e87"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:afbaf5fd66e8d87426bee2c896beeecf5"><td class="memItemLeft" align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCTriangleMesh.html#afbaf5fd66e8d87426bee2c896beeecf5">data_descr</a></td></tr>
<tr class="separator:afbaf5fd66e8d87426bee2c896beeecf5"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A class to deine a triangle mesh with some attributes. </p>
<p>This class defines the representation of a triangle-mesh. </p>
<p>Definition at line <a class="el" href="triangularMesh_8hh_source.html#l00061">61</a> of file <a class="el" href="triangularMesh_8hh_source.html">triangularMesh.hh</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="aa94cfa99154da9eea9a4f12f9b7d9d0c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef std::shared_ptr<<a class="el" href="classCTriangleMesh.html">CTriangleMesh</a>> <a class="el" href="classCTriangleMesh.html#aa94cfa99154da9eea9a4f12f9b7d9d0c">CTriangleMesh::Pointer</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="triangularMesh_8hh_source.html#l00071">71</a> of file <a class="el" href="triangularMesh_8hh_source.html">triangularMesh.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a49fc3f59e453559b006ae15dc2b31510"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classCTriangleMesh.html">CTriangleMesh</a> <a class="el" href="classCTriangleMesh.html#a49fc3f59e453559b006ae15dc2b31510">CTriangleMesh::type</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="triangularMesh_8hh_source.html#l00068">68</a> of file <a class="el" href="triangularMesh_8hh_source.html">triangularMesh.hh</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a143ba846ba7c2127483863ffe2f177e4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classCTriangleMesh.html#a143ba846ba7c2127483863ffe2f177e4">CTriangleMesh::EData</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>these are some flags to indicate, which data is actually available </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a143ba846ba7c2127483863ffe2f177e4a92f24661c8f202e0c9abdfae51c265a6"></a>ed_none</em> </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a143ba846ba7c2127483863ffe2f177e4ac0a35c336d685b3465559e413ea67582"></a>ed_vertex</em> </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a143ba846ba7c2127483863ffe2f177e4a1f284a7d153b3e9c1d4eb3f2a1f4b8a3"></a>ed_normal</em> </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a143ba846ba7c2127483863ffe2f177e4a0e2a2be823d1d0705034812fa60bcdc6"></a>ed_color</em> </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a143ba846ba7c2127483863ffe2f177e4a3bcae75535d68bdd6106c3c864272083"></a>ed_scale</em> </td><td class="fielddoc">
</td></tr>
</table>
<p>Definition at line <a class="el" href="triangularMesh_8hh_source.html#l00074">74</a> of file <a class="el" href="triangularMesh_8hh_source.html">triangularMesh.hh</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a2a260b5b292ef772433a6f52ccb23ca7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CTriangleMesh::CTriangleMesh </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Standart constructor creates an empty mesh. </p>
</div>
</div>
<a class="anchor" id="a7368231a977adf5b252b20a5828cd733"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CTriangleMesh::CTriangleMesh </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCTriangleMesh.html">CTriangleMesh</a> & </td>
<td class="paramname"><em>orig</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>copy constructor makes a shallow copy of the mesh, i.e. the storage for triangles, vertices, normals, textur-coordinates, colors and the deformation-scale is shared between original and copy </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">orig</td><td>the mesh to be copied </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a8bd5dcdb7ab060658edbb83b6265fd98"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CTriangleMesh::CTriangleMesh </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>n_triangles</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>n_vertices</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>contruct an mesh with uninitialized data </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">n_triangles</td><td>number of triangles </td></tr>
<tr><td class="paramname">n_vertices</td><td>number of vertices </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aea1383179460f307ca91d2c88b21215e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CTriangleMesh::CTriangleMesh </td>
<td>(</td>
<td class="paramtype">PTrianglefield </td>
<td class="paramname"><em>triangles</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">PVertexfield </td>
<td class="paramname"><em>vertices</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">PNormalfield </td>
<td class="paramname"><em>normals</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">PColorfield </td>
<td class="paramname"><em>colors</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">PScalefield </td>
<td class="paramname"><em>scales</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>creates a new mesh from given input data </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">triangles</td><td>the triangle data (required) </td></tr>
<tr><td class="paramname">vertices</td><td>the vertex data (required) </td></tr>
<tr><td class="paramname">normals</td><td>per vertex normals - can be NULL, in this case then the normals are calculated </td></tr>
<tr><td class="paramname">colors</td><td>per vertex color </td></tr>
<tr><td class="paramname">scales</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ac4c229787de26cf43e3584fc003e5e7b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CTriangleMesh::CTriangleMesh </td>
<td>(</td>
<td class="paramtype">PTrianglefield </td>
<td class="paramname"><em>triangles</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">PVertexfield </td>
<td class="paramname"><em>vertices</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>creates a new mesh from given input data </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">triangles</td><td>the triangle data (required) </td></tr>
<tr><td class="paramname">vertices</td><td>the vertex data (required) </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae718fdd8ea8b7f4f1b349ca0c0693e5b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CTriangleMesh::~CTriangleMesh </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor - it releases all the data. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ac9cd9e65808f6a40d52cbf0c69d13744"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCTriangleMesh.html">CTriangleMesh</a>* CTriangleMesh::clone </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a copy of this mesh </dd></dl>
</div>
</div>
<a class="anchor" id="a413de51cd872f9e69c3f42782a1e923d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCTriangleMesh.html">CTriangleMesh</a> CTriangleMesh::clone_connectivity </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a mesh where the connectivity is copied, the vertices are allocated, but not set, and without normals and scale values </dd></dl>
</div>
</div>
<a class="anchor" id="aa5258fed3bfd60d081e16290019e4a49"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const color_type& CTriangleMesh::color_at </td>
<td>(</td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>i</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the color at the given index i </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">i</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="abfd2da5cda9c7d85f975f61179e20841"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CTriangleMesh::evaluate_normals </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Force the re-evaluation of the normals of the mesh. The normal at a vertex is evaluared as the area-weighted average of the normals of the triangles, the vertex is part of. </p>
<p>Referenced by <a class="el" href="triangularMesh_8hh_source.html#l00289">colorize_mesh()</a>.</p>
</div>
</div>
<a class="anchor" id="a5f4a39760aeea2ada9f06e8c7a1afdcb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int CTriangleMesh::get_available_data </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a set of <em>EData</em> flags indicating which data is available </dd></dl>
<p>Referenced by <a class="el" href="triangularMesh_8hh_source.html#l00289">colorize_mesh()</a>.</p>
</div>
</div>
<a class="anchor" id="a79f7d11f2af1ea545e4fcfc42ca2c365"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const void* CTriangleMesh::get_color_pointer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a raw pointer to the colors </dd></dl>
</div>
</div>
<a class="anchor" id="a355e18c4e924719e1f45ee5cf10659fe"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const void* CTriangleMesh::get_normal_pointer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a raw pointer to the normals </dd></dl>
</div>
</div>
<a class="anchor" id="a371bc5ca90b84b5273bed6cde47a6899"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const std::string& CTriangleMesh::get_sourceformat </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the format the mesh was given in the beginning </dd></dl>
<p>Definition at line <a class="el" href="triangularMesh_8hh_source.html#l00257">257</a> of file <a class="el" href="triangularMesh_8hh_source.html">triangularMesh.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a750c6782fb2a2616bde81d5d5b264675"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const void* CTriangleMesh::get_triangle_pointer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a raw pointer to the triangles </dd></dl>
</div>
</div>
<a class="anchor" id="ad063d7001661f2dfa62e1cecd2214e87"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static const std::string CTriangleMesh::get_type_description </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a type sescription name usefull for some plugin handling </dd></dl>
</div>
</div>
<a class="anchor" id="ae828380000eaed2c15aa736a83ae421a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const void* CTriangleMesh::get_vertex_pointer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a raw pointer to the vertices </dd></dl>
</div>
</div>
<a class="anchor" id="a6053944f6935e05af12c859e38acbbaf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const normal_type& CTriangleMesh::normal_at </td>
<td>(</td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>i</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a const reference to the normal of the i-th vertex </dd></dl>
</div>
</div>
<a class="anchor" id="aa518e756ddf05760bdf13ea4971ddbd0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const scale_type& CTriangleMesh::scale_at </td>
<td>(</td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>i</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a const reference to the scale at the i-th vertex </dd></dl>
</div>
</div>
<a class="anchor" id="ad69b4e9048308a43f65e9b14ba0bae25"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void CTriangleMesh::set_sourceformat </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>fmt</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fmt</td><td>set the save format of the mesh </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="triangularMesh_8hh_source.html#l00262">262</a> of file <a class="el" href="triangularMesh_8hh_source.html">triangularMesh.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a92baf72130b946a019c2ecb84c288d12"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const triangle_type& CTriangleMesh::triangle_at </td>
<td>(</td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>i</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a cost reference to the triangle at index i </dd></dl>
</div>
</div>
<a class="anchor" id="afe9dd1445614cba863db511b8d90e40f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int CTriangleMesh::triangle_size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the number of triangles, the mesh consists of </dd></dl>
</div>
</div>
<a class="anchor" id="a8df9b75e45e9bd01ead2612749d162bb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const vertex_type& CTriangleMesh::vertex_at </td>
<td>(</td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>i</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a const reference to the i-th vertex </dd></dl>
</div>
</div>
<a class="anchor" id="a4703b1710f96478ff83ca6120e19832e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int CTriangleMesh::vertices_size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the number of vertices the mesh consists of </dd></dl>
</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="afbaf5fd66e8d87426bee2c896beeecf5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const char* CTriangleMesh::data_descr</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The type description provides information about the data type that is used by the plug-in system </p>
<p>Definition at line <a class="el" href="triangularMesh_8hh_source.html#l00066">66</a> of file <a class="el" href="triangularMesh_8hh_source.html">triangularMesh.hh</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="triangularMesh_8hh_source.html">triangularMesh.hh</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jan 25 2014 23:52:09 by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
|