[vtkusers] Trying to build against CVS no longer a SelectInputScalars in vtkContourFilter

Jeremy Stout stout.jeremy at gmail.com
Tue May 17 11:23:49 EDT 2005


This approach works for me in the latest nightly builds:

(Java example)
vktContourFilter contour = new vtkContourFilter();
contour.SetInput(myUnstructuredGrid); 
contour.SetInputArrayToProcess(0, 0, 0, 0, "MyScalar");

Jeremy Stout

On 5/17/05, Terry Jordan <tejj at hotmail.com> wrote:
> What is the equivalent way to do a SelectInputScalars in vtkContourFilter?
> in 4.4 it was:
> 
> //snippet
> vtkContourFilter *cf = vtkContourFilter::New();
>                cf->SetInput(c2p->GetOutput());
>                printf("isoValue: %s\n", isoValue);
>                cf->SelectInputScalars(isoValue);
> 
> how do you do this now?
> 
> Thanks in advance.
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the 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