VTK
dox/Rendering/vtkTestingInteractor.h
Go to the documentation of this file.
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 =========================================================================*/
00026 #ifndef __vtkTestingInteractor_h
00027 #define __vtkTestingInteractor_h
00028 
00029 #include "vtkRenderWindowInteractor.h"
00030 
00031 //BTX
00032 #include <string> // STL Header; Required for string
00033 //ETX
00034 
00035 class VTK_RENDERING_EXPORT vtkTestingInteractor : public vtkRenderWindowInteractor
00036 {
00037 public:
00039   static vtkTestingInteractor* New();
00040 
00042 
00043   vtkTypeMacro(vtkTestingInteractor,vtkRenderWindowInteractor);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00047   virtual void Start();
00048 
00049   static int         TestReturnStatus;  // Return status of the test
00050   static double      ErrorThreshold;    // Error Threshold
00051   static std::string ValidBaseline;     // Name of the Baseline image
00052   static std::string TempDirectory;     // Location of Testing/Temporary
00053   static std::string DataDirectory;     // Location of VTKData
00054 
00055 protected:
00056   vtkTestingInteractor() {}
00057 
00058 private:
00059   vtkTestingInteractor(const vtkTestingInteractor&); // Not implemented
00060   void operator=(const vtkTestingInteractor&);       // Not implemented
00061 
00062 };
00063 
00064 #endif