VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTDxInteractorStyleSettings.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 =========================================================================*/ 00027 #ifndef __vtkTDxInteractorStyleSettings_h 00028 #define __vtkTDxInteractorStyleSettings_h 00029 00030 #include "vtkObject.h" 00031 00032 class VTK_RENDERING_EXPORT vtkTDxInteractorStyleSettings : public vtkObject 00033 { 00034 public: 00035 static vtkTDxInteractorStyleSettings *New(); 00036 vtkTypeMacro(vtkTDxInteractorStyleSettings,vtkObject); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 00044 vtkSetMacro(AngleSensitivity,double); 00045 vtkGetMacro(AngleSensitivity,double); 00047 00049 00051 vtkSetMacro(UseRotationX,bool); 00052 vtkGetMacro(UseRotationX,bool); 00054 00056 00058 vtkSetMacro(UseRotationY,bool); 00059 vtkGetMacro(UseRotationY,bool); 00061 00063 00065 vtkSetMacro(UseRotationZ,bool); 00066 vtkGetMacro(UseRotationZ,bool); 00068 00070 00075 vtkSetMacro(TranslationXSensitivity,double); 00076 vtkGetMacro(TranslationXSensitivity,double); 00078 00080 00082 vtkSetMacro(TranslationYSensitivity,double); 00083 vtkGetMacro(TranslationYSensitivity,double); 00085 00087 00089 vtkSetMacro(TranslationZSensitivity,double); 00090 vtkGetMacro(TranslationZSensitivity,double); 00092 00093 protected: 00094 vtkTDxInteractorStyleSettings(); 00095 virtual ~vtkTDxInteractorStyleSettings(); 00096 00097 double AngleSensitivity; 00098 bool UseRotationX; 00099 bool UseRotationY; 00100 bool UseRotationZ; 00101 00102 double TranslationXSensitivity; 00103 double TranslationYSensitivity; 00104 double TranslationZSensitivity; 00105 00106 private: 00107 vtkTDxInteractorStyleSettings(const vtkTDxInteractorStyleSettings&); // Not implemented. 00108 void operator=(const vtkTDxInteractorStyleSettings&); // Not implemented. 00109 }; 00110 #endif