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 =========================================================================*/
32 #ifndef vtkXMLPDataSetWriter_h
33 #define vtkXMLPDataSetWriter_h
34 
35 #include "vtkIOParallelXMLModule.h" // For export macro
36 #include "vtkXMLPDataWriter.h"
37 
38 class VTKIOPARALLELXML_EXPORT vtkXMLPDataSetWriter : public vtkXMLPDataWriter
39 {
40 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43  static vtkXMLPDataSetWriter* New();
44 
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&) VTK_DELETE_FUNCTION;
67  void operator=(const vtkXMLPDataSetWriter&) VTK_DELETE_FUNCTION;
68 };
69 
70 #endif
vtkXMLWriter::GetDefaultFileExtension
virtual const char * GetDefaultFileExtension()=0
Get the default file extension for files written by this writer.
vtkAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkXMLPDataWriter
Write data in a parallel XML format.
Definition: vtkXMLPDataWriter.h:34
vtkXMLPDataWriter.h
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkXMLWriter
Superclass for VTK's XML file writers.
Definition: vtkXMLWriter.h:53
vtkXMLPDataWriter::WriteInternal
virtual int WriteInternal()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkXMLWriter::GetDataSetName
virtual const char * GetDataSetName()=0
vtkXMLWriter::GetInput
vtkDataObject * GetInput()
Definition: vtkXMLWriter.h:213
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkXMLPDataSetWriter
Write any type of PVTK XML file.
Definition: vtkXMLPDataSetWriter.h:38
vtkX3D::index
@ index
Definition: vtkX3D.h:246
vtkXMLPDataWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkXMLPDataWriter::CreatePieceWriter
virtual vtkXMLWriter * CreatePieceWriter(int index)=0