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-------------------------------------------------------------------------*/
38#ifndef vtkQtInitialization_h
39#define vtkQtInitialization_h
40
41#include "vtkRenderingQtModule.h" // For export macro
42#include "vtkObject.h"
43
44class QApplication;
45
46class VTKRENDERINGQT_EXPORT vtkQtInitialization : public vtkObject
47{
48public:
51 void PrintSelf(ostream& os, vtkIndent indent);
52
53protected:
56
57private:
58 vtkQtInitialization(const vtkQtInitialization &) VTK_DELETE_FUNCTION;
59 void operator=(const vtkQtInitialization &) VTK_DELETE_FUNCTION;
60
61 QApplication *Application;
62
63};
64
65#endif // vtkQtInitialization_h
66
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:60
Initializes a Qt application.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkQtInitialization * New()