VTK  9.3.0
vtkHardwareWindow.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
18 #ifndef vtkHardwareWindow_h
19 #define vtkHardwareWindow_h
20 
21 #include "vtkRenderingCoreModule.h" // For export macro
22 #include "vtkWindow.h"
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class VTKRENDERINGCORE_EXPORT vtkHardwareWindow : public vtkWindow
26 {
27 public:
29  vtkTypeMacro(vtkHardwareWindow, vtkWindow);
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
32  // create the window (not the instance)
33  virtual void Create(){};
34 
35  // destroy the window (not the instance)
36  virtual void Destroy(){};
37 
38 protected:
40  ~vtkHardwareWindow() override;
41 
42  bool Borders;
43 
44 private:
45  vtkHardwareWindow(const vtkHardwareWindow&) = delete;
46  void operator=(const vtkHardwareWindow&) = delete;
47 };
48 
49 VTK_ABI_NAMESPACE_END
50 #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:29
window superclass for vtkRenderWindow
Definition: vtkWindow.h:28