[vtkusers] vtkContourFilter and vtkSampleFunction with vtk4.2 on Windows

Philippe Pouletaut philippe.pouletaut at utc.fr
Fri Aug 22 12:17:44 EDT 2003


Trying including:
#include "vtkDataSet.h"
#include "vtkImageData.h"

and using this:
   vtkContourFilter *contours = vtkContourFilter::New();
   contours->SetInput((vtkDataSet *)sample->GetOutput());

and compiling.

It works !!!
Thank you very much for your smart tip.

Philippe





More information about the vtkusers mailing list