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

Servers/ServerManager/vtkSMKeyFrameProxy.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMKeyFrameProxy.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 =========================================================================*/
00025 #ifndef __vtkSMKeyFrameProxy_h
00026 #define __vtkSMKeyFrameProxy_h
00027 
00028 #include "vtkSMProxy.h"
00029 
00030 class vtkSMKeyFrameProxyInternals;
00031 class vtkSMAnimationCueProxy;
00032 struct vtkClientServerID;
00033 
00034 class VTK_EXPORT vtkSMKeyFrameProxy : public vtkSMProxy
00035 {
00036 public:
00037   vtkTypeRevisionMacro(vtkSMKeyFrameProxy, vtkSMProxy);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039   static vtkSMKeyFrameProxy* New();
00040   
00041   virtual void SaveInBatchScript(ofstream* file);
00042 
00044 
00047   vtkSetMacro(KeyTime, double);
00048   vtkGetMacro(KeyTime, double);
00050 
00052 
00054   void SetKeyValue(double val) { this->SetKeyValue(0, val); }
00055   void SetKeyValue(unsigned int index, double val);
00056   double GetKeyValue() { return this->GetKeyValue(0); }
00057   double GetKeyValue(unsigned int index);
00059 
00061 
00062   unsigned int GetNumberOfKeyValues();
00063   void SetNumberOfKeyValues(unsigned int num);
00065   
00067 
00070   virtual void UpdateValue(double currenttime,
00071     vtkSMAnimationCueProxy* cueProxy, vtkSMKeyFrameProxy* next);
00073 //BTX
00074   vtkClientServerID GetID() { return this->SelfID; }
00075 //ETX
00076   
00078 
00079   virtual void Copy(vtkSMProxy* src, const char* exceptionClass, 
00080     int proxyPropertyCopyFlag);
00082 protected:
00083   vtkSMKeyFrameProxy();
00084   ~vtkSMKeyFrameProxy();
00085 
00086   double KeyTime;
00087   vtkSMKeyFrameProxyInternals* Internals;
00088 
00089 private:
00090   vtkSMKeyFrameProxy(const vtkSMKeyFrameProxy&); // Not implemented.
00091   void operator=(const vtkSMKeyFrameProxy&); // Not implemented.
00092 };
00093 
00094 #endif
00095 

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