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

GUI/Client/vtkPVBoundsDisplay.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVBoundsDisplay.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 =========================================================================*/
00021 #ifndef __vtkPVBoundsDisplay_h
00022 #define __vtkPVBoundsDisplay_h
00023 
00024 #include "vtkPVWidget.h"
00025 
00026 class vtkKWApplication;
00027 class vtkKWBoundsDisplay;
00028 
00029 class VTK_EXPORT vtkPVBoundsDisplay : public vtkPVWidget
00030 {
00031 public:
00032   static vtkPVBoundsDisplay* New();
00033   vtkTypeRevisionMacro(vtkPVBoundsDisplay, vtkPVWidget);
00034   void PrintSelf(ostream& os, vtkIndent indent);
00035 
00037   virtual void Create(vtkKWApplication *app);
00038 
00040   virtual void Update();
00041 
00043   virtual void Initialize() {};
00044 
00046 
00047   virtual void SetWidget(vtkKWBoundsDisplay*);
00048   vtkGetObjectMacro(Widget, vtkKWBoundsDisplay);
00050 
00052 
00053   vtkSetMacro(ShowHideFrame, int);
00054   vtkBooleanMacro(ShowHideFrame, int);
00055   vtkGetMacro(ShowHideFrame, int);
00057 
00059 
00060   void SetLabel(const char* label);
00061   const char* GetLabel();
00063   
00064 //BTX
00066 
00069   vtkPVBoundsDisplay* 
00070     ClonePrototype(vtkPVSource* pvSource,
00071                    vtkArrayMap<vtkPVWidget*, vtkPVWidget*>* map);
00073 //ETX
00074 
00076   virtual void SaveInBatchScript(ofstream*) {};
00077 
00079   virtual void Trace(ofstream*) {};
00080 
00087   virtual void UpdateEnableState();
00088 
00091   virtual void Accept() {this->Superclass::Accept();}
00092 
00093 protected:
00094   vtkPVBoundsDisplay();
00095   ~vtkPVBoundsDisplay();
00096 
00097   int ShowHideFrame;
00098   vtkKWBoundsDisplay *Widget;
00099 
00100   vtkPVBoundsDisplay(const vtkPVBoundsDisplay&); // Not implemented
00101   void operator=(const vtkPVBoundsDisplay&); // Not implemented
00102 
00103   vtkGetStringMacro(FrameLabel);
00104   vtkSetStringMacro(FrameLabel);
00105 
00106   char* FrameLabel;
00107 
00108 //BTX
00109   virtual void CopyProperties(vtkPVWidget* clone, vtkPVSource* pvSource,
00110                               vtkArrayMap<vtkPVWidget*, vtkPVWidget*>* map);
00111   vtkPVWidget* ClonePrototypeInternal(
00112     vtkPVSource* pvSource, vtkArrayMap<vtkPVWidget*, vtkPVWidget*>* map);
00113 //ETX
00114 
00115   int ReadXMLAttributes(vtkPVXMLElement* element,
00116                         vtkPVXMLPackageParser* parser);
00117 };
00118 
00119 
00120 #endif

Generated on Tue May 30 12:31:38 2006 for ParaView by doxygen 1.3.5