• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Widgets/vtkCameraWidget.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkCameraWidget.h,v $
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 =========================================================================*/
00034 #ifndef __vtkCameraWidget_h
00035 #define __vtkCameraWidget_h
00036 
00037 #include "vtkBorderWidget.h"
00038 
00039 class vtkCameraRepresentation;
00040 
00041 
00042 class VTK_WIDGETS_EXPORT vtkCameraWidget : public vtkBorderWidget
00043 {
00044 public:
00046   static vtkCameraWidget *New();
00047 
00049 
00050   vtkTypeRevisionMacro(vtkCameraWidget,vtkBorderWidget);
00051   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055 
00058   void SetRepresentation(vtkCameraRepresentation *r)
00059     {this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));}
00061   
00063   void CreateDefaultRepresentation();
00064 
00065 protected:
00066   vtkCameraWidget();
00067   ~vtkCameraWidget();
00068 
00072   virtual void SelectRegion(double eventPos[2]);
00073 
00074 private:
00075   vtkCameraWidget(const vtkCameraWidget&);  //Not implemented
00076   void operator=(const vtkCameraWidget&);  //Not implemented
00077 };
00078 
00079 #endif

Generated by  doxygen 1.7.1