VTK
vtkXMLPImageDataWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLPImageDataWriter.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 vtkXMLPImageDataWriter_h
32 #define vtkXMLPImageDataWriter_h
33 
34 #include "vtkIOParallelXMLModule.h" // For export macro
36 
37 class vtkImageData;
38 
40 {
41 public:
42  static vtkXMLPImageDataWriter* New();
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
46  //BTX
48 
50  //ETX
52 
54  const char* GetDefaultFileExtension();
55 
56 protected:
59 
60  const char* GetDataSetName();
61  void WritePrimaryElementAttributes(ostream &os, vtkIndent indent);
63 
64  // see algorithm for more info
66 
67 private:
68  vtkXMLPImageDataWriter(const vtkXMLPImageDataWriter&); // Not implemented.
69  void operator=(const vtkXMLPImageDataWriter&); // Not implemented.
70 };
71 
72 #endif
virtual const char * GetDataSetName()=0
virtual vtkXMLStructuredDataWriter * CreateStructuredPieceWriter()=0
vtkDataObject * GetInput()
Definition: vtkXMLWriter.h:196
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKIOPARALLELXML_EXPORT
Superclass for VTK XML structured data writers.
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
Write PVTK XML ImageData files.
virtual const char * GetDefaultFileExtension()=0
virtual int FillInputPortInformation(int port, vtkInformation *info)
static vtkAlgorithm * New()
Superclass for PVTK XML structured data writers.
void WritePrimaryElementAttributes(ostream &os, vtkIndent indent)