[vtkusers] Deprecated method for vtkThreshold
    Wylie, Brian 
    bnwylie at sandia.gov
       
    Mon Aug 10 11:19:40 EDT 2009
    
    
  
Hi Bill,
Here's my guess...
If the array you want to threshold on is called "foo" and it's an attribute on the cells.
threshold->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_CELLS, "foo"); 
  Brian Wylie - Org 1424
  Sandia National Laboratories
  MS 1323 - Building CSRI/242
  (505)844-2238 FAX(505)284-2518   
       _______ __
      /_  __(_) /_____ _____
       / / / / __/ __ `/ __ \
      / / / / /_/ /_/ / / / /
     /_/ /_/\__/\__,_/_/ /_/
            Informatics Toolkit
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Bill Lorensen
Sent: Saturday, August 08, 2009 1:50 PM
To: VTK Users
Subject: [vtkusers] Deprecated method for vtkThreshold
I have a program that used to work in prior versions of vtk. Now when I run it, I get the unhelpful message:
vtkThreshold (0x90db1b8): You have set the attribute mode on vtkThreshold. This method is deprecated, please use SetInputArrayToProcess instead.
The method I use is:
SetAttributeModeToUseCellData() applied to an instance of vtkThreshold.
It would be nice if the deprecation warning would tell me exactly how to get this formerly valid program working again.
Thanks,
Bill
_______________________________________________
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
    
    
More information about the vtkusers
mailing list