[vtkusers] closed meshes from vtkDiscreteMarchingCubes?

Bill Lorensen bill.lorensen at gmail.com
Sun Aug 16 07:56:19 EDT 2009


Dominik,

I was never able to reproduce your problem with disconnected meshes.

Bill

On Sun, Aug 16, 2009 at 5:13 AM, Dominik Szczerba<dominik at itis.ethz.ch> wrote:
> lynx.abraxas at freenet.de wrote:
>>
>> On 16/08/09 09:41:46, Dominik Szczerba wrote:
>>>
>>> You can of course close the holes with a filter, but you can also pad
>>> the image to be contoured to avoid their formation.
>>
>> Padding,  great idea! vtkImageConstantPad is the one to use for that? I
>> assume
>> an extention by one voxel at each side is enough?
>> Can I be sure then that any  mesh  from  vtkDiscreteMarchingCubes  of
>>  only  a
>> single label is a manifold on its own and suitable for vtkMassProperties?
>
> No. As I recently discovered, in some cases you can get a series of
> geometrically continuous but topologically disconnected regions (instead of
> the expected one region) that you have to glue together before.
>
> Dominik
>
>>
>> Thanks a lot for the padding tip.
>> Lynx
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
> --
> d o m i n i k   s z c z e r b a ,   p h d . . . . . . . . . . .
> c o m p u t a t i o n a l   l i f e   s c i e n c e   g r o u p
> . . . . . . . i t ' i s   r e s e a r c h   f o u n d a t i o n
> . . . . . . . . . . . . . . . . . . . . http://www.itis.ethz.ch
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list