Subclass vtkSphereSource to set the radius by a pointer
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?
Powered by www.kitware.com