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 -------------------------------------------------------------------------*/
32 #ifndef vtkQtInitialization_h
33 #define vtkQtInitialization_h
34 
35 #include "vtkRenderingQtModule.h" // For export macro
36 #include "vtkObject.h"
37 
38 class QApplication;
39 
40 class VTKRENDERINGQT_EXPORT vtkQtInitialization : public vtkObject
41 {
42 public:
43  static vtkQtInitialization* New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
47 protected:
49  ~vtkQtInitialization() override;
50 
51 private:
52  vtkQtInitialization(const vtkQtInitialization &) = delete;
53  void operator=(const vtkQtInitialization &) = delete;
54 
55  QApplication *Application;
56 
57 };
58 
59 #endif // vtkQtInitialization_h
60 
abstract base class for most VTK objects
Definition: vtkObject.h:53
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Initializes a Qt application.
a simple class to control print indentation
Definition: vtkIndent.h:33
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...