<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 6, 2014 at 11:25 AM, Doug Hoppes <span dir="ltr"><<a href="mailto:dhoppes@mbfbioscience.com" target="_blank">dhoppes@mbfbioscience.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">In the vtkpointdata class, is there a way to see what arrays are in the data set? I’m trying to use
<span style="font-size:10pt;font-family:"Courier New";color:rgb(1,0,1)">vtkclippolydata()->getoutput()</span><span style="font-size:10pt;font-family:"Courier New"">-><span style="color:rgb(1,0,1)">GetPointData</span>()-><span style="color:rgb(1,0,1)">GetArray</span>(<span style="color:rgb(163,21,21)">"InputPointIds"</span>)
and am not getting any results.</span><span class=""><font color="#888888"><u></u><u></u></font></span></p><span class=""><font color="#888888">
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Arial","sans-serif";color:rgb(64,64,64)"><u></u> <u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Arial","sans-serif";color:rgb(64,64,64)">Doug</span></b></p></font></span></div></div></blockquote><div><br></div><div>I think you're looking for<br>
</div><div><pre class=""><br>GetPointData<span class="">(</span><span class="">)</span><span class="">-</span><span class="">></span>GetArrayName<span class="">(</span>i<span class="">)</span></pre><div class="gmail_extra">
<div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/FindAllArrayNames">http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/FindAllArrayNames</a><br><br>I will also sometimes write the data to a file (vtp) and open it with Paraview to see a list of the data arrays.<br>
<br>David</div></div></div></div></div></div>