Hi Amy<br><br><div class="gmail_quote">On Wed, Jan 7, 2009 at 3:31 PM, Amy Squillacote <span dir="ltr"><<a href="mailto:ahs@cfdrc.com">ahs@cfdrc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Arve,<br>
<br>
You could do this without subclassing vtkIdFilter by using vtkArrayCalculator (<a href="http://www.vtk.org/doc/nightly/html/classvtkArrayCalculator.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkArrayCalculator.html</a>) to add 1 to the values in the id array.<br>
</blockquote><div><br>Sounds interesting, thanks!<br><br>Arve<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
- Amy<br>
<br>
Arve Knudsen wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
<br>
Hi<br>
<br>
In our application we'd like to display point and cell ID labels starting at 1 instead of 0, what's the best way of going about this? One solution I thought about was to subclass vtkIdFilter, to return IDs offset by +1. Good idea?<br>
<br>
Arve<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
</blockquote>
<br>
-- <br>
Amy Squillacote Phone: (256) 726-4839<br>
Sr. Computer Scientist Fax: (256) 726-4806<br>
CFD Research Corporation Web: <a href="http://www.cfdrc.com" target="_blank">http://www.cfdrc.com</a><br>
215 Wynn Drive, Suite 501<br>
Huntsville, AL 35805<br>
<br>
<br>
</blockquote></div><br>