Thanks for those explanations.<div><br></div><div>David is right, I got a bit lost looking for where to get the eigenvalues and eigenvectors from. A 'Get'-function would really have helped me here. I ended up getting lost in the source code file without any success.</div>
<div><br></div><div>Thanks for the detailed description how to derive the eigenvalues and eigenvectors though! I'll give it another try.</div><div><br></div><div>Stefan<br><br><div class="gmail_quote">On Tue, Jun 15, 2010 at 9:47 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@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 class="im"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
David<br>
<br>
I've changed <a href="http://www.vtk.org/Wiki/VTK/Examples/Broken/vtkPCAStatistics" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Broken/vtkPCAStatistics</a> so that it works for me. Please move it out of "Broken" once you've verified it works for you. It looks like it was a test, not an example so it purposefully tried invalid inputs in several places to test error checking in the implementation. I've removed that so that it is actually an example.<br>
<br>
Also, are the links I sent to Stefan (and the list) enough that you can figure out what vtkPCAStatistics does? If not, can you say what's confusing so it can get addressed?<br><font color="#888888">
<br>
David<br>
<br>
</font></blockquote></div><br></div><div>Thanks David T. -</div><div><br></div><div>I've moved it into Utilities. I didn't take any serious time to study what is going on - I was just expecting it to provide</div>
<div>
<br></div><div>std::vector<double> GetEigenValues();</div><div>and </div><div>vtkDoubleArray* GetEigenVectors();</div><div><br></div><div>types of functions (which I would still recommend). When I didn't see those I guess I stopped looking assuming that I was misunderstanding the whole idea of the class. It seems like Stefan's question indicates that he felt the same way. It is great that the filter provides all of this other information, but I bet the majority of users would just want easy access to eigenvalues and eigenvectors. I think that users who are not versed in VTK's Infovis would not be used to extracting information from a vtkTable.</div>
<div><br></div><div>Thanks again,</div><div><br></div><div>David D.</div>
</blockquote></div><br><br clear="all"><br>-- <br>--<br>Stefan Daenzer <br>Körnerplatz 8<br>04107 Leipzig<br><br>Tel.: +49-176-61157550<br><br>"Work like you don't need the money, love like you've never been hurt and dance like no one is watching." - Randall G Leighton<br>
</div>