[vtkusers] Subclass vtkSphereSource to set the radius by a pointer
mjordan at live.at
Thu Aug 10 10:47:56 EDT 2017
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers