Yeah I should have checked the code to make sure that it was the properly uploaded before posting that link. I thought I had this thing figured out. Here is the link with the new code <a href="http://review.source.kitware.com/1115" target="_blank">http://review.source.kitware.com/1115</a> . I removed the cin portion to pause the system till the user was done with it.<div>
<br></div><div>Well your confusion has confused me :) The warning macro that was implemented was in response to the <a href="http://public.kitware.com/Bug/view.php?id=10854" target="_blank">bug </a>that you reported and suggested a warning or some other way of notifying the user that it may not do what they wanted. The warning can easily be turned into an error macro if need be. In the .h file it suggest that you use vtkTriangleFilter to convert polygons to triangles. So maybe I need to find a way to pipe the points that its getting through that but that might be the beginnings of some spaghetti code. <br>
<br><div class="gmail_quote">On Tue, Mar 1, 2011 at 7:32 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">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 class="gmail_quote"><div>On Tue, Mar 1, 2011 at 5:20 PM, Glenn Faken <span dir="ltr"><<a href="mailto:glenn.faken@gmail.com" target="_blank">glenn.faken@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Here is the latest change on the code. <a href="http://review.source.kitware.com/1080" target="_blank">http://review.source.kitware.com/1080</a> I added a cin statement that is never used right after the warning so that the warning message stays on the screen until the user can dismiss the message. Is the vtkWarningMacro supposed to be captured in some kind of log or is this the best way to make the warning stay on screen during use?<br>
<br clear="all"></blockquote><div class="gmail_quote"><br></div></div>I don't see the change? Also, as far as I know that is not necessary - just use the vtkWarningMacro. Also, I'm still confused - is there nothing that can be done to write the data properly instead of just throwing a warning?<br>
<br><div>David </div></div><br>
</blockquote></div><br><br clear="all"><br>-- <br><br>Glenn Faken<br>
</div>