[vtkusers] Converting from rectilinear to polydata
ThinkFlow
neto at caltech.edu
Thu Aug 22 12:50:21 EDT 2013
Hi,
I am trying to convert a vtkrectilineargrid to a vtkpolydata. I am doing
this by first converting from vtkrectilineargrid to an unstructured grid
(with tetrahedra) by using vtkRectilinearGridToTetrahedra, and then
converting the unstructured grid to polydata by using
vtkDataSetSurfaceFilter . However, when I try to render the polydata, I get
an error saying that
vtkWindowedSincPolyDataFilter (0x143aaf0): No data to smooth!
My code for the two conversions are basically modified versions of
http://tinyurl.com/kbu8dh5 and http://tinyurl.com/lzlnurs , and are
attached.
DataSetSurfaceFilter.cxx
<http://vtk.1045678.n5.nabble.com/file/n5722972/DataSetSurfaceFilter.cxx>
RectilinearGridToTetrahedra.cxx
<http://vtk.1045678.n5.nabble.com/file/n5722972/RectilinearGridToTetrahedra.cxx>
Thanks,
Naoki
--
View this message in context: http://vtk.1045678.n5.nabble.com/Converting-from-rectilinear-to-polydata-tp5722972.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list