[vtk-developers] vtkThreshold

Bill Lorensen bill.lorensen at gmail.com
Fri Dec 19 11:07:44 EST 2014


These two examples may be useful:
http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ThresholdCells
http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ThresholdPoints


On Fri, Dec 19, 2014 at 10:41 AM, ahype <alex.molinar at primexx.com> wrote:
> Im getting an error when trying to run code that used to work.
>
> ERROR: In C:\Dashboards\Releases\rc-2380face\VTK\Graphics\vtkThreshold.cxx,
> line 122
> vtkThreshold (19801760): You have set the attribute mode on vtkThreshold.
> This method is deprecated, please use SetInputArrayToProcess instead.
>
> Here is the original code.
>
>   vtkPointDataToCellData p2c
>     p2c SetInput [contGeom GetOutput]
>   vtkThreshold thresh
>     thresh SetInput [contGeom GetOutput]
>     thresh SetAttributeModeToUsePointData
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/vtkThreshold-tp5729920.html
> Sent from the VTK - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtk-developers mailing list