[vtkusers] vtkDataSetSurfaceFilter does not work properly on quadratic tet meshes

Bryn Lloyd blloyd at vision.ee.ethz.ch
Mon Oct 12 02:24:53 EDT 2009


You can always "preserve" the cell/point ids as in 
vtkDataSetSurfaceFilter by first passing the data through the vtkIdFilter.

/Bryn


Dominik Szczerba wrote:
> Many thanks for a quick reply!
> Is there a way to preserve the original point and cell Ids like in the 
> vtkDataSetSurfaceFilter?
> Dominik
> 
> Francois Bertel pisze:
>> Hello,
>>
>> The output of a vtkDataSetSurfaceFilter is a vtkPolyData. vtkPolyData
>> can only have linear 0-D,1-D,2-D linear cells.
>>
>> The only kind of dataset that can host a quadratic cells is a
>> vtkUnstructuredGrid.
>>
>> Use vtkUnstructuredGridGeometryFilter to extract the surface of a
>> vtkUnstructuredGrid will preserving the quadratic property of the
>> cell. The output of this filter is a  vtkUnstructuredGrid.
>>
>> Regards.
>>
>> On Sun, Oct 11, 2009 at 8:18 PM, Dominik Szczerba 
>> <dominik at itis.ethz.ch> wrote:
>>> Hi,
>>>
>>> Is there any reason vtkDataSetSurfaceFilter returns a linear triangle 
>>> mesh
>>> from a quadratic tet mesh (by just breaking each quadratic element into
>>> several linear ones)? Is there a way in VTK to make the surface also
>>> quadratic?
>>>
>>> thanks,
>>> 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
>>>
>>
>>
>>
> 
> _______________________________________________
> 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
> 


-- 
-------------------------------------------------
Bryn Lloyd
Computer Vision Laboratory
ETH Zürich, Sternwartstrasse 7, ETF C110
CH - 8092 Zürich, Switzerland
Tel: +41 44 63 26668
Fax: +41 44 63 21199
-------------------------------------------------



More information about the vtkusers mailing list