<div class="gmail_quote">On Mon, Oct 12, 2009 at 7:43 AM, Jérôme <span dir="ltr">&lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, <br>I quickly gave a watch. Since your class derives from vtkSphereSource, your vtkTypeRevisionMacro should do the same:<br>   vtkTypeRevisionMacro( vtkEllipsoidSource, vtkSphereSource );<br><br>If it does&#39;nt, your filter &#39;tells&#39; that it is -in the oo sense- a vtkPolyDataAlgorithm, but not a vtkSphereSource. So you have conflict between pure C++ and VTK object approach.<br>

- C++ : vtkEllipsoidSource derives from vtkSphereSource, the compiler stays quiet. <br>- VTK : vtkEllipsoidSource &quot;IsA&quot; vtkPolyDataAlgorithm. The error seems to deal with the differences between vtkSphereSource and vtkPolyDataAlgorithm. Especially, Execute is an old method that certainly exists in vtkSphereSource -old old source-, but *maybe* not, or in vtkPolyDataAlgorithm that comes from vtk-5.x design.<br>

<br>For the RequestInformation redefinition in your class, I really don&#39;t know. I effectively implement it when I need to pre-define some parameters. In your case, It could be the EllipsoidTransform member&#39;s parameters set...<br>

<br>HTH,<br>Jerome<br></blockquote><div><br>Thanks a lot Jerome - that was exactly the problem.<br>
<br clear="all">Thanks,<br><br>David<br> 
<br></div></div>