00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00025 #ifndef __vtkPVPickSphereWidget_h
00026 #define __vtkPVPickSphereWidget_h
00027
00028 #include "vtkPVSphereWidget.h"
00029
00030 class vtkKWLabel;
00031
00032 class vtkKWCheckButton;
00033
00034 class VTK_EXPORT vtkPVPickSphereWidget : public vtkPVSphereWidget
00035 {
00036 public:
00037 static vtkPVPickSphereWidget* New();
00038 vtkTypeRevisionMacro(vtkPVPickSphereWidget, vtkPVSphereWidget);
00039
00040 void PrintSelf(ostream& os, vtkIndent indent);
00041
00043 virtual void Trace(ofstream *file);
00044
00051 virtual void UpdateEnableState();
00052
00053
00054 void SetMouseControlToggle();
00055 int GetMouseControlToggleInternal();
00056 vtkGetObjectMacro(MouseControlToggle,vtkKWCheckButton);
00057
00058 protected:
00059 vtkPVPickSphereWidget();
00060 ~vtkPVPickSphereWidget();
00061
00063 virtual void ChildCreate(vtkPVApplication*);
00064
00065
00066 vtkKWLabel* InstructionsLabel;
00067 vtkKWCheckButton* MouseControlToggle;
00068 int MouseControlFlag;
00069
00070 private:
00071 vtkPVPickSphereWidget(const vtkPVPickSphereWidget&);
00072 void operator=(const vtkPVPickSphereWidget&);
00073 };
00074
00075 #endif