VTK
vtkXMLImageDataWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLImageDataWriter.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 vtkXMLImageDataWriter_h
32 #define vtkXMLImageDataWriter_h
33 
34 #include "vtkIOXMLModule.h" // For export macro
36 
37 class vtkImageData;
38 
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
46  //BTX
48 
50  //ETX
52 
54  const char* GetDefaultFileExtension();
55 
56 protected:
59 
60  // see algorithm for more info
62 
63  void WritePrimaryElementAttributes(ostream &os, vtkIndent indent);
64  void GetInputExtent(int* extent);
65  const char* GetDataSetName();
66 
67 private:
68  vtkXMLImageDataWriter(const vtkXMLImageDataWriter&); // Not implemented.
69  void operator=(const vtkXMLImageDataWriter&); // Not implemented.
70 };
71 
72 #endif
VTKIOXML_EXPORT
#define VTKIOXML_EXPORT
Definition: vtkIOXMLModule.h:15
vtkXMLImageDataWriter::GetInput
vtkImageData * GetInput()
vtkXMLImageDataWriter::~vtkXMLImageDataWriter
~vtkXMLImageDataWriter()
vtkXMLImageDataWriter::vtkXMLImageDataWriter
vtkXMLImageDataWriter()
vtkXMLImageDataWriter::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkXMLImageDataWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkXMLStructuredDataWriter.h
vtkXMLImageDataWriter::GetDefaultFileExtension
const char * GetDefaultFileExtension()
vtkIOXMLModule.h
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkXMLImageDataWriter::GetInputExtent
void GetInputExtent(int *extent)
vtkXMLImageDataWriter::GetDataSetName
const char * GetDataSetName()
vtkXMLImageDataWriter
Write VTK XML ImageData files.
Definition: vtkXMLImageDataWriter.h:40
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkXMLImageDataWriter::New
static vtkXMLImageDataWriter * New()
vtkXMLImageDataWriter::WritePrimaryElementAttributes
void WritePrimaryElementAttributes(ostream &os, vtkIndent indent)
vtkXMLStructuredDataWriter
Superclass for VTK XML structured data writers.
Definition: vtkXMLStructuredDataWriter.h:33
vtkX3D::extent
@ extent
Definition: vtkX3D.h:345