VTK  9.6.20260201
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
17
18#ifndef vtkHardwareWindow_h
19#define vtkHardwareWindow_h
20
21#include "vtkRenderWindowInteractor.h" // For ivar
22#include "vtkRenderingCoreModule.h" // For export macro
23#include "vtkWeakPointer.h" // For ivar
24#include "vtkWindow.h"
25#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
26
27VTK_ABI_NAMESPACE_BEGIN
28class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkHardwareWindow : public vtkWindow
29{
30public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
35 // create the window (not the instance)
36 virtual void Create() {}
37
38 // destroy the window (not the instance)
39 virtual void Destroy() {}
40
42
48
50
54 vtkGetMacro(Coverable, vtkTypeBool);
55 vtkBooleanMacro(Coverable, vtkTypeBool);
56 virtual void SetCoverable(vtkTypeBool coverable);
58
60
66
68
71 virtual void SetFullScreen(vtkTypeBool) {}
72 vtkGetMacro(FullScreen, vtkTypeBool);
73 vtkBooleanMacro(FullScreen, vtkTypeBool);
75
76protected:
79
82 std::string Platform = "Generic";
84
85private:
86 vtkHardwareWindow(const vtkHardwareWindow&) = delete;
87 void operator=(const vtkHardwareWindow&) = delete;
88};
89
90VTK_ABI_NAMESPACE_END
91#endif
virtual void SetCoverable(vtkTypeBool coverable)
Set/Get whether windows should be coverable (as opposed to always on top).
vtkSetStdStringFromCharMacro(Platform)
Get the platform name for this windowing system.
virtual void SetInteractor(vtkRenderWindowInteractor *)
Set/Get the interactor associated with this window.
~vtkHardwareWindow() override
vtkWeakPointer< vtkRenderWindowInteractor > Interactor
virtual void Create()
static vtkHardwareWindow * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetFullScreen(vtkTypeBool)
Turn on/off rendering full screen window size.
vtkGetCharFromStdStringMacro(Platform)
Get the platform name for this windowing system.
virtual void Destroy()
a simple class to control print indentation
Definition vtkIndent.h:108
platform-independent render window interaction including picking and frame rate control.
a weak reference to a vtkObject.
int vtkTypeBool
Definition vtkABI.h:64
#define VTK_MARSHALAUTO