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 
31 #include "vtkIOXMLModule.h" // For export macro
33 
34 class vtkImageData;
35 
37 {
38 public:
39  static vtkXMLPImageDataWriter* New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
43  //BTX
45 
47  //ETX
49 
51  const char* GetDefaultFileExtension();
52 
53 protected:
56 
57  const char* GetDataSetName();
58  void WritePrimaryElementAttributes(ostream &os, vtkIndent indent);
60 
61  // see algorithm for more info
63 
64 private:
65  vtkXMLPImageDataWriter(const vtkXMLPImageDataWriter&); // Not implemented.
66  void operator=(const vtkXMLPImageDataWriter&); // Not implemented.
67 };
68 
69 #endif
virtual const char * GetDataSetName()=0
virtual vtkXMLStructuredDataWriter * CreateStructuredPieceWriter()=0
vtkDataObject * GetInput()
Definition: vtkXMLWriter.h:187
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent)
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
Superclass for VTK XML structured data writers.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKIOXML_EXPORT
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)