<div>Hi Tom,</div><div><br></div>Am I correct in assuming that almost every single subclass of VTK in other projects will fail to compile after this change? Are there any other backwards compatibility implications of this? Also, what are the advantages of this change?<div>
<br></div><div>Also it doesn't look like you attempted to mark const functions as such. Was that because it was too hard? This is probably a naive question because I admit that I don't have a good grasp of constant functions. For example, couldn't this function be const?</div>
<div><br></div><div>in vtkDataSet:</div><div> virtual void GetCell(vtkIdType cellId, vtkGenericCell *cell) = 0;</div><div><br></div><div>This GetCell() does not change any data member of the dataset.</div><div><br></div>
<div>Best,</div><div>-berk<br><div><div><br></div><div><br><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 5:56 PM, tom fogal <span dir="ltr"><<a href="mailto:tfogal@sci.utah.edu">tfogal@sci.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I have just pushed a new branch, `const-correctness', to my git repo:<br>
<br>
git://<a href="http://shigeru.sci.utah.edu/vtk.git" target="_blank">shigeru.sci.utah.edu/vtk.git</a><br>
<br>
As you might guess, this makes VTK const correct. Well, mostly.<br>
<br>
I had to fix the wrapper-parsing code a bit. I've tested the python<br>
wrappings thus far. They all use the same parser, right? Anybody want<br>
to test / potentially fix up TCL and/or Java for me? Should be easy,<br>
given that the Python stuff already works....<br>
<br>
I'll start rebasing against VTK master after this email. This will get<br>
out of date fast (and thus be a pain to maintain), so I hope we can<br>
push it through soon.<br>
<br>
-tom<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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br></div></div></div>