00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00035 #ifndef __vtkPVExtractDataSetsWidget_h
00036 #define __vtkPVExtractDataSetsWidget_h
00037
00038 #include "vtkPVWidget.h"
00039
00040 class vtkKWPushButton;
00041 class vtkKWWidget;
00042 class vtkKWListBox;
00043 class vtkKWFrame;
00044
00045
00046 struct vtkPVExtractDataSetsWidgetInternals;
00047
00048
00049 class VTK_EXPORT vtkPVExtractDataSetsWidget : public vtkPVWidget
00050 {
00051 public:
00052 static vtkPVExtractDataSetsWidget* New();
00053 vtkTypeRevisionMacro(vtkPVExtractDataSetsWidget, vtkPVWidget);
00054 void PrintSelf(ostream& os, vtkIndent indent);
00055
00057 void Create(vtkKWApplication *app);
00058
00060 void SaveInBatchScript(ofstream *file);
00061
00063
00064 void AllOnCallback();
00065 void AllOffCallback();
00067
00069 void SetSelectState(int idx, int val);
00070
00072 virtual void Trace(ofstream *file);
00073
00076 virtual void Accept();
00077
00079
00080 virtual void ResetInternal();
00081 virtual void Initialize();
00083
00090 virtual void UpdateEnableState();
00091
00094 void PartSelectionCallback();
00095
00096 protected:
00097 vtkPVExtractDataSetsWidget();
00098 ~vtkPVExtractDataSetsWidget();
00099
00100 vtkKWFrame* ButtonFrame;
00101 vtkKWPushButton* AllOnButton;
00102 vtkKWPushButton* AllOffButton;
00103
00104 vtkKWListBox* PartSelectionList;
00105
00106 void CommonInit();
00107
00108 private:
00109 vtkPVExtractDataSetsWidgetInternals* Internal;
00110 vtkPVExtractDataSetsWidget(const vtkPVExtractDataSetsWidget&);
00111 void operator=(const vtkPVExtractDataSetsWidget&);
00112 };
00113
00114 #endif