94 #ifndef vtkWidgetSet_h 95 #define vtkWidgetSet_h 97 #include "vtkInteractionWidgetsModule.h" 124 void PrintSelf(ostream& os,
vtkIndent indent)
override;
148 unsigned int GetNumberOfWidgets();
167 template <
class TW
idget >
172 for (WidgetIteratorType it = this->Widget.begin();
173 it != this->Widget.end() ; ++it)
175 TWidget *w =
static_cast<TWidget *
>(*it);
178 ((*w).*(action))(caller);
185 for (WidgetIteratorType it = this->Widget.begin();
186 it != this->Widget.end() ; ++it)
188 TWidget *w =
static_cast<TWidget *
>(*it);
189 if (caller != w) ((*w).*(action))(caller);
void(TWidget::* TActionFunctionPointer)(TWidget *dispatcher)
abstract base class for most VTK objects
a simple class to control print indentation