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