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

GUI/Client/vtkPVCameraIcon.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVCameraIcon.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 =========================================================================*/
00022 #ifndef __vtkPVCameraIcon_h
00023 #define __vtkPVCameraIcon_h
00024 
00025 #include "vtkKWLabel.h"
00026 
00027 class vtkKWPushButton;
00028 class vtkPVRenderView;
00029 class vtkCamera;
00030 
00031 class VTK_EXPORT vtkPVCameraIcon : public vtkKWLabel
00032 {
00033 public:
00034   static vtkPVCameraIcon* New();
00035   vtkTypeRevisionMacro(vtkPVCameraIcon, vtkKWLabel);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00038   // Create the widget.
00039   virtual void Create(vtkKWApplication *pvApp);
00040   
00042   virtual void SetRenderView(vtkPVRenderView*);
00043 
00045   virtual void StoreCamera();
00046 
00048   virtual void RestoreCamera();
00049 
00050   //BTX
00052 
00053   vtkGetObjectMacro(Camera, vtkCamera);
00054   //ETX
00056 
00057 protected:
00058   vtkPVCameraIcon();
00059   ~vtkPVCameraIcon();
00060 
00061   vtkPVRenderView* RenderView;
00062   vtkCamera* Camera;
00063   int Width;
00064   int Height;
00065   
00066 private:
00067   vtkPVCameraIcon(const vtkPVCameraIcon&); // Not implemented
00068   void operator=(const vtkPVCameraIcon&); // Not implemented
00069 };
00070 
00071 #endif

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