<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear Bill,<br><br>Thank you very much.<br><br>Actually, I want slice to be filled, not looked fill (e.x. by changing opacity value).<br><br>> Date: Wed, 18 Mar 2015 18:40:17 -0700<br>> Subject: Re: [vtkusers] Fill interior 3D object<br>> From: bill.lorensen@gmail.com<br>> To: malyushytsky@gmail.com<br>> CC: mnour.ai@hotmail.com; vtkusers@vtk.org<br>> <br>> Do you want it filled, or do you want it to look filled?<br>> <br>> <br>> On Wed, Mar 18, 2015 at 3:38 PM, Alex Malyushytsky<br>> <malyushytsky@gmail.com> wrote:<br>> > You may try to use boolean operations for computing the "stub".<br>> ><br>> > http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/BooleanOperationPolyDataFilter<br>> ><br>> > If for example you have sphere and you slice it with a plan.<br>> > Boolean intersection of such 2 objects will be a polygon you can display (<br>> > you probably can use vtkFillHolesFilterto triangulate it )<br>> > to restore the look of solid after slicing.<br>> ><br>> > Hope this helps,<br>> > Alex<br>> ><br>> ><br>> ><br>> > On Tue, Mar 17, 2015 at 10:46 PM, Muhammad Nour <mnour.ai@hotmail.com><br>> > wrote:<br>> >><br>> >> Dear Alex,<br>> >><br>> >> Thank you very much for your reply.<br>> >><br>> >> I can make presentation look like solid (e.x. by using opacity property).<br>> >><br>> >> But I want to slice an object, and result must be filled as if the object<br>> >> is solid.<br>> >><br>> >> Suppose my object is a torus, so I have slice as two circles (one inside<br>> >> other).<br>> >><br>> >> I want to fill space between these circles.<br>> >><br>> >> I have tried using vtkDelaunay3D class but it distorts objects.<br>> >><br>> >> Also I tried using vtkFillHolesFilter filter but it fills all empty space.<br>> >><br>> >> I hope I explaine my point.<br>> >><br>> >> Thank you again.<br>> >><br>> >> ________________________________<br>> >> Date: Tue, 17 Mar 2015 18:34:00 -0700<br>> >> Subject: Re: [vtkusers] Fill interior 3D object<br>> >> From: malyushytsky@gmail.com<br>> >> To: mnour.ai@hotmail.com<br>> >> CC: vtkusers@vtk.org<br>> >><br>> >><br>> >> AFAI understand there is no solid objects there are presentations of<br>> >> solids.<br>> >> Such presentation may look like solid unless you are inside the object.<br>> >> If that not what you want you are on your own.<br>> >><br>> >> Similar to 2d , 3d objects exist for a solely purpose of presentation.<br>> >> You may 'subdivide' your sphere for example and construct it from the<br>> >> number of hexahedrons ( like circle from quadrilaterals),<br>> >> but even if you do so you will see those elements when you move your<br>> >> camera too close not like solids.<br>> >><br>> >> But if it what you want , you may look at Delaunay3D.<br>> >><br>> >> Regards,<br>> >> Alex<br>> >><br>> >><br>> >> On Sat, Mar 14, 2015 at 11:20 PM, Muhammad Nour <mnour.ai@hotmail.com><br>> >> wrote:<br>> >><br>> >> Hi all,<br>> >><br>> >> I am using MS visual studio 2008 and vtk 5.10<br>> >><br>> >> I want to fill interior of some objects (like sphere), so they must be<br>> >> solid.<br>> >><br>> >> I've tried vtkFillHolesFilter class but it fills holes of surface not<br>> >> inside object.<br>> >><br>> >> Is there any other filter or class can do it?<br>> >><br>> >> Thank you very much<br>> >><br>> >> _______________________________________________<br>> >> Powered by www.kitware.com<br>> >><br>> >> Visit other Kitware open-source projects at<br>> >> http://www.kitware.com/opensource/opensource.html<br>> >><br>> >> Please keep messages on-topic and check the VTK FAQ at:<br>> >> http://www.vtk.org/Wiki/VTK_FAQ<br>> >><br>> >> Search the list archives at: http://markmail.org/search/?q=vtkusers<br>> >><br>> >> Follow this link to subscribe/unsubscribe:<br>> >> http://public.kitware.com/mailman/listinfo/vtkusers<br>> >><br>> >><br>> ><br>> ><br>> > _______________________________________________<br>> > Powered by www.kitware.com<br>> ><br>> > Visit other Kitware open-source projects at<br>> > http://www.kitware.com/opensource/opensource.html<br>> ><br>> > Please keep messages on-topic and check the VTK FAQ at:<br>> > http://www.vtk.org/Wiki/VTK_FAQ<br>> ><br>> > Search the list archives at: http://markmail.org/search/?q=vtkusers<br>> ><br>> > Follow this link to subscribe/unsubscribe:<br>> > http://public.kitware.com/mailman/listinfo/vtkusers<br>> ><br>> <br>> <br>> <br>> -- <br>> Unpaid intern in BillsBasement at noware dot com<br> </div></body>
</html>