<div><div class="gmail_quote">On Mon, Dec 21, 2009 at 11:37 PM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com">andrew.amaclean@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Bill,<br>
<br>
The guidelines look Ok, just one comment: Is there a reason for not<br>
specifying the std:: namespace? E.g. I just like to make it explicit<br>
that for example I am using std::cerr and not cerr.<br>
<br>
If you would like it I am happy to submit an example that reads<br>
x,y,z, r,g,b,a point cloud data and produces a vtp file, I would call<br>
it ReadXYZRGBA. Just tell me where you would like it and I will write<br>
it up.<br>
It will demonstrate a templated parser that skips comments and how to<br>
create and fill a vtkPolyData structure.<br>
Users should be able to easily modify if for reading in x,y,z, scalar<br>
or x,y,z, scalar, r,g,b,a etc. I'll leave some hints in the code!<br>
<br>
 Regards<br>
   Andrew<br>
<div><div></div><div class="h5"></div></div></blockquote></div><br></div><div>Andrew,<br><br>I have already added something similar -</div><div><br></div><div><a href="http://www.cmake.org/Wiki/Read_a_delimited_file_into_a_polydata">http://www.cmake.org/Wiki/Read_a_delimited_file_into_a_polydata</a><div>
<a href="http://www.cmake.org/Wiki/Read_a_delimited_file_into_a_polydata"></a><a href="http://www.cmake.org/Wiki/Read_a_simple_%22xyz%22_file_of_points">http://www.cmake.org/Wiki/Read_a_simple_"xyz"_file_of_points</a></div>
<div><br></div><div>though it is not templated. A templated version is welcome, but I'd leave those simple examples, too, for the "non-c++ expert" type user that is trying to use VTK.</div><div><br></div><div>
Bill,</div><div><br></div><div>You have definitely captured my vision in this guideline, well written! I agree to all points.</div><div><a href="http://www.cmake.org/Wiki/Read_a_simple_%22xyz%22_file_of_points"></a><br clear="all">
Thanks,<br><br>David</div></div>