IO/vtkXMLPStructuredDataWriter.h Source File

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

# IO/vtkXMLPStructuredDataWriter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkXMLPStructuredDataWriter.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 =========================================================================*/
    00036 #ifndef __vtkXMLPStructuredDataWriter_h
    00037 #define __vtkXMLPStructuredDataWriter_h
    00038
    00039 #include "vtkXMLPDataWriter.h"
    00040
    00041 class vtkXMLStructuredDataWriter;
    00042 class vtkExtentTranslator;
    00043
    00044 class VTK_IO_EXPORT vtkXMLPStructuredDataWriter : public vtkXMLPDataWriter
    00045 {
    00046 public:
    00047   vtkTypeRevisionMacro(vtkXMLPStructuredDataWriter,vtkXMLPDataWriter);
    00048   void PrintSelf(ostream& os, vtkIndent indent);
    00049
    00051
    00052   virtual void SetExtentTranslator(vtkExtentTranslator*);
    00053   vtkGetObjectMacro(ExtentTranslator, vtkExtentTranslator);
    00055
    00056 protected:
    00057   vtkXMLPStructuredDataWriter();
    00058   ~vtkXMLPStructuredDataWriter();
    00059
    00060   virtual vtkXMLStructuredDataWriter* CreateStructuredPieceWriter()=0;
    00061   void WritePrimaryElementAttributes();
    00062   void WritePPieceAttributes(int index);
    00063   vtkXMLWriter* CreatePieceWriter(int index);
    00064
    00065   vtkExtentTranslator* ExtentTranslator;
    00066
    00067 private:
    00068   vtkXMLPStructuredDataWriter(const vtkXMLPStructuredDataWriter&);  // Not implemented.
    00069   void operator=(const vtkXMLPStructuredDataWriter&);  // Not implemented.
    00070 };
    00071
    00072 #endif