[vtk-developers] vtkGreedyTerrainDecimation; How to ignore a given input value

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed May 31 15:04:24 EDT 2006


jan kolar wrote:
> Hello, I would like to alter vtkGreedyTerrainDecimation class so that a
> given value from the input raster DTM is omitted, i.e. never injected into
> the triangulation / decimation process. I assume it could be as simple as
> adding a single 'if' condition statement at the right place in the code.
> Where the change should be made? Could anybody help me with this?  --Jan


Jan,

	Can you just filter the input polydata (threshold filter for example), 
and then pass the output to the vtkGreedyTerrainDecimation filter.

HTH
Mathieu



More information about the vtk-developers mailing list