[vtkusers] unstructured grid + tetrahedrons

Dominik Szczerba dominik at itis.ethz.ch
Thu Dec 10 10:02:54 EST 2009


Unfortunately, I will not have a possibility to write those examples 
this time. A few quick comments follow below.

David Doria wrote:
> On Thu, Dec 10, 2009 at 8:52 AM, Baliki B. <balikivtk at gmail.com> wrote:
>> Could you explain (with some code) a little bit more?
>>
>>
>> 2009/12/10 Dominik Szczerba <dominik at itis.ethz.ch>
>>> You can see your tets in multiple ways:
>>>
>>> - extract cells by region

There is a filter (vtkExtractGeometry) to extract parts of a volume mesh 
NOT cutting the cells. Resulting is a polydata of course, but you see 
the inside cells otherwise hidden. Combined with an interactive widget 
(e.g. vtkBoxWidget) and edge visibility it gives a very good view.

>>> - cell shrinking

You can shrink all the cells by a factor (vtkShrinkFilter). This will 
result in a polydata again, but you will see the separate cells (by 
their 4 shrinked triangles).

>>>
>>> To see the associated data:
>>> - volume rendering

see vtkVolume

>>> - cut slices

see vtkCutter

>>> - clip

see vtkClipDataSet

>>> - contouring

see vtkContourFilter

Dominik

>>>
>>> Dominik
>>>
>>
>> _______________________________________________
>> 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
>>
>>
> 
> It's sounding like this may call for a couple of examples...
> 
> Thanks,
> 
> Captain Example
> _______________________________________________
> 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