93 #ifndef vtkWidgetSet_h
94 #define vtkWidgetSet_h
126 virtual void SetEnabled(
int);
127 vtkBooleanMacro(Enabled,
int);
137 unsigned int GetNumberOfWidgets();
153 template <
class TW
idget >
158 for (WidgetIteratorType it = this->Widget.begin();
159 it != this->Widget.end() ; ++it)
161 TWidget *w =
static_cast<TWidget *
>(*it);
164 ((*w).*(action))(caller);
171 for (WidgetIteratorType it = this->Widget.begin();
172 it != this->Widget.end() ; ++it)
174 TWidget *w =
static_cast<TWidget *
>(*it);
175 if (caller != w) ((*w).*(action))(caller);
void(TWidget::* TActionFunctionPointer)(TWidget *dispatcher)
abstract base class for most VTK objects
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation