CPlusPlus
Control The Size Of Model By VtkSliderWidget
We can use VTK observer-command mechanism to listen to slider value changing event and override our responding method void Execute(vtkObject *caller, unsigned long, void*) to change target item’s size. It’s easy to implement with the subclass of vtkCommand and vtkSliderWidget. The following example shows how to do it. I add Read more…