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

GUI/Client/vtkXDMFReaderModule.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkXDMFReaderModule.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 =========================================================================*/
00032 #ifndef __vtkXDMFReaderModule_h
00033 #define __vtkXDMFReaderModule_h
00034 
00035 #include "vtkPVAdvancedReaderModule.h"
00036 
00037 class vtkKWMenuButton;
00038 class vtkKWListBoxWithScrollbars;
00039 class vtkXDMFReaderModuleInternal;
00040 class vtkKWFrameWithLabel;
00041 
00042 class VTK_EXPORT vtkXDMFReaderModule : public vtkPVAdvancedReaderModule
00043 {
00044 public:
00045   static vtkXDMFReaderModule* New();
00046   vtkTypeRevisionMacro(vtkXDMFReaderModule, vtkPVAdvancedReaderModule);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048     
00050 
00054   virtual int Initialize(const char* fname, vtkPVReaderModule*& prm);
00055   virtual int ReadFileInformation(const char* fname);
00056   virtual int Finalize(const char* fname);
00058 
00061   virtual void SaveState(ofstream *file);
00062 
00063   vtkSetStringMacro(Domain);
00064 
00065   void UpdateGrids();
00066   void UpdateDomains();
00067 
00068   void EnableGrid(const char* grid);
00069   void EnableAllGrids();
00070 
00073   virtual void SaveInBatchScript(ofstream *file);
00074 
00075 protected:
00076   vtkXDMFReaderModule();
00077   ~vtkXDMFReaderModule();
00078 
00079   vtkKWFrameWithLabel *DomainGridFrame;
00080   vtkKWMenuButton *DomainMenu;
00081   vtkKWListBoxWithScrollbars* GridSelection;
00082 
00083   char *Domain;
00084   vtkXDMFReaderModuleInternal* Internals;
00085 
00086 private:
00087   vtkXDMFReaderModule(const vtkXDMFReaderModule&); // Not implemented
00088   void operator=(const vtkXDMFReaderModule&); // Not implemented
00089 };
00090 
00091 #endif

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