00001 /*========================================================================= 00002 00003 Program: ParaView 00004 Module: $RCSfile: vtkPVGhostLevelDialog.h,v $ 00005 00006 Copyright (c) Kitware, Inc. 00007 All rights reserved. 00008 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00023 #ifndef __vtkPVGhostLevelDialog_h 00024 #define __vtkPVGhostLevelDialog_h 00025 00026 #include "vtkKWDialog.h" 00027 00028 class vtkKWFrame; 00029 class vtkKWLabel; 00030 class vtkKWPushButton; 00031 class vtkKWWidget; 00032 00033 class VTK_EXPORT vtkPVGhostLevelDialog : public vtkKWDialog 00034 { 00035 public: 00036 static vtkPVGhostLevelDialog* New(); 00037 vtkTypeRevisionMacro(vtkPVGhostLevelDialog,vtkKWDialog); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 virtual void Create(vtkKWApplication *app); 00042 00044 00046 void SetGhostLevel(int level); 00047 vtkGetMacro(GhostLevel, int); 00049 00054 virtual int Invoke(); 00055 00056 protected: 00057 vtkPVGhostLevelDialog(); 00058 ~vtkPVGhostLevelDialog(); 00059 00060 int GhostLevel; 00061 00062 vtkKWFrame* Separator; 00063 vtkKWLabel* Label; 00064 vtkKWFrame* ButtonFrame; 00065 00066 vtkKWFrame *SelFrame1; 00067 vtkKWFrame *SelFrame2; 00068 vtkKWFrame *SelFrame3; 00069 00070 vtkKWPushButton* SelButton1; 00071 vtkKWPushButton* SelButton2; 00072 vtkKWPushButton* SelButton3; 00073 00074 private: 00075 vtkPVGhostLevelDialog(const vtkPVGhostLevelDialog&); // Not implemented 00076 void operator=(const vtkPVGhostLevelDialog&); // Not implemented 00077 }; 00078 00079 00080 #endif 00081 00082