00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
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
00039 virtual void Create(vtkKWApplication *pvApp);
00040
00042 virtual void SetRenderView(vtkPVRenderView*);
00043
00045 virtual void StoreCamera();
00046
00048 virtual void RestoreCamera();
00049
00050
00052
00053 vtkGetObjectMacro(Camera, vtkCamera);
00054
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&);
00068 void operator=(const vtkPVCameraIcon&);
00069 };
00070
00071 #endif