00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWSaveImageDialog.h,v $ 00004 00005 Copyright (c) Kitware, Inc. 00006 All rights reserved. 00007 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00014 // .NAME vtkKWSaveImageDialog - a dialog for saving 2D images 00015 // .SECTION Description 00016 // A simple dialog for saving a 2D image as a BMP, TIFF, or PNM. 00017 00018 #ifndef __vtkKWSaveImageDialog_h 00019 #define __vtkKWSaveImageDialog_h 00020 00021 #include "vtkKWLoadSaveDialog.h" 00022 00023 class KWWidgets_EXPORT vtkKWSaveImageDialog : public vtkKWLoadSaveDialog 00024 { 00025 public: 00026 static vtkKWSaveImageDialog* New(); 00027 vtkTypeRevisionMacro(vtkKWSaveImageDialog,vtkKWLoadSaveDialog); 00028 void PrintSelf(ostream& os, vtkIndent indent); 00029 00030 // Description:: 00031 // Invoke the dialog 00032 virtual int Invoke(); 00033 00034 protected: 00035 vtkKWSaveImageDialog() {}; 00036 ~vtkKWSaveImageDialog() {}; 00037 00038 // Description: 00039 // Create the widget. 00040 virtual void CreateWidget(); 00041 00042 private: 00043 vtkKWSaveImageDialog(const vtkKWSaveImageDialog&); // Not implemented 00044 void operator=(const vtkKWSaveImageDialog&); // Not implemented 00045 }; 00046 00047 00048 #endif