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 =========================================================================*/
28 #ifndef __vtkXMLPImageDataWriter_h
29 #define __vtkXMLPImageDataWriter_h
30 
32 
33 class vtkImageData;
34 
36 {
37 public:
38  static vtkXMLPImageDataWriter* New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
42  //BTX
44 
46  //ETX
48 
50  const char* GetDefaultFileExtension();
51 
52 protected:
55 
56  const char* GetDataSetName();
57  void WritePrimaryElementAttributes(ostream &os, vtkIndent indent);
59 
60  // see algorithm for more info
62 
63 private:
64  vtkXMLPImageDataWriter(const vtkXMLPImageDataWriter&); // Not implemented.
65  void operator=(const vtkXMLPImageDataWriter&); // Not implemented.
66 };
67 
68 #endif
virtual const char * GetDataSetName()=0
virtual vtkXMLStructuredDataWriter * CreateStructuredPieceWriter()=0
vtkDataObject * GetInput()
Definition: vtkXMLWriter.h:180
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for VTK XML structured data writers.
a simple class to control print indentation
Definition: vtkIndent.h:37
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
Write PVTK XML ImageData files.
virtual const char * GetDefaultFileExtension()=0
virtual int FillInputPortInformation(int port, vtkInformation *info)
static vtkAlgorithm * New()
#define VTK_IO_EXPORT
Superclass for PVTK XML structured data writers.
void WritePrimaryElementAttributes(ostream &os, vtkIndent indent)