[vtkusers] vtkLoopSubdivisionFilter problem
mweiss at cbs.mpg.de
Wed Mar 4 09:37:22 EST 2009
I´m trying to create a subdivision of a polygon mesh created by vtkMarchingCubes from vtkImageData. I´m using vtkLoopSubdivisionFilter as shown at the end of the mail.
the vtkLoopSubdivisionFilter works fine for many datasets but sometimes he screws up the whole mesh (creating hunderd or more triangles all sharing one vertex somewhere in nowhere) while prompting the following message several times:
Warning: In /SCR/VTK/Graphics/vtkLoopSubdivisionFilter.cxx, line 143
vtkLoopSubdivisionFilter (0x8167db8): numCellsInLoop < 1: 0
I tried vtkTriangleFilter previous to the subdivision, but with no effect.
any ideas? which other filter or configurations might help?
Department of Neurophysics
Max Planck Institute for Human Cognitive and Brain Sciences
vtkLoopSubdivisionFilter* divider = vtkLoopSubdivisionFilter ::New();
ivider -> SetInput ( filter -> GetOutput() );
divider -> UpdateInformation();
divider -> Update();
More information about the vtkusers