[vtkusers] Subclass vtkSphereSource to set the radius by a pointer

M. Jordan mjordan at live.at
Thu Aug 10 10:47:56 EDT 2017


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170810/e52036a6/attachment.html>


More information about the vtkusers mailing list