VTK
dox/Rendering/vtkTestingObjectFactory.h
Go to the documentation of this file.
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 
00038 #include "vtkObjectFactory.h"
00039 #include "vtkTesting.h"            // Required for testing framework
00040 #include "vtkTestDriver.h"         // Required for testing framework
00041 #include "vtkTestingInteractor.h"  // Required for testing framework
00042 #include "vtkSmartPointer.h"       // Required for testing framework
00043 //BTX
00044 #include <vtkstd/string> // STL Header; Required for string
00045 //ETX
00046 
00047 class VTK_RENDERING_EXPORT vtkTestingObjectFactory : public vtkObjectFactory
00048 {
00049 public:
00050   static vtkTestingObjectFactory* New();
00051   vtkTypeMacro(vtkTestingObjectFactory,vtkObjectFactory);
00052   virtual const char* GetVTKSourceVersion();
00053   const char* GetDescription() { return "Factory for overrides during testing"; }
00054   void PrintSelf(ostream& os, vtkIndent indent);
00055 
00056 protected:
00059   vtkTestingObjectFactory();
00060 
00061 private:
00062   vtkTestingObjectFactory(const vtkTestingObjectFactory&); // Not implemented
00063   void operator=(const vtkTestingObjectFactory&);          // Not implemented
00064 };
00065 #endif