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

vtkEnSightMasterServerReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkEnSightMasterServerReader.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
00033 #ifndef __vtkEnSightMasterServerReader_h
00034 #define __vtkEnSightMasterServerReader_h
00035 
00036 #include "vtkGenericEnSightReader.h"
00037 
00038 class vtkCollection;
00039 
00040 class VTK_IO_EXPORT vtkEnSightMasterServerReader : public vtkGenericEnSightReader
00041 {
00042 public:
00043   vtkTypeRevisionMacro(vtkEnSightMasterServerReader, vtkGenericEnSightReader);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00046   static vtkEnSightMasterServerReader* New();
00047 
00049   int DetermineFileName(int piece);
00050 
00052 
00053   vtkGetStringMacro(PieceCaseFileName);
00055 
00057 
00058   vtkSetMacro(CurrentPiece, int);
00059   vtkGetMacro(CurrentPiece, int);
00061   
00062 protected:
00063   vtkEnSightMasterServerReader();
00064   ~vtkEnSightMasterServerReader();
00065   
00066   void Execute();
00067   void ExecuteInformation();
00068 
00069   vtkSetStringMacro(PieceCaseFileName);
00070   char* PieceCaseFileName;
00071   int MaxNumberOfPieces;
00072   int CurrentPiece;
00073 
00074 private:
00075   vtkEnSightMasterServerReader(const vtkEnSightMasterServerReader&);  // Not implemented.
00076   void operator=(const vtkEnSightMasterServerReader&);  // Not implemented.
00077 };
00078 
00079 #endif