VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkQtInitialization.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 /*------------------------------------------------------------------------- 00016 Copyright 2008 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00037 #ifndef __vtkQtInitialization_h 00038 #define __vtkQtInitialization_h 00039 00040 #include "vtkRenderingQtModule.h" // For export macro 00041 #include "vtkObject.h" 00042 00043 //BTX 00044 class QApplication; 00045 //ETX 00046 00047 class VTKRENDERINGQT_EXPORT vtkQtInitialization : public vtkObject 00048 { 00049 public: 00050 static vtkQtInitialization* New(); 00051 vtkTypeMacro(vtkQtInitialization, vtkObject); 00052 void PrintSelf(ostream& os, vtkIndent indent); 00053 00054 protected: 00055 vtkQtInitialization(); 00056 ~vtkQtInitialization(); 00057 00058 private: 00059 vtkQtInitialization(const vtkQtInitialization &); // Not implemented. 00060 void operator=(const vtkQtInitialization &); // Not implemented. 00061 //BTX 00062 QApplication *Application; 00063 //ETX 00064 }; 00065 00066 #endif // __vtkQtInitialization_h 00067