VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 "vtkIOXMLModule.h" // For export macro
26 #include "vtkXMLPDataWriter.h"
27 
29 
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
36  // See the vtkAlgorithm for a description of what these do
37  virtual int ProcessRequest(vtkInformation* request,
38  vtkInformationVector** inputVector,
39  vtkInformationVector* outputVector);
40 
41 protected:
44 
45  virtual vtkXMLStructuredDataWriter* CreateStructuredPieceWriter()=0;
46  void WritePrimaryElementAttributes(ostream &os, vtkIndent indent);
47  void WritePPieceAttributes(int index);
49 
50  virtual int RequestUpdateExtent(vtkInformation* request,
51  vtkInformationVector** inputVector,
52  vtkInformationVector* outputVector);
53 
54 private:
55  vtkXMLPStructuredDataWriter(const vtkXMLPStructuredDataWriter&); // Not implemented.
56  void operator=(const vtkXMLPStructuredDataWriter&); // Not implemented.
57 };
58 
59 #endif
virtual void WritePPieceAttributes(int index)
GLuint index
Definition: vtkgl.h:11983
Store vtkAlgorithm input/output information.
Superclass for VTK XML structured data writers.
Superclass for VTK's XML file writers.
Definition: vtkXMLWriter.h:52
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKIOXML_EXPORT
Write data in a parallel XML format.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void WritePrimaryElementAttributes(ostream &os, vtkIndent indent)
virtual vtkXMLWriter * CreatePieceWriter(int index)=0
Store zero or more vtkInformation instances.
Superclass for PVTK XML structured data writers.
void PrintSelf(ostream &os, vtkIndent indent)