VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Interaction/Widgets/vtkCameraWidget.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkCameraWidget.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
00037 #ifndef vtkCameraWidget_h
00038 #define vtkCameraWidget_h
00039 
00040 #include "vtkInteractionWidgetsModule.h" // For export macro
00041 #include "vtkBorderWidget.h"
00042 
00043 class vtkCameraRepresentation;
00044 
00045 
00046 class VTKINTERACTIONWIDGETS_EXPORT vtkCameraWidget : public vtkBorderWidget
00047 {
00048 public:
00050   static vtkCameraWidget *New();
00051 
00053 
00054   vtkTypeMacro(vtkCameraWidget,vtkBorderWidget);
00055   void PrintSelf(ostream& os, vtkIndent indent);
00057 
00059 
00062   void SetRepresentation(vtkCameraRepresentation *r)
00063     {this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));}
00065 
00067   void CreateDefaultRepresentation();
00068 
00069 protected:
00070   vtkCameraWidget();
00071   ~vtkCameraWidget();
00072 
00076   virtual void SelectRegion(double eventPos[2]);
00077 
00078 private:
00079   vtkCameraWidget(const vtkCameraWidget&);  //Not implemented
00080   void operator=(const vtkCameraWidget&);  //Not implemented
00081 };
00082 
00083 #endif