VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTestingInteractor.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 copyrgight notice for more information. 00013 00014 =========================================================================*/ 00029 #ifndef __vtkTestingInteractor_h 00030 #define __vtkTestingInteractor_h 00031 00032 #include "vtkRenderWindowInteractor.h" 00033 00034 //BTX 00035 #include <string> // STL Header; Required for string 00036 //ETX 00037 00038 class VTK_RENDERING_EXPORT vtkTestingInteractor : public vtkRenderWindowInteractor 00039 { 00040 public: 00042 static vtkTestingInteractor* New(); 00043 00045 00046 vtkTypeMacro(vtkTestingInteractor,vtkRenderWindowInteractor); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00049 00050 virtual void Start(); 00051 00052 static int TestReturnStatus; // Return status of the test 00053 static double ErrorThreshold; // Error Threshold 00054 static std::string ValidBaseline; // Name of the Baseline image 00055 static std::string TempDirectory; // Location of Testing/Temporary 00056 static std::string DataDirectory; // Location of VTKData 00057 00058 protected: 00059 vtkTestingInteractor() {} 00060 00061 private: 00062 vtkTestingInteractor(const vtkTestingInteractor&); // Not implemented 00063 void operator=(const vtkTestingInteractor&); // Not implemented 00064 00065 }; 00066 00067 #endif