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

GUI/Client/vtkPVExponentialKeyFrame.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVExponentialKeyFrame.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 __vtkPVExponentialKeyFrame_h
00022 #define __vtkPVExponentialKeyFrame_h
00023 
00024 #include "vtkPVPropertyKeyFrame.h"
00025 
00026 class vtkKWThumbWheel;
00027 class vtkKWLabel;
00028 
00029 class VTK_EXPORT vtkPVExponentialKeyFrame : public vtkPVPropertyKeyFrame
00030 {
00031 public:
00032   static vtkPVExponentialKeyFrame* New();
00033   vtkTypeRevisionMacro(vtkPVExponentialKeyFrame, vtkPVPropertyKeyFrame);
00034   void PrintSelf(ostream& os, vtkIndent indent);
00035 
00037 
00038   void BaseChangedCallback();
00039   void StartPowerChangedCallback();
00040   void EndPowerChangedCallback();
00042 
00043   void SetBase(double base);
00044   void SetBaseWithTrace(double base);
00045   double GetBase();
00046   
00047   void SetStartPower(double v);
00048   void SetStartPowerWithTrace(double v);
00049   double GetStartPower();
00050   
00051   void SetEndPower(double v);
00052   void SetEndPowerWithTrace(double v);
00053   double GetEndPower();
00054 
00055   virtual void SaveState(ofstream* file);
00056   virtual void UpdateEnableState();
00057 
00058 protected:
00059   vtkPVExponentialKeyFrame();
00060   ~vtkPVExponentialKeyFrame();
00061 
00062   virtual void ChildCreate(vtkKWApplication* app);
00063 
00064   vtkKWLabel* BaseLabel;
00065   vtkKWThumbWheel* BaseThumbWheel;
00066 
00067   vtkKWLabel* StartPowerLabel;
00068   vtkKWThumbWheel* StartPowerThumbWheel;
00069 
00070   vtkKWLabel* EndPowerLabel;
00071   vtkKWThumbWheel* EndPowerThumbWheel;
00072 
00073   virtual void UpdateValuesFromProxy();
00074 private:
00075   vtkPVExponentialKeyFrame(const vtkPVExponentialKeyFrame&); // Not implemented.
00076   void operator=(const vtkPVExponentialKeyFrame&); // Not implemented.
00077   
00078 };
00079 
00080 #endif

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