VTK
vtkXMLPDataSetWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLPDataSetWriter.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 =========================================================================*/
31 #ifndef __vtkXMLPDataSetWriter_h
32 #define __vtkXMLPDataSetWriter_h
33 
34 #include "vtkXMLPDataWriter.h"
35 
37 {
38 public:
40  void PrintSelf(ostream& os, vtkIndent indent);
41  static vtkXMLPDataSetWriter* New();
42 
43  //BTX
45 
47  //ETX
49 
50 protected:
53 
54  // see algorithm for more info
56 
57  // Override writing method from superclass.
58  virtual int WriteInternal();
59 
60  // Dummies to satisfy pure virtuals from superclass.
61  const char* GetDataSetName();
62  const char* GetDefaultFileExtension();
64 
65 private:
66  vtkXMLPDataSetWriter(const vtkXMLPDataSetWriter&); // Not implemented.
67  void operator=(const vtkXMLPDataSetWriter&); // Not implemented.
68 };
69 
70 #endif
virtual const char * GetDataSetName()=0
vtkDataObject * GetInput()
Definition: vtkXMLWriter.h:180
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
Write any type of PVTK XML file.
virtual int WriteInternal()
Superclass for VTK's XML file writers.
Definition: vtkXMLWriter.h:50
a simple class to control print indentation
Definition: vtkIndent.h:37
Write data in a parallel XML format.
virtual const char * GetDefaultFileExtension()=0
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual vtkXMLWriter * CreatePieceWriter(int index)=0
static vtkAlgorithm * New()
#define VTK_IO_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)