MaximumDistance specifies how far away from the original polygons to compute the distance. This is for efficiency. The units are in fraction of bounding box. SampleDimension is the dimension of the resulting implicit volume. Increase the dimension to produce a denser implicit volume. <div>
<br></div><div>For further details, look at the source code.<br><br><div class="gmail_quote">On Wed, Jul 4, 2012 at 3:20 AM, santosh Gaikwad <span dir="ltr"><<a href="mailto:santosh6983@gmail.com" target="_blank">santosh6983@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the reply. <br>Yes, I am using Implicit Modeller. I am using MaximumDistance as 0.1.<br>I would like to understand the relation between the MaximumDistance and SampleDimension, and also the Contour filter's SetValue. <br>
<br>Thanks,<br>Santosh G.<div class="HOEnZb"><div class="h5"><br><br><br><div class="gmail_quote">On Tue, Jul 3, 2012 at 5:32 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you using vtkImplicitModeller? If so, what parameters are you setting? In particular what value are you using for Maximum Distance<div>
<div>// Another important ivar is MaximumDistance. This controls how far into the</div>
<div>// volume the distance function is computed from the input geometry. Small</div><div>// values give significant increases in performance. However, there can</div><div>// strange sampling effects at the extreme range of the MaximumDistance.</div>
<div><br></div><br><div class="gmail_quote"><div><div>On Tue, Jul 3, 2012 at 4:05 AM, santosh Gaikwad <span dir="ltr"><<a href="mailto:santosh6983@gmail.com" target="_blank">santosh6983@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Hi All,<br><br>I am using vtkContourFilter for the purpose of offset surface. I want to offset a surface by 0.03mm so I am setting this value using function vtkContourFilter::SetValue.<br>In the result I am getting a discontinue surface. Kind of some holes in the surface. Code looks like as follows<br>
<br>vtkSmartPointer<vtkContourFilter> contourFilter = <br>vtkSmartPointer<vtkContourFilter>::New();<br>contourFilter->SetInputConnection(implicitModeller->GetOutputPort());<br>contourFilter->SetValue(0,0.03); <br>
contourFilter->Update();<br><br><br>In the result surface I am getting holes. What need to do to get good surface ? any suggestions.<br><br><br>Thanks,<br>Santosh Gaikwad<br>
<br></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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<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></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</font></span></div>
</blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div>