ParaView
vtkPVDisplayInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVDisplayInformation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
22 #ifndef vtkPVDisplayInformation_h
23 #define vtkPVDisplayInformation_h
24 
25 #include "vtkPVClientServerCoreRenderingModule.h" //needed for exports
26 #include "vtkPVInformation.h"
27 class VTKPVCLIENTSERVERCORERENDERING_EXPORT vtkPVDisplayInformation : public vtkPVInformation
28 {
29 public:
30  static vtkPVDisplayInformation* New();
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
37  static bool CanOpenDisplayLocally();
38 
43  static bool SupportsOpenGLLocally();
44 
48  virtual void CopyFromObject(vtkObject*);
49 
53  virtual void AddInformation(vtkPVInformation* info);
54 
56 
59  virtual void CopyToStream(vtkClientServerStream*);
60  virtual void CopyFromStream(const vtkClientServerStream*);
62 
64 
68  vtkGetMacro(CanOpenDisplay, int);
70 
72 
76  vtkGetMacro(SupportsOpenGL, int);
78 
79 protected:
82 
85 
86 private:
87  vtkPVDisplayInformation(const vtkPVDisplayInformation&) VTK_DELETE_FUNCTION;
88  void operator=(const vtkPVDisplayInformation&) VTK_DELETE_FUNCTION;
89 
90  static int GlobalCanOpenDisplayLocally;
91  static int GlobalSupportsOpenGL;
92 };
93 
94 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
provides information about the rendering display and OpenGL context.
Store messages for the interpreter.
void PrintSelf(ostream &os, vtkIndent indent)
virtual void AddInformation(vtkPVInformation *)
Merge another information object.
virtual void CopyToStream(vtkClientServerStream *)=0
Manage a serialized version of the information.
virtual void CopyFromObject(vtkObject *)
Transfer information about a single object into this object.
Superclass for information objects.