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

Servers/ServerManager/vtkSMCameraKeyFrameProxy.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMCameraKeyFrameProxy.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 __vtkSMCameraKeyFrameProxy_h
00022 #define __vtkSMCameraKeyFrameProxy_h
00023 
00024 #include "vtkSMKeyFrameProxy.h"
00025 
00026 class vtkCamera;
00027 class VTK_EXPORT vtkSMCameraKeyFrameProxy : public vtkSMKeyFrameProxy
00028 {
00029 public:
00030   static vtkSMCameraKeyFrameProxy* New();
00031   vtkTypeRevisionMacro(vtkSMCameraKeyFrameProxy, vtkSMKeyFrameProxy);
00032   void PrintSelf(ostream& os, vtkIndent indent);
00033 
00035 
00037   virtual void UpdateValue(double ,
00038     vtkSMAnimationCueProxy* , vtkSMKeyFrameProxy* )  { }
00040  
00044   void SetKeyValue(vtkSMProxy* cameraProxy);
00045 
00046   // Overridden, since these methods are not supported by this class.
00047   virtual void SetKeyValue(unsigned int , double ) { }
00048   virtual double GetKeyValue(unsigned int) {return 0;}
00049 
00051 
00052   vtkGetObjectMacro(Camera, vtkCamera);
00054 
00056 
00057   void SetPosition(double x, double y, double z);
00058   void SetFocalPoint(double x, double y, double z);
00059   void SetViewUp(double x, double y, double z);
00060   void SetViewAngle(double angle);
00062 
00064   virtual void SaveInBatchScript(ofstream* file);
00065 protected:
00066   vtkSMCameraKeyFrameProxy();
00067   ~vtkSMCameraKeyFrameProxy();
00068   vtkCamera* Camera;
00069   
00070 
00071 private:
00072   vtkSMCameraKeyFrameProxy(const vtkSMCameraKeyFrameProxy&); // Not implemented.
00073   void operator=(const vtkSMCameraKeyFrameProxy&); // Not implemented.
00074 };
00075 
00076 
00077 #endif

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