VTK
dox/Rendering/Core/vtkTDxInteractorStyleSettings.h
Go to the documentation of this file.
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 "vtkRenderingCoreModule.h" // For export macro
00031 #include "vtkObject.h"
00032 
00033 class VTKRENDERINGCORE_EXPORT vtkTDxInteractorStyleSettings : public vtkObject
00034 {
00035 public:
00036   static vtkTDxInteractorStyleSettings *New();
00037   vtkTypeMacro(vtkTDxInteractorStyleSettings,vtkObject);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039 
00041 
00045   vtkSetMacro(AngleSensitivity,double);
00046   vtkGetMacro(AngleSensitivity,double);
00048 
00050 
00052   vtkSetMacro(UseRotationX,bool);
00053   vtkGetMacro(UseRotationX,bool);
00055 
00057 
00059   vtkSetMacro(UseRotationY,bool);
00060   vtkGetMacro(UseRotationY,bool);
00062 
00064 
00066   vtkSetMacro(UseRotationZ,bool);
00067   vtkGetMacro(UseRotationZ,bool);
00069 
00071 
00076   vtkSetMacro(TranslationXSensitivity,double);
00077   vtkGetMacro(TranslationXSensitivity,double);
00079 
00081 
00083   vtkSetMacro(TranslationYSensitivity,double);
00084   vtkGetMacro(TranslationYSensitivity,double);
00086 
00088 
00090   vtkSetMacro(TranslationZSensitivity,double);
00091   vtkGetMacro(TranslationZSensitivity,double);
00093 
00094 protected:
00095   vtkTDxInteractorStyleSettings();
00096   virtual ~vtkTDxInteractorStyleSettings();
00097 
00098   double AngleSensitivity;
00099   bool UseRotationX;
00100   bool UseRotationY;
00101   bool UseRotationZ;
00102 
00103   double TranslationXSensitivity;
00104   double TranslationYSensitivity;
00105   double TranslationZSensitivity;
00106 
00107 private:
00108   vtkTDxInteractorStyleSettings(const vtkTDxInteractorStyleSettings&);  // Not implemented.
00109   void operator=(const vtkTDxInteractorStyleSettings&);  // Not implemented.
00110 };
00111 #endif