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

GUI/Client/vtkPVGroupInputsWidget.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVGroupInputsWidget.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 =========================================================================*/
00024 #ifndef __vtkPVGroupInputsWidget_h
00025 #define __vtkPVGroupInputsWidget_h
00026 
00027 #include "vtkPVWidget.h"
00028 
00029 class vtkKWPushButton;
00030 class vtkKWWidget;
00031 class vtkKWListBox;
00032 class vtkCollection;
00033 class vtkPVSourceCollection;
00034 class vtkPVSourceVectorInternals;
00035 class vtkSMInputProperty;
00036 
00037 class VTK_EXPORT vtkPVGroupInputsWidget : public vtkPVWidget
00038 {
00039 public:
00040   static vtkPVGroupInputsWidget* New();
00041   vtkTypeRevisionMacro(vtkPVGroupInputsWidget, vtkPVWidget);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043     
00045   void Create(vtkKWApplication *app);
00046 
00048   void SaveInBatchScript(ofstream *file);
00049 
00050   //BTX
00052 
00054   virtual void Accept();
00055   //ETX
00057 
00059   virtual void ResetInternal();
00060 
00062   virtual void Initialize();
00063 
00065   virtual void Trace(ofstream *file);
00066 
00068   void SetSelectState(vtkPVSource* input, int val);
00069 
00071 
00072   void AllOnCallback();
00073   void AllOffCallback();
00075 
00076 
00077 protected:
00078   vtkPVGroupInputsWidget();
00079   ~vtkPVGroupInputsWidget();
00080 
00081   vtkPVSourceVectorInternals *Internal;
00082 
00083   vtkKWListBox* PartSelectionList;
00084   // Labels get substituted for list box after accept is called.
00085   vtkCollection* PartLabelCollection;
00086 
00087 
00088   // Called to inactivate widget (after accept is called).
00089   void Inactivate();
00090   
00091   vtkSMInputProperty* GetInputProperty();
00092   int CheckSource(vtkPVSource *pvs);
00093 
00094   
00095   vtkPVGroupInputsWidget(const vtkPVGroupInputsWidget&); // Not implemented
00096   void operator=(const vtkPVGroupInputsWidget&); // Not implemented
00097 };
00098 
00099 #endif

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