[vtkusers] [VTK] Possible bug in clipVolume2 and clipVolume3 tests
David Cole
dlrdave at aol.com
Wed Jun 11 07:45:53 EDT 2014
> 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.
More information about the vtkusers
mailing list