What is the error you get when you pass vtkFloatArray to vtkDataObject?<br><br><div class="gmail_quote">On Wed, Jul 18, 2012 at 5:53 PM, Luke Hetrick <span dir="ltr">&lt;<a href="mailto:lhetrick@nnu.edu" target="_blank">lhetrick@nnu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone,<br><br>    I am looking for a way to graph, hopefully in a histogram but at this point I would take any kind of  graphical output, a /vtkFloatArray that contains a bunch of angles between a collection of points. I have looked into the a few example sand tried using several of them as a starting point but seems like with each one I run into a problem I can not figure out.<br>


<br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/HistogramBarChart" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/HistogramBarChart</a>: this example I can not get my vtk/FloatArray to get passed into the /vtkDataObject like the example shows so I can not pass my array into the /vtkBarChartActor class.<br>

<br>/vtkExtractHistogram2D looks easy and promising but lacks any kind of example of how to correctly connect it with a actor, mapper, and renderer so I am not sure how to use that...<br><br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/HistogramXYPlot" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/HistogramXYPlot</a>: I can not figure out how to read in my arrays into the histogram.<br>

<br>Can anyone help me figure this out?<br><br>Luke H<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>