VTK
vtkQtInitialization.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtInitialization.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
37 #ifndef vtkQtInitialization_h
38 #define vtkQtInitialization_h
39 
40 #include "vtkRenderingQtModule.h" // For export macro
41 #include "vtkObject.h"
42 
43 //BTX
44 class QApplication;
45 //ETX
46 
48 {
49 public:
50  static vtkQtInitialization* New();
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
54 protected:
57 
58 private:
59  vtkQtInitialization(const vtkQtInitialization &); // Not implemented.
60  void operator=(const vtkQtInitialization &); // Not implemented.
61  //BTX
62  QApplication *Application;
63  //ETX
64 };
65 
66 #endif // vtkQtInitialization_h
67 
abstract base class for most VTK objects
Definition: vtkObject.h:61
Initializes a Qt application.
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGQT_EXPORT
static vtkObject * New()