VTK
vtkImagingFactory.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImagingFactory.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 copyright notice for more information.
13 
14 =========================================================================*/
19 #ifndef __vtkImagingFactory_h
20 #define __vtkImagingFactory_h
21 
22 #include "vtkObject.h"
23 
25 {
26 public:
27  static vtkImagingFactory *New();
29  virtual void PrintSelf(ostream& os, vtkIndent indent);
30 
33  static vtkObject* CreateInstance(const char* vtkclassname);
34 
36 
38  static void SetUseMesaClasses(int use);
39  static int GetUseMesaClasses();
41 
42 protected:
44 
45  static int UseMesaClasses;
46 
47 private:
48  vtkImagingFactory(const vtkImagingFactory&); // Not implemented.
49  void operator=(const vtkImagingFactory&); // Not implemented.
50 };
51 
52 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:60
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_RENDERING_EXPORT
static vtkObject * New()