I am trying to create an ellipsoid source by simply creating a subclass
of vtkSphereSource and applying a transformation to it. Before even
writing the transformation code, I wanted to make sure the new subclass
was working properly so I created a quick test VisualizeEllipsoid.cpp
(this along with the vtkEllipsoidSource class can be found here: <a href="http://www.rpi.edu/%7Edoriad/VTK_List/vtkEllipsoidSource/" target="_blank">http://www.rpi.edu/~doriad/VTK_List/vtkEllipsoidSource/</a>)<br>
<br>If I do not override RequestData(), the example works properly and
displays a sphere. However if I override RequestData to simply call the
parent class (SphereSource) RequestData function, I get the following
error:<br>
<br>vtkEllipsoidSource (0x8b27df8): Definition of Execute() method
should be in subclass and you should really use the
ExecuteData(vtkInformation *request,...) signature instead<br><br>Can
anyone explain what this means? Also, it looks like the
RequestInformation function of vtkSphereSource is creating a bounding
box. What is this used for? (i.e. do I actually need to override
RequestInformation for the new source to find the ellipsoid's bounding
box?)<br>
<br clear="all">Thanks,<br><br>David<br>