<div class="gmail_quote">On Mon, Apr 19, 2010 at 1:52 PM, Rakesh Patil <span dir="ltr"><<a href="mailto:rakeshthp@in.com">rakeshthp@in.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hello users,<br><br>Is there a possible way to implement the deletion of a cell using vtkIdFilter and vtkClipDataSet..?? I was just thinking whether it can be done as i need it very badly..<br>
<br>Thanks<br><br>Regards<br>Rakesh Patil<br></blockquote>
<div>The problem lies in the topology (cells) defined on the unstructured grid. If you delete some points (read re-add all of the points except the ones you don't want) , then the IDs of the points that the cells use will now be incorrect. You'd also have to loop through all of the cells and adjust their point ids, and this doesn't seem trivial because if the points are deleted in non-contiguous blocks, you have a lot of things to keep track of.</div>
<div><br>I definitely agree that we should build this sort of "DeletePoints" filter.</div>
<div><br clear="all">Thanks,<br><br>David</div></div>