Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/IO/vtkXMLPImageDataWriter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkXMLPImageDataWriter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00032 #ifndef __vtkXMLPImageDataWriter_h 00033 #define __vtkXMLPImageDataWriter_h 00034 00035 #include "vtkXMLPStructuredDataWriter.h" 00036 00037 class vtkImageData; 00038 00039 class VTK_IO_EXPORT vtkXMLPImageDataWriter : public vtkXMLPStructuredDataWriter 00040 { 00041 public: 00042 static vtkXMLPImageDataWriter* New(); 00043 vtkTypeRevisionMacro(vtkXMLPImageDataWriter,vtkXMLPStructuredDataWriter); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 00048 void SetInput(vtkImageData* input); 00049 vtkImageData* GetInput(); 00051 00053 const char* GetDefaultFileExtension(); 00054 00055 protected: 00056 vtkXMLPImageDataWriter(); 00057 ~vtkXMLPImageDataWriter(); 00058 00059 const char* GetDataSetName(); 00060 void WritePrimaryElementAttributes(); 00061 vtkXMLStructuredDataWriter* CreateStructuredPieceWriter(); 00062 00063 private: 00064 vtkXMLPImageDataWriter(const vtkXMLPImageDataWriter&); // Not implemented. 00065 void operator=(const vtkXMLPImageDataWriter&); // Not implemented. 00066 }; 00067 00068 #endif