Oh ok , so i guess it somehow picks up the internal arrays from the RTanalyticsSOurce.<br>Is there anyway to have some of the lines as different colors ? I mean like categorical data.<br>There is also a Parallel Coordinates in the Charts too .<br>
<br><div class="gmail_quote">On Fri, Mar 25, 2011 at 10:38 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Fri, Mar 25, 2011 at 8:12 PM, Darshan Pai <<a href="mailto:darshanpai@gmail.com">darshanpai@gmail.com</a>> wrote:<br>
><br>
> This example<br>
> <a href="http://www.vtk.org/Wiki/VTK/Examples/Python/Infovis/ParallelCoordinatesExtraction" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Python/Infovis/ParallelCoordinatesExtraction</a><br>
> I can run it , but can someone please explain this part in the code<br>
> rep.SetInputArrayToProcess(0,0,0,0,'RTDataGradient')<br>
> rep.SetInputArrayToProcess(1,0,0,0,'RTData')<br>
> rep.SetInputArrayToProcess(2,0,0,0,'Elevation')<br>
> rep.SetInputArrayToProcess(3,0,0,0,'BrownianVectors')<br>
><br>
> How is this data acquired ? I never used Infovis before so I am not clear what these lines are doing exactly<br>
> Thanks in advance<br>
> Darshan<br>
<br>
</div></div>The SetInputArrayToProcess function is among the most confusing ones I<br>
have encountered (it doesn't have anything to do with vtkInfovis)<br>
<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkAlgorithm.html#a6bea16e1329609dbccce0ff8d2367484" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkAlgorithm.html#a6bea16e1329609dbccce0ff8d2367484</a><br>
<br>
I believe all that is happening is the arrays RTDataGradient, RTData,<br>
Elevation, BrownianVectors are being set as vertical axes in the<br>
parallel coordinate representation. The first parameter, 'idx', is<br>
setting the 0th array, the 1st array, etc. I just always put 0's for<br>
the rest of the arguments.<br>
<br>
It has always seemed to me that for saneness there should be a<br>
<br>
void SetInputArrayToProcess (int idx, const char *name)<br>
<br>
so the explanation of "I don't know, just put 0's" doesn't ever have to be used.<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br>