IO/vtkXMLPRectilinearGridWriter.h Source File

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

# IO/vtkXMLPRectilinearGridWriter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkXMLPRectilinearGridWriter.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 =========================================================================*/
    00043 #ifndef __vtkXMLPRectilinearGridWriter_h
    00044 #define __vtkXMLPRectilinearGridWriter_h
    00045
    00046 #include "vtkXMLPStructuredDataWriter.h"
    00047
    00048 class vtkRectilinearGrid;
    00049
    00050 class VTK_IO_EXPORT vtkXMLPRectilinearGridWriter : public vtkXMLPStructuredDataWriter
    00051 {
    00052 public:
    00053   static vtkXMLPRectilinearGridWriter* New();
    00054   vtkTypeRevisionMacro(vtkXMLPRectilinearGridWriter,vtkXMLPStructuredDataWriter);
    00055   void PrintSelf(ostream& os, vtkIndent indent);
    00056
    00058
    00059   void SetInput(vtkRectilinearGrid* input);
    00060   vtkRectilinearGrid* GetInput();
    00062
    00064   const char* GetDefaultFileExtension();
    00065
    00066 protected:
    00067   vtkXMLPRectilinearGridWriter();
    00068   ~vtkXMLPRectilinearGridWriter();
    00069
    00070   const char* GetDataSetName();
    00071   vtkXMLStructuredDataWriter* CreateStructuredPieceWriter();
    00072   void WritePData(vtkIndent indent);
    00073
    00074 private:
    00075   vtkXMLPRectilinearGridWriter(const vtkXMLPRectilinearGridWriter&);  // Not implemented.
    00076   void operator=(const vtkXMLPRectilinearGridWriter&);  // Not implemented.
    00077 };
    00078
    00079 #endif