VTK  9.0.3
vtkHardwareWindow.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4 
5  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6  All rights reserved.
7  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
29 #ifndef vtkHardwareWindow_h
30 #define vtkHardwareWindow_h
31 
32 #include "vtkRenderingCoreModule.h" // For export macro
33 #include "vtkWindow.h"
34 
35 class VTKRENDERINGCORE_EXPORT vtkHardwareWindow : public vtkWindow
36 {
37 public:
39  vtkTypeMacro(vtkHardwareWindow, vtkWindow);
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
42  // create the window (not the instance)
43  virtual void Create(){};
44 
45  // destroy the window (not the instance)
46  virtual void Destroy(){};
47 
48 protected:
50  ~vtkHardwareWindow() override;
51 
52  bool Borders;
53 
54 private:
55  vtkHardwareWindow(const vtkHardwareWindow&) = delete;
56  void operator=(const vtkHardwareWindow&) = delete;
57 };
58 
59 #endif
create a window for renderers to draw into
static vtkHardwareWindow * New()
~vtkHardwareWindow() override
virtual void Create()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Destroy()
a simple class to control print indentation
Definition: vtkIndent.h:34
window superclass for vtkRenderWindow
Definition: vtkWindow.h:38