VTK  9.3.1
vtkQtInitialization.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
19 #ifndef vtkQtInitialization_h
20 #define vtkQtInitialization_h
21 
22 #include "vtkObject.h"
23 #include "vtkRenderingQtModule.h" // For export macro
24 
25 class QApplication;
26 
27 VTK_ABI_NAMESPACE_BEGIN
28 
29 class VTKRENDERINGQT_EXPORT vtkQtInitialization : public vtkObject
30 {
31 public:
32  static vtkQtInitialization* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
36 protected:
38  ~vtkQtInitialization() override;
39 
40 private:
42  void operator=(const vtkQtInitialization&) = delete;
43 
44  QApplication* Application;
45 };
46 
47 VTK_ABI_NAMESPACE_END
48 #endif // vtkQtInitialization_h
abstract base class for most VTK objects
Definition: vtkObject.h:51
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:28
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...