This file is indexed.

/usr/share/camitk-4.0/apidoc/html/classVtkMeshUtil.html is in libcamitk4-doc 4.0.4-2.

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
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Computer Assited Medical Intervention Tool Kit: VtkMeshUtil 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="camitk-small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Computer Assited Medical Intervention Tool Kit
   &#160;<span id="projectnumber">version 4.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classVtkMeshUtil-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">VtkMeshUtil Class Reference<div class="ingroups"><a class="el" href="group__group__sdk.html">CamiTK SDK</a> &raquo; <a class="el" href="group__group__sdk__components.html">Components</a> &raquo; <a class="el" href="group__group__sdk__components__vtkmesh.html">Vtkmesh</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>This class helps to transform, export and import vtk point sets.  
 <a href="classVtkMeshUtil.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="VtkMeshUtil_8h_source.html">VtkMeshUtil.h</a>&gt;</code></p>
<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:a7d1099e1e64ab0cf6c557514e85cd751"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751">VtkPointSetType</a> { <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a0830d006d50218a7a7b86ab48799055a">UNKNOWN</a>, 
<a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a76e3fd8b32b96bb19036fef2f249190d">UNSTRUCTURED_GRID</a>, 
<a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a62be1ad5c1fdf6f182c21684db60f473">STRUCTURED_GRID</a>, 
<a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751afefaec8d494905a10b3982b43300acb9">POLY_DATA</a>
 }<tr class="memdesc:a7d1099e1e64ab0cf6c557514e85cd751"><td class="mdescLeft">&#160;</td><td class="mdescRight">constant for the vtk point set type  <a href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a7d1099e1e64ab0cf6c557514e85cd751"><td class="memSeparator" colspan="2">&#160;</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:a8e017bf3cf0149c69d02b587647a777b"><td class="memItemLeft" align="right" valign="top">static vtkSmartPointer&lt; vtkPointSet &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#a8e017bf3cf0149c69d02b587647a777b">buildVtkPointSet</a> (std::string vtkFileName, <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751">VtkPointSetType</a> whatIsIt=<a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a0830d006d50218a7a7b86ab48799055a">UNKNOWN</a>)</td></tr>
<tr class="memdesc:a8e017bf3cf0149c69d02b587647a777b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static method that could be used from anywhere to build a vtkPointSet from a vtk file.  <a href="#a8e017bf3cf0149c69d02b587647a777b">More...</a><br /></td></tr>
<tr class="separator:a8e017bf3cf0149c69d02b587647a777b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5ef0e456a53ae5a82466aeac38a37b8"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#af5ef0e456a53ae5a82466aeac38a37b8">getVtkPointSetHeaderString</a> (std::string vtkFileName, <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751">VtkPointSetType</a> whatIsIt=<a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a0830d006d50218a7a7b86ab48799055a">UNKNOWN</a>)</td></tr>
<tr class="memdesc:af5ef0e456a53ae5a82466aeac38a37b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">static method to get the vtk header string from a vtk file  <a href="#af5ef0e456a53ae5a82466aeac38a37b8">More...</a><br /></td></tr>
<tr class="separator:af5ef0e456a53ae5a82466aeac38a37b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a321fe0ace076eb294141849b713a7283"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#a321fe0ace076eb294141849b713a7283">saveGeometryToFile</a> (<a class="el" href="classcamitk_1_1Geometry.html">camitk::Geometry</a> *g, std::string vtkFileName)</td></tr>
<tr class="memdesc:a321fe0ace076eb294141849b713a7283"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static method that could be use to store any Geometry instance in a vtk file.  <a href="#a321fe0ace076eb294141849b713a7283">More...</a><br /></td></tr>
<tr class="separator:a321fe0ace076eb294141849b713a7283"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a576b8592861f7fe97a18042735271723"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#a576b8592861f7fe97a18042735271723">savePointSetToFile</a> (vtkSmartPointer&lt; vtkPointSet &gt; ps, std::string fname, std::string oname=&quot;&quot;)</td></tr>
<tr class="memdesc:a576b8592861f7fe97a18042735271723"><td class="mdescLeft">&#160;</td><td class="mdescRight">save a vtkDataset into a given file.  <a href="#a576b8592861f7fe97a18042735271723">More...</a><br /></td></tr>
<tr class="separator:a576b8592861f7fe97a18042735271723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6c327320105bf16a1bd7209de1e95dc"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#ac6c327320105bf16a1bd7209de1e95dc">savePolyDataToFile</a> (vtkSmartPointer&lt; vtkPolyData &gt; pData, std::string fname, std::string oname=&quot;&quot;)</td></tr>
<tr class="memdesc:ac6c327320105bf16a1bd7209de1e95dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">save a given vtkPolyData into a given file  <a href="#ac6c327320105bf16a1bd7209de1e95dc">More...</a><br /></td></tr>
<tr class="separator:ac6c327320105bf16a1bd7209de1e95dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a543f7a330e92205a88a0c99360b0b25e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#a543f7a330e92205a88a0c99360b0b25e">saveStructuredGridToFile</a> (vtkSmartPointer&lt; vtkStructuredGrid &gt; sGrid, std::string fname, std::string oname=&quot;&quot;)</td></tr>
<tr class="memdesc:a543f7a330e92205a88a0c99360b0b25e"><td class="mdescLeft">&#160;</td><td class="mdescRight">save a given vtkStructuredGrid into a given file  <a href="#a543f7a330e92205a88a0c99360b0b25e">More...</a><br /></td></tr>
<tr class="separator:a543f7a330e92205a88a0c99360b0b25e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef107807c8eef9abc21ceab163ed1d68"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#aef107807c8eef9abc21ceab163ed1d68">saveUnstructuredGridToFile</a> (vtkSmartPointer&lt; vtkUnstructuredGrid &gt; uGrid, std::string fname, std::string oname=&quot;&quot;)</td></tr>
<tr class="memdesc:aef107807c8eef9abc21ceab163ed1d68"><td class="mdescLeft">&#160;</td><td class="mdescRight">save a given vtkUnstructuredGrid into a given file  <a href="#aef107807c8eef9abc21ceab163ed1d68">More...</a><br /></td></tr>
<tr class="separator:aef107807c8eef9abc21ceab163ed1d68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed88db402d4ac968c563c9e231a58070"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751">VtkPointSetType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#aed88db402d4ac968c563c9e231a58070">typeOf</a> (std::string vtkFileName)</td></tr>
<tr class="memdesc:aed88db402d4ac968c563c9e231a58070"><td class="mdescLeft">&#160;</td><td class="mdescRight">static method that tells you what kind of vtk file it is.  <a href="#aed88db402d4ac968c563c9e231a58070">More...</a><br /></td></tr>
<tr class="separator:aed88db402d4ac968c563c9e231a58070"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24efb91f44b95f0cb4b55639b73e28dc"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751">VtkMeshUtil::VtkPointSetType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#a24efb91f44b95f0cb4b55639b73e28dc">typeOf</a> (vtkSmartPointer&lt; vtkPointSet &gt; aPointSet)</td></tr>
<tr class="memdesc:a24efb91f44b95f0cb4b55639b73e28dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">static method that tells you what kind of vtkPointSet it is.  <a href="#a24efb91f44b95f0cb4b55639b73e28dc">More...</a><br /></td></tr>
<tr class="separator:a24efb91f44b95f0cb4b55639b73e28dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5d2804effb302120d5eeed8d6d761af"><td class="memItemLeft" align="right" valign="top">static vtkSmartPointer&lt; vtkPolyData &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#aa5d2804effb302120d5eeed8d6d761af">vtkPointSetToVtkPolyData</a> (vtkSmartPointer&lt; vtkPointSet &gt; aPointSet)</td></tr>
<tr class="memdesc:aa5d2804effb302120d5eeed8d6d761af"><td class="mdescLeft">&#160;</td><td class="mdescRight">static method that transform any vtkPointSet to a vtkPolyData.  <a href="#aa5d2804effb302120d5eeed8d6d761af">More...</a><br /></td></tr>
<tr class="separator:aa5d2804effb302120d5eeed8d6d761af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7962cc066b2fd7bf2c520b352f9966c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcamitk_1_1Geometry.html">camitk::Geometry</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVtkMeshUtil.html#ab7962cc066b2fd7bf2c520b352f9966c">vtkToGeometry</a> (std::string vtkFileName)</td></tr>
<tr class="memdesc:ab7962cc066b2fd7bf2c520b352f9966c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static method that could be used from anywhere to translate a vtk file to a Geometry instance.  <a href="#ab7962cc066b2fd7bf2c520b352f9966c">More...</a><br /></td></tr>
<tr class="separator:ab7962cc066b2fd7bf2c520b352f9966c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class helps to transform, export and import vtk point sets. </p>
<dl class="section note"><dt>Note</dt><dd>As it is a pure transformer, all the methods are static. </dd></dl>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a7d1099e1e64ab0cf6c557514e85cd751"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d1099e1e64ab0cf6c557514e85cd751">&#9670;&nbsp;</a></span>VtkPointSetType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751">VtkMeshUtil::VtkPointSetType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>constant for the vtk point set type </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a7d1099e1e64ab0cf6c557514e85cd751a0830d006d50218a7a7b86ab48799055a"></a>UNKNOWN&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a7d1099e1e64ab0cf6c557514e85cd751a76e3fd8b32b96bb19036fef2f249190d"></a>UNSTRUCTURED_GRID&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a7d1099e1e64ab0cf6c557514e85cd751a62be1ad5c1fdf6f182c21684db60f473"></a>STRUCTURED_GRID&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a7d1099e1e64ab0cf6c557514e85cd751afefaec8d494905a10b3982b43300acb9"></a>POLY_DATA&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8e017bf3cf0149c69d02b587647a777b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e017bf3cf0149c69d02b587647a777b">&#9670;&nbsp;</a></span>buildVtkPointSet()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">vtkSmartPointer&lt; vtkPointSet &gt; VtkMeshUtil::buildVtkPointSet </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>vtkFileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751">VtkPointSetType</a>&#160;</td>
          <td class="paramname"><em>whatIsIt</em> = <code><a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a0830d006d50218a7a7b86ab48799055a">UNKNOWN</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">

<p>Static method that could be used from anywhere to build a vtkPointSet from a vtk file. </p>
<p>Currently only vtkUnstructuredGrid, vtkPolyData and vtkStructuredGrid are supported. To support more file format build a specific component extension! </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">vtkFileName</td><td>the name of the vtk file to use as input </td></tr>
    <tr><td class="paramname">whatIsIt</td><td>(optional) if you already know the file type, it is quicker to give it here </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the new vtkPointSet </dd></dl>

<p class="reference">References <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751afefaec8d494905a10b3982b43300acb9">POLY_DATA</a>, <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a62be1ad5c1fdf6f182c21684db60f473">STRUCTURED_GRID</a>, <a class="el" href="classVtkMeshUtil.html#aed88db402d4ac968c563c9e231a58070">typeOf()</a>, <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a0830d006d50218a7a7b86ab48799055a">UNKNOWN</a>, and <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a76e3fd8b32b96bb19036fef2f249190d">UNSTRUCTURED_GRID</a>.</p>

<p class="reference">Referenced by <a class="el" href="classVtkMeshComponent.html#ab9719e1a2fbfd1b845d221592380caf6">VtkMeshComponent::VtkMeshComponent()</a>.</p>

</div>
</div>
<a id="af5ef0e456a53ae5a82466aeac38a37b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5ef0e456a53ae5a82466aeac38a37b8">&#9670;&nbsp;</a></span>getVtkPointSetHeaderString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string VtkMeshUtil::getVtkPointSetHeaderString </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>vtkFileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751">VtkPointSetType</a>&#160;</td>
          <td class="paramname"><em>whatIsIt</em> = <code><a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a0830d006d50218a7a7b86ab48799055a">UNKNOWN</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">

<p>static method to get the vtk header string from a vtk file </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">vtkFileName</td><td>the name of the vtk file to get the header from </td></tr>
    <tr><td class="paramname">whatIsIt</td><td>(optional) if you already know the file type, it is quicker to give it here </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the header string </dd></dl>

<p class="reference">References <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751afefaec8d494905a10b3982b43300acb9">POLY_DATA</a>, <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a62be1ad5c1fdf6f182c21684db60f473">STRUCTURED_GRID</a>, <a class="el" href="classVtkMeshUtil.html#aed88db402d4ac968c563c9e231a58070">typeOf()</a>, <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a0830d006d50218a7a7b86ab48799055a">UNKNOWN</a>, and <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a76e3fd8b32b96bb19036fef2f249190d">UNSTRUCTURED_GRID</a>.</p>

<p class="reference">Referenced by <a class="el" href="classVtkMeshComponent.html#ab9719e1a2fbfd1b845d221592380caf6">VtkMeshComponent::VtkMeshComponent()</a>.</p>

</div>
</div>
<a id="a321fe0ace076eb294141849b713a7283"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a321fe0ace076eb294141849b713a7283">&#9670;&nbsp;</a></span>saveGeometryToFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool VtkMeshUtil::saveGeometryToFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcamitk_1_1Geometry.html">camitk::Geometry</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>vtkFileName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">

<p>Static method that could be use to store any Geometry instance in a vtk file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">g</td><td>the Geometry instance to save </td></tr>
    <tr><td class="paramname">vtkFileName</td><td>the name of the vtk file to use as output </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if everything was saved ok. </dd></dl>

<p class="reference">References <a class="el" href="classcamitk_1_1Geometry.html#a1edb6b40fb760f2f49e6f6f5b0b61be1">camitk::Geometry::getLabel()</a>, and <a class="el" href="classcamitk_1_1Geometry.html#a949a7eb0f781f4a639873b7fffbb70a8">camitk::Geometry::getPointSet()</a>.</p>

</div>
</div>
<a id="a576b8592861f7fe97a18042735271723"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a576b8592861f7fe97a18042735271723">&#9670;&nbsp;</a></span>savePointSetToFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool VtkMeshUtil::savePointSetToFile </td>
          <td>(</td>
          <td class="paramtype">vtkSmartPointer&lt; vtkPointSet &gt;&#160;</td>
          <td class="paramname"><em>ps</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>oname</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">

<p>save a vtkDataset into a given file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ps</td><td>the vtkPointSet to save </td></tr>
    <tr><td class="paramname">fname</td><td>the file name to save to </td></tr>
    <tr><td class="paramname">oname</td><td>the name of the object to save (wrote in the header) </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751afefaec8d494905a10b3982b43300acb9">POLY_DATA</a>, <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a62be1ad5c1fdf6f182c21684db60f473">STRUCTURED_GRID</a>, and <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a76e3fd8b32b96bb19036fef2f249190d">UNSTRUCTURED_GRID</a>.</p>

<p class="reference">Referenced by <a class="el" href="classVtkMeshComponentExtension.html#aaa7289238e406ddd95df7664d9ca45e2">VtkMeshComponentExtension::save()</a>.</p>

</div>
</div>
<a id="ac6c327320105bf16a1bd7209de1e95dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6c327320105bf16a1bd7209de1e95dc">&#9670;&nbsp;</a></span>savePolyDataToFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void VtkMeshUtil::savePolyDataToFile </td>
          <td>(</td>
          <td class="paramtype">vtkSmartPointer&lt; vtkPolyData &gt;&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>oname</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">

<p>save a given vtkPolyData into a given file </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pData</td><td>the vtkPolyData to save </td></tr>
    <tr><td class="paramname">fname</td><td>the file name to save to </td></tr>
    <tr><td class="paramname">oname</td><td>the name of the object to save (wrote in the header) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a543f7a330e92205a88a0c99360b0b25e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a543f7a330e92205a88a0c99360b0b25e">&#9670;&nbsp;</a></span>saveStructuredGridToFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void VtkMeshUtil::saveStructuredGridToFile </td>
          <td>(</td>
          <td class="paramtype">vtkSmartPointer&lt; vtkStructuredGrid &gt;&#160;</td>
          <td class="paramname"><em>sGrid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>oname</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">

<p>save a given vtkStructuredGrid into a given file </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sGrid</td><td>the vtkStructuredGrid to save </td></tr>
    <tr><td class="paramname">fname</td><td>the file name to save to </td></tr>
    <tr><td class="paramname">oname</td><td>the name of the object to save (wrote in the header) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aef107807c8eef9abc21ceab163ed1d68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef107807c8eef9abc21ceab163ed1d68">&#9670;&nbsp;</a></span>saveUnstructuredGridToFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void VtkMeshUtil::saveUnstructuredGridToFile </td>
          <td>(</td>
          <td class="paramtype">vtkSmartPointer&lt; vtkUnstructuredGrid &gt;&#160;</td>
          <td class="paramname"><em>uGrid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>oname</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">

<p>save a given vtkUnstructuredGrid into a given file </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uGrid</td><td>the vtkUnstructuredGrid to save </td></tr>
    <tr><td class="paramname">fname</td><td>the file name to save to </td></tr>
    <tr><td class="paramname">oname</td><td>the name of the object to save (wrote in the header) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aed88db402d4ac968c563c9e231a58070"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed88db402d4ac968c563c9e231a58070">&#9670;&nbsp;</a></span>typeOf() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751">VtkMeshUtil::VtkPointSetType</a> VtkMeshUtil::typeOf </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>vtkFileName</em></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">

<p>static method that tells you what kind of vtk file it is. </p>
<p>If it returns VtkManager::UNKNOWN, it means the vtk data are not supported. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">vtkFileName</td><td>the name of the vtk file to check </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the VtkPointSetType of the file given in parameter </dd></dl>

<p class="reference">References <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751afefaec8d494905a10b3982b43300acb9">POLY_DATA</a>, <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a62be1ad5c1fdf6f182c21684db60f473">STRUCTURED_GRID</a>, <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a0830d006d50218a7a7b86ab48799055a">UNKNOWN</a>, and <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a76e3fd8b32b96bb19036fef2f249190d">UNSTRUCTURED_GRID</a>.</p>

<p class="reference">Referenced by <a class="el" href="classVtkMeshUtil.html#a8e017bf3cf0149c69d02b587647a777b">buildVtkPointSet()</a>, <a class="el" href="classVtkMeshUtil.html#af5ef0e456a53ae5a82466aeac38a37b8">getVtkPointSetHeaderString()</a>, <a class="el" href="classVtkMeshComponent.html#ab9719e1a2fbfd1b845d221592380caf6">VtkMeshComponent::VtkMeshComponent()</a>, and <a class="el" href="classVtkMeshUtil.html#ab7962cc066b2fd7bf2c520b352f9966c">vtkToGeometry()</a>.</p>

</div>
</div>
<a id="a24efb91f44b95f0cb4b55639b73e28dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24efb91f44b95f0cb4b55639b73e28dc">&#9670;&nbsp;</a></span>typeOf() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751">VtkMeshUtil::VtkPointSetType</a> VtkMeshUtil::typeOf </td>
          <td>(</td>
          <td class="paramtype">vtkSmartPointer&lt; vtkPointSet &gt;&#160;</td>
          <td class="paramname"><em>aPointSet</em></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">

<p>static method that tells you what kind of vtkPointSet it is. </p>
<p>If it returns VtkManager::UNKNOWN, this is an unsupported type of vtkPointSet. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">aPointSet</td><td>the pointset data to analyze </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the VtkPointSetType of the file given in parameter </dd></dl>

<p class="reference">References <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751afefaec8d494905a10b3982b43300acb9">POLY_DATA</a>, <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a62be1ad5c1fdf6f182c21684db60f473">STRUCTURED_GRID</a>, <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a0830d006d50218a7a7b86ab48799055a">UNKNOWN</a>, and <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a76e3fd8b32b96bb19036fef2f249190d">UNSTRUCTURED_GRID</a>.</p>

</div>
</div>
<a id="aa5d2804effb302120d5eeed8d6d761af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5d2804effb302120d5eeed8d6d761af">&#9670;&nbsp;</a></span>vtkPointSetToVtkPolyData()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">vtkSmartPointer&lt; vtkPolyData &gt; VtkMeshUtil::vtkPointSetToVtkPolyData </td>
          <td>(</td>
          <td class="paramtype">vtkSmartPointer&lt; vtkPointSet &gt;&#160;</td>
          <td class="paramname"><em>aPointSet</em></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">

<p>static method that transform any vtkPointSet to a vtkPolyData. </p>
<ul>
<li>If the vtkPointSet is already a vtkPolyData, nothing is done.</li>
<li>If the vtkPointSet is a vtkUnstructuredGrid or vtkStructuredGrid, then it uses a vtkDataSetSurfaceFilter to extract the surface <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">aPointSet</td><td>the vtkPointSet to transform </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the vtkPolyData corresponding </dd></dl>
</li>
</ul>

<p class="reference">References <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751afefaec8d494905a10b3982b43300acb9">POLY_DATA</a>.</p>

<p class="reference">Referenced by <a class="el" href="classCleanPolyData.html#a097fcf8c887ebb7a5f553ae35e4e3880">CleanPolyData::apply()</a>, and <a class="el" href="classFillWithPoints.html#a07c3d3eb7b27d1225c64381293ab7b43">FillWithPoints::apply()</a>.</p>

</div>
</div>
<a id="ab7962cc066b2fd7bf2c520b352f9966c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7962cc066b2fd7bf2c520b352f9966c">&#9670;&nbsp;</a></span>vtkToGeometry()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcamitk_1_1Geometry.html">Geometry</a> * VtkMeshUtil::vtkToGeometry </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>vtkFileName</em></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">

<p>Static method that could be used from anywhere to translate a vtk file to a Geometry instance. </p>
<p>convenient method (it is based on buildVtkPointSet). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">vtkFileName</td><td>the name of the vtk file to use as input </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the new Geometry instance </dd></dl>

<p class="reference">References <a class="el" href="classcamitk_1_1InterfaceGeometry.html#aa342a10694ecacdf4a838f4e16b39a95a8aa2f7b6e71f58623c02355a67805001">camitk::InterfaceGeometry::Surface</a>, <a class="el" href="classVtkMeshUtil.html#aed88db402d4ac968c563c9e231a58070">typeOf()</a>, and <a class="el" href="classVtkMeshUtil.html#a7d1099e1e64ab0cf6c557514e85cd751a0830d006d50218a7a7b86ab48799055a">UNKNOWN</a>.</p>

<p class="reference">Referenced by <a class="el" href="classReorientImage.html#a27110a95409665d75a7eadcfb9f0a791">ReorientImage::buildGeometries()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="VtkMeshUtil_8h_source.html">VtkMeshUtil.h</a></li>
<li><a class="el" href="VtkMeshUtil_8cpp.html">VtkMeshUtil.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>