VTK: Rendering/Qt/vtkQtInitialization.h Source File

| 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();
33 vtkTypeMacro(vtkQtInitialization, vtkObject);
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
36 protected:
37 vtkQtInitialization();
38 ~vtkQtInitialization() override;
39
40 private:
41 vtkQtInitialization(const vtkQtInitialization&) = delete;
42 void operator=(const vtkQtInitialization&) = delete;
43
44 QApplication* Application;
45 };
46
47 VTK_ABI_NAMESPACE_END
48 #endif // vtkQtInitialization_h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:61
vtkQtInitialization
Initializes a Qt application.
Definition: vtkQtInitialization.h:30
vtkQtInitialization::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkQtInitialization::New
static vtkQtInitialization * New()
vtkQtInitialization::~vtkQtInitialization
~vtkQtInitialization() override
vtkQtInitialization::vtkQtInitialization
vtkQtInitialization()
vtkObject.h