00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTestingObjectFactory.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 =========================================================================*/ 00015 #ifndef __vtkTestingObjectFactory_h 00016 #define __vtkTestingObjectFactory_h 00017 00035 #include "vtkObjectFactory.h" 00036 #include "vtkTesting.h" // Required for testing framework 00037 #include "vtkTestDriver.h" // Required for testing framework 00038 #include "vtkTestingInteractor.h" // Required for testing framework 00039 #include "vtkSmartPointer.h" // Required for testing framework 00040 //BTX 00041 #include <vtkstd/string> // STL Header; Required for string 00042 //ETX 00043 00044 class VTK_RENDERING_EXPORT vtkTestingObjectFactory : public vtkObjectFactory 00045 { 00046 public: 00047 static vtkTestingObjectFactory* New(); 00048 vtkTypeMacro(vtkTestingObjectFactory,vtkObjectFactory); 00049 virtual const char* GetVTKSourceVersion(); 00050 const char* GetDescription() { return "Factory for overrides during testing"; } 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00053 protected: 00056 vtkTestingObjectFactory(); 00057 00058 private: 00059 vtkTestingObjectFactory(const vtkTestingObjectFactory&); // Not implemented 00060 void operator=(const vtkTestingObjectFactory&); // Not implemented 00061 }; 00062 #endif