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

# IO/vtkEnSightMasterServerReader.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkEnSightMasterServerReader.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00037 #ifndef __vtkEnSightMasterServerReader_h
    00038 #define __vtkEnSightMasterServerReader_h
    00039
    00040 #include "vtkGenericEnSightReader.h"
    00041
    00042 class vtkCollection;
    00043
    00044 class VTK_IO_EXPORT vtkEnSightMasterServerReader : public vtkGenericEnSightReader
    00045 {
    00046 public:
    00047   vtkTypeRevisionMacro(vtkEnSightMasterServerReader, vtkGenericEnSightReader);
    00048   void PrintSelf(ostream& os, vtkIndent indent);
    00049
    00050   static vtkEnSightMasterServerReader* New();
    00051
    00053   int DetermineFileName(int piece);
    00054
    00056
    00057   vtkGetStringMacro(PieceCaseFileName);
    00059
    00061
    00062   vtkSetMacro(CurrentPiece, int);
    00063   vtkGetMacro(CurrentPiece, int);
    00065
    00066 protected:
    00067   vtkEnSightMasterServerReader();
    00068   ~vtkEnSightMasterServerReader();
    00069
    00070   void Execute();
    00071   void ExecuteInformation();
    00072
    00073   vtkSetStringMacro(PieceCaseFileName);
    00074   char* PieceCaseFileName;
    00075   int MaxNumberOfPieces;
    00076   int CurrentPiece;
    00077
    00078 private:
    00079   vtkEnSightMasterServerReader(const vtkEnSightMasterServerReader&);  // Not implemented.
    00080   void operator=(const vtkEnSightMasterServerReader&);  // Not implemented.
    00081 };
    00082
    00083 #endif