[vtkusers] [VTK] Possible bug in clipVolume2 and clipVolume3 tests

Jon Haitz Legarreta jhlegarreta at vicomtech.org
Wed Jun 11 07:58:39 EDT 2014


Hi David,
thanks.
That solves the issue.
Kind regards,
JON HAITZ



On 11 June 2014 13:45, David Cole <dlrdave at aol.com> wrote:

> > The compiler complains about the following statement:
> >
> >   dataset->SetDataSet(sample->GetOutput());
> >
> > The function SetDataSet expects a vtkDataSet * argument type and gets
> > a vtkImageData * argument type.
>
> Did you include "vtkImageData.h"? The vtkImageData class is a direct
> subclass of vtkDataSet, so it should not be a problem.
>
> HTH,
> David C.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140611/99aa5dcd/attachment.html>


More information about the vtkusers mailing list