[vtkusers] Problem with surface reconstruction and contour filter in C++.

Andrew J. P. Maclean a.maclean at acfr.usyd.edu.au
Wed Oct 16 19:22:32 EDT 2002

I think what you said is pointing in the right direction. I have a
vtkDoubleArray where I read the intensity of each point into. If there
are no intensities, the values are set to 0. I then do a set points in
the vtkPolydata structure to this array.
The array is called (surprisingly!) "Intensity".
Could this array be interfering with the contouring?


Andrew J. P. Maclean
Australian Centre for Field Robotics
The Rose Street Building J04
The University of Sydney  2006  NSW
Room:  106
Phone: +61 2 9351 3283
Fax:   +61 2 9351 7474


-----Original Message-----
From: John Biddiscombe [mailto:jbiddiscombe at skippingmouse.co.uk] 
Sent: Tuesday, 15 October 2002 10:29
To: a.maclean at acfr.usyd.edu.au; vtkusers at public.kitware.com
Subject: Re: [vtkusers] Problem with surface reconstruction and contour
filter in C++.

> However it still doesn't fix my problem, in that the contour filter is
> not returning any data.

Oh. Sorry, I only looked at the compile error. My first guess would be

  // Description:
  // If you want to contour by an arbitrary array, then set its name
  // By default this in NULL and the filter will use the active scalar
  void SelectInputScalars(const char *fieldName)

Try setting the scalar name to something appropriate and see if that
Could be somehow you're getting a different scalar name in your data
(and the contour filter isn't using it).


More information about the vtkusers mailing list