Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

GUI/Client/vtkPVExtractPartsWidget.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVExtractPartsWidget.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00026 #ifndef __vtkPVExtractPartsWidget_h
00027 #define __vtkPVExtractPartsWidget_h
00028 
00029 #include "vtkPVWidget.h"
00030 
00031 class vtkKWPushButton;
00032 class vtkKWWidget;
00033 class vtkKWListBox;
00034 class vtkCollection;
00035 class vtkKWFrame;
00036 
00037 class VTK_EXPORT vtkPVExtractPartsWidget : public vtkPVWidget
00038 {
00039 public:
00040   static vtkPVExtractPartsWidget* New();
00041   vtkTypeRevisionMacro(vtkPVExtractPartsWidget, vtkPVWidget);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043     
00045   void Create(vtkKWApplication *app);
00046 
00048   void SaveInBatchScript(ofstream *file);
00049 
00051 
00052   void AllOnCallback();
00053   void AllOffCallback();
00055 
00057   void SetSelectState(int idx, int val);
00058 
00060   virtual void Trace(ofstream *file);
00061 
00064   virtual void Accept();
00065 
00067 
00068   virtual void ResetInternal();
00069   virtual void Initialize();
00071 
00078   virtual void UpdateEnableState();
00079  
00080   void PartSelectionCallback();
00081 
00082 protected:
00083   vtkPVExtractPartsWidget();
00084   ~vtkPVExtractPartsWidget();
00085 
00086   vtkKWFrame* ButtonFrame;
00087   vtkKWPushButton* AllOnButton;
00088   vtkKWPushButton* AllOffButton;
00089 
00090   vtkKWListBox* PartSelectionList;
00091   // Labels get substituted for list box after accept is called.
00092   vtkCollection* PartLabelCollection;
00093 
00094   // Called to inactivate widget (after accept is called).
00095   void Inactivate();
00096 
00097   void CommonInit();
00098 
00099   vtkPVExtractPartsWidget(const vtkPVExtractPartsWidget&); // Not implemented
00100   void operator=(const vtkPVExtractPartsWidget&); // Not implemented
00101 };
00102 
00103 #endif

Generated on Tue May 30 12:31:39 2006 for ParaView by doxygen 1.3.5