Subclass vtkSphereSource to set the radius by a pointer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Subclass vtkSphereSource to set the radius by a pointer

Tom08

Hello,

instead of using the "->setRadius(double)" option, i would like to subClass the vtkSphereSource in such a way that it is possible to pass a pointer (double*) to it.
The goal is to simply assign a pointer once and the sphere should automatically change its radius when the double value, which the pointer is pointing to, changes.
I just want to call the "->update()" option of the Qt widget but avoid changing the radius manually.

Is this possible? Any ideas how to subclass the vtkSource?

Best Regards


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Loading...