VTK
vtkXMLPStructuredDataWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLPStructuredDataWriter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef __vtkXMLPStructuredDataWriter_h
23 #define __vtkXMLPStructuredDataWriter_h
24 
25 #include "vtkXMLPDataWriter.h"
26 
28 
30 {
31 public:
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
35  // See the vtkAlgorithm for a description of what these do
36  virtual int ProcessRequest(vtkInformation* request,
37  vtkInformationVector** inputVector,
38  vtkInformationVector* outputVector);
39 
40 protected:
43 
44  virtual vtkXMLStructuredDataWriter* CreateStructuredPieceWriter()=0;
45  void WritePrimaryElementAttributes(ostream &os, vtkIndent indent);
46  void WritePPieceAttributes(int index);
48 
49  virtual int RequestUpdateExtent(vtkInformation* request,
50  vtkInformationVector** inputVector,
51  vtkInformationVector* outputVector);
52 
53 private:
54  vtkXMLPStructuredDataWriter(const vtkXMLPStructuredDataWriter&); // Not implemented.
55  void operator=(const vtkXMLPStructuredDataWriter&); // Not implemented.
56 };
57 
58 #endif