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 "vtkTestingRenderingModule.h" // For export macro 00033 #include "vtkRenderWindowInteractor.h" 00034 #include "vtkObjectFactoryCollection.h" // Generated object overrides 00035 00036 //BTX 00037 #include <string> // STL Header; Required for string 00038 //ETX 00039 00040 class VTKTESTINGRENDERING_EXPORT vtkTestingInteractor : public vtkRenderWindowInteractor 00041 { 00042 public: 00044 static vtkTestingInteractor* New(); 00045 00047 00048 vtkTypeMacro(vtkTestingInteractor,vtkRenderWindowInteractor); 00049 void PrintSelf(ostream& os, vtkIndent indent); 00051 00052 virtual void Start(); 00053 00054 static int TestReturnStatus; // Return status of the test 00055 static double ErrorThreshold; // Error Threshold 00056 static std::string ValidBaseline; // Name of the Baseline image 00057 static std::string TempDirectory; // Location of Testing/Temporary 00058 static std::string DataDirectory; // Location of VTKData 00059 00060 protected: 00061 vtkTestingInteractor() {} 00062 00063 private: 00064 vtkTestingInteractor(const vtkTestingInteractor&); // Not implemented 00065 void operator=(const vtkTestingInteractor&); // Not implemented 00066 00067 }; 00068 00069 #endif