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

GUI/Client/vtkPVProcessModuleGUIHelper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVProcessModuleGUIHelper.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 =========================================================================*/
00021 #ifndef __vtkPVProcessModuleGUIHelper_h
00022 #define __vtkPVProcessModuleGUIHelper_h
00023 
00024 #include "vtkProcessModuleGUIHelper.h"
00025 
00026 class vtkPVApplication;
00027 class vtkProcessModule;
00028 class vtkKWMessageDialog;
00029 
00030 class VTK_EXPORT vtkPVProcessModuleGUIHelper : public vtkProcessModuleGUIHelper
00031 {
00032 public: 
00033   static vtkPVProcessModuleGUIHelper* New();
00034   vtkTypeRevisionMacro(vtkPVProcessModuleGUIHelper,vtkProcessModuleGUIHelper);
00035   void PrintSelf(ostream& os, vtkIndent indent);
00037   virtual int RunGUIStart(int argc, char **argv, int numServerProcs, int myId); 
00038 
00040   virtual int OpenConnectionDialog(int* start);
00041   
00043 
00044   virtual void SendPrepareProgress();
00045   virtual void SendCleanupPendingProgress();
00046   virtual void SetLocalProgress(const char* filter, int progress);
00048 
00050 
00051   virtual void ExitApplication();
00052   // Description:
00053   // Set the Application pointer
00054   virtual void SetPVApplication(vtkPVApplication*);
00055   vtkPVApplication* GetPVApplication() 
00056     {
00057       return this->PVApplication;
00058     }
00060 
00062 
00064   virtual void PopupDialog(const char* title, const char* text);
00065   virtual int UpdatePopup();
00066   virtual void ClosePopup();
00067   //ETX
00069  
00070 protected:
00071   vtkPVProcessModuleGUIHelper();
00072   virtual ~vtkPVProcessModuleGUIHelper();
00073 
00074   int InitializeApplication();
00075   int FinalizeApplication();
00076   int ActualRun(int argc, char **argv);
00077 
00078 
00079 private:
00080   int BatchFlag;
00081 
00082   void* TclInterp;
00083 
00084   vtkKWMessageDialog* PopupDialogWidget;
00085 
00086 
00087   vtkPVApplication* PVApplication;
00088   vtkPVProcessModuleGUIHelper(const vtkPVProcessModuleGUIHelper&); // Not implemented
00089   void operator=(const vtkPVProcessModuleGUIHelper&); // Not implemented
00090 };
00091 
00092 #endif

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