00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkTDxInteractorStyleCamera.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 =========================================================================*/ 00030 #ifndef __vtkTDxInteractorStyleCamera_h 00031 #define __vtkTDxInteractorStyleCamera_h 00032 00033 #include "vtkTDxInteractorStyle.h" 00034 00035 class vtkTransform; 00036 00037 class VTK_RENDERING_EXPORT vtkTDxInteractorStyleCamera : public vtkTDxInteractorStyle 00038 { 00039 public: 00040 static vtkTDxInteractorStyleCamera *New(); 00041 vtkTypeRevisionMacro(vtkTDxInteractorStyleCamera,vtkTDxInteractorStyle); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00044 //BTX 00046 00047 virtual void OnMotionEvent(vtkTDxMotionEventInfo *motionInfo); 00048 //ETX 00050 00051 protected: 00052 vtkTDxInteractorStyleCamera(); 00053 virtual ~vtkTDxInteractorStyleCamera(); 00054 00055 vtkTransform *Transform; // Used for internal intermediate calculation. 00056 00057 private: 00058 vtkTDxInteractorStyleCamera(const vtkTDxInteractorStyleCamera&); // Not implemented. 00059 void operator=(const vtkTDxInteractorStyleCamera&); // Not implemented. 00060 }; 00061 #endif