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

GUI/Client/vtkPVThumbWheel.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVThumbWheel.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 =========================================================================*/
00020 #ifndef __vtkPVThumbWheel_h
00021 #define __vtkPVThumbWheel_h
00022 
00023 #include "vtkPVObjectWidget.h"
00024 
00025 class vtkKWLabel;
00026 class vtkKWThumbWheel;
00027 
00028 class VTK_EXPORT vtkPVThumbWheel : public vtkPVObjectWidget
00029 {
00030 public:
00031   static vtkPVThumbWheel* New();
00032   vtkTypeRevisionMacro(vtkPVThumbWheel, vtkPVObjectWidget);
00033   void PrintSelf(ostream &os, vtkIndent indent);
00034 
00036   virtual void Create(vtkKWApplication *pvApp);
00037   
00039 
00040   void SetValue(float val);
00041   float GetValue();
00043   
00045   void SetMinimumValue(float min);
00046   
00048   void SetResolution(float res);
00049   
00051   void SetLabel(const char *label);
00052   
00055   virtual void SetBalloonHelpString(const char *str);
00056   
00057 //BTX
00059 
00062   vtkPVThumbWheel* ClonePrototype(vtkPVSource *pvSource,
00063                                vtkArrayMap<vtkPVWidget*, vtkPVWidget*>* map);
00065 
00067 
00068   virtual void Accept();
00069   virtual void ResetInternal();
00071 
00073   virtual void Initialize();
00074 //ETX
00075 
00077   virtual void Trace(ofstream *file);
00078   
00085   virtual void UpdateEnableState();
00086 
00088   virtual void SaveInBatchScript(ofstream *file);
00089  
00090 protected:
00091   vtkPVThumbWheel();
00092   ~vtkPVThumbWheel();
00093 
00094   vtkKWLabel *Label;
00095   vtkKWThumbWheel *ThumbWheel;
00096   
00097 //BTX
00098   virtual void CopyProperties(vtkPVWidget *clone, vtkPVSource *source,
00099                               vtkArrayMap<vtkPVWidget*, vtkPVWidget*>* map);
00100 //ETX
00101   
00102   int ReadXMLAttributes(vtkPVXMLElement *element,
00103                         vtkPVXMLPackageParser *parser);
00104   
00105 private:
00106   vtkPVThumbWheel(const vtkPVThumbWheel&); // Not implemented
00107   void operator=(const vtkPVThumbWheel&); // Not implemented
00108 };
00109 
00110 #endif

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