<html>
<body>

        Hi everyone,<br />
        I've this problem: once I create an actor for my scene, I need to know the source that have generated that actor.For example:<br />
        <br />
        vtkSphereSource *sphere = vtkSphereSource::New();<br />
        sphere-&gt;SetRadius(1.0);<br />
        sphere-&gt;SetThetaResolution(20);<br />
        sphere-&gt;SetPhiResolution(20);<br />
        vtkPolyDataMapper *map = vtkPolyDataMapper::New();<br />
        map-&gt;SetInput(sphere-&gt;GetOutput());<br />
        vtkActor *aSphere = vtkActor::New();<br />
        aSphere-&gt;SetMapper(map);<br />
        <br />
        I need vtkSphereSource from aSphere; when I pick the aSphere actor from the scene, I need to be able to change the radius of the sphere, for example. In my contest, I don't have the vtkSphereSource a priori. A good idea is to take the vtkPolyData from the actor and get the class name, in this case vtkSphereSource. Hope that everything is clear...<br />
        <br />
        Best regards<br />
        <br />
    <br>
<br><br>-- Dada.net: fai nuove amicizie e ... guadagna con loro grazie a <a href="http://friends.dada.net/friends/people.php">friend$</a>! --

</body>
</html>