SetBoundaryVertexDeletion(0) or BoundaryVertexDeletionOff() are equivalent.<div><br></div><div>If you have any problems contact Bill Lorensen since he just volunteered ;-)</div><div><br></div><div>W<br><br><div class="gmail_quote">
On Mon, Feb 21, 2011 at 12:10 PM, Paulo Henrique Junqueira Amorim <span dir="ltr"><<a href="mailto:paulojamorim@gmail.com">paulojamorim@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Will,<br><br>In Python is
only set decimate.BoundaryVertexDeletionOff() ?<br><br>Regards,<br><font color="#888888">Paulo</font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On 21 February 2011 14:03, Will Schroeder <span dir="ltr"><<a href="mailto:will.schroeder@kitware.com" target="_blank">will.schroeder@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Mark-<div><br>Try disabling vertex deletion:</div><div><br></div><div><div> // Description:</div>
<div> // Turn on/off the deletion of vertices on the boundary of a mesh. This</div><div> // may limit the maximum reduction that may be achieved.</div>
<div> vtkSetMacro(BoundaryVertexDeletion,int);</div><div> vtkGetMacro(BoundaryVertexDeletion,int);</div><div> vtkBooleanMacro(BoundaryVertexDeletion,int);</div><div><br></div><div>If problems remain let me know please.</div>
<div><br></div><div>Will</div><br><div class="gmail_quote"><div>On Mon, Feb 21, 2011 at 11:40 AM, Mark Roden <span dir="ltr"><<a href="mailto:mmroden@gmail.com" target="_blank">mmroden@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>
Hi VTK developers,<br>
<br>
There appears to be some problems running decimation routines of large<br>
volumes in parallel. This is a bug report forwarded by one of the<br>
gdcm contributors for their large project involving both gdcm and vtk.<br>
<br>
Thanks,<br>
Mark<br>
<br>
<br>
---------- Forwarded message ----------<br>
From: <a href="mailto:totonixsame@gmail.com" target="_blank">totonixsame@gmail.com</a> <<a href="mailto:totonixsame@gmail.com" target="_blank">totonixsame@gmail.com</a>><br>
Date: 21 February 2011 10:21<br>
Subject: Superficie<br>
To: Paulo Henrique Junqueira Amorim <<a href="mailto:paulojamorim@gmail.com" target="_blank">paulojamorim@gmail.com</a>><br>
<br>
<br>
Hi,<br>
<br>
In InVesalius we generate a vtkPolydata from a medical vtkImageData<br>
using marching cubes. But the vtkImagedata we are working are very<br>
large, like 512x512x1000, in a 32-bit OS it crashes and is a lot slow.<br>
So we thought in parallelize this part of software, then InVesalius<br>
could generate vtkPolydata faster. To do that firstly we split the<br>
vtkImagedata in smaller pieces, to each pieces we do this pipeline:<br>
<br>
vtkMarchingCubes -> vtkTriangleFilter -> vtkDecimatePro<br>
(PreserveTopologyOn and SetTargetReduction(0.3)<br>
<br>
Each piece can run in parallel.<br>
<br>
After all piece are processed we join them, using this pipeline:<br>
<br>
vtkAppendPolyData -> vtkCleanPolyData -> vtkStripper<br>
<br>
Then it shows to the user. But it has a problems: In junctions there<br>
is some marks like showed in [1] and [2]. When I open the STL<br>
generated from that vtkPolydata in Meshlab, for example, in those<br>
junctions there are some holes [3] and [4].<br>
<br>
Do you have some idea why that problem occurs? I have to use some<br>
other filter(s)?<br>
<br>
Thanks!<br>
<br>
[1] - <a href="http://i.imgur.com/MLXPw.png" target="_blank">http://i.imgur.com/MLXPw.png</a><br>
[2] - <a href="http://i.imgur.com/DRFHy.png" target="_blank">http://i.imgur.com/DRFHy.png</a><br>
[3] - <a href="http://i.imgur.com/0RB45.png" target="_blank">http://i.imgur.com/0RB45.png</a><br>
[4] - <a href="http://i.imgur.com/70fIa.png" target="_blank">http://i.imgur.com/70fIa.png</a><br></div></div><div>
_______________________________________________<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>
</div></blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com" target="_blank">will.schroeder@kitware.com</a><br>
<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>(518) 881-4902<br>
</div>
</blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>
<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>
</div>