<div dir="ltr"><div><div>Hi all,<br><br></div>I felt in a trap with a vtkPoints2D object - but vtkPoints has the same behaviour - due to the fact that neither Reset nor SetNumberOfPoints method call Modified(). This is important because GetBounds (and ComputeBounds more precisely) caches the bounding boxes using MTime. So basically if you reuse a vtkPoints(2D) object, the bounding box will not be updated unless you think to call Modified by yourself whereas you could imagine that Reset and SetNumberOfPoints methods are important enough to change the MTime tag.<br>
</div>Would you see any inconvenience if I add this Modified call in those 2 methods and in Initialize() too.<br><div><div><div><br></div><div>Best,<br></div><div><br clear="all"><div><div><div><div><div dir="ltr"><b>Joachim Pouderoux</b><br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>PhD, Technical Expert</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br>
</blockquote>
</div></div>
</div></div></div></div></div></div></div>