VTK
vtkTestingObjectFactory.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTestingObjectFactory.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyrgight notice for more information.
13 
14 =========================================================================*/
15 #ifndef __vtkTestingObjectFactory_h
16 #define __vtkTestingObjectFactory_h
17 
39 #include "vtkObjectFactory.h"
40 
41 #include "vtkTesting.h" // Required for testing framework
42 #include "vtkTestDriver.h" // Required for testing framework
43 #include "vtkTestingInteractor.h" // Required for testing framework
44 #include "vtkSmartPointer.h" // Required for testing framework
45 
46 
48 {
49 public:
50  static vtkTestingObjectFactory* New();
52  virtual const char* GetVTKSourceVersion();
53  const char* GetDescription() { return "Factory for overrides during testing"; }
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
56 protected:
60 
61 private:
62  vtkTestingObjectFactory(const vtkTestingObjectFactory&); // Not implemented
63  void operator=(const vtkTestingObjectFactory&); // Not implemented
64 };
65 #endif
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual const char * GetVTKSourceVersion()=0
Object overrides used during testing.
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_RENDERING_EXPORT
abstract base class for vtkObjectFactories
static vtkObject * New()