93 #ifndef __vtkWidgetSet_h
94 #define __vtkWidgetSet_h
97 #include <vtkstd/vector>
125 virtual void SetEnabled(
int);
126 vtkBooleanMacro(Enabled,
int);
136 unsigned int GetNumberOfWidgets();
152 template <
class TW
idget >
157 for (WidgetIteratorType it = this->Widget.begin();
158 it != this->Widget.end() ; ++it)
160 TWidget *w =
static_cast<TWidget *
>(*it);
163 ((*w).*(action))(caller);
170 for (WidgetIteratorType it = this->Widget.begin();
171 it != this->Widget.end() ; ++it)
173 TWidget *w =
static_cast<TWidget *
>(*it);
174 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