<div dir="ltr"><div><div><div>Hi David,<br></div>thanks.<br></div>That solves the issue.<br></div>Kind regards,<br>JON HAITZ<br><div><div><div><div><div class="gmail_extra"><br><br><br><div class="gmail_quote">On 11 June 2014 13:45, David Cole <span dir="ltr"><<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">> The compiler complains about the following statement:<br>
><br>
>   dataset->SetDataSet(sample->GetOutput());<br>
><br>
> The function SetDataSet expects a vtkDataSet * argument type and gets<br>
> a vtkImageData * argument type.<br>
<br>
</div>Did you include "vtkImageData.h"? The vtkImageData class is a direct<br>
subclass of vtkDataSet, so it should not be a problem.<br>
<br>
HTH,<br>
David C.<br>
<br>
</blockquote></div><br></div></div></div></div></div></div>