VTK  9.6.20260314
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
20
21#ifndef vtkHardwareWindow_h
22#define vtkHardwareWindow_h
23
24#include "vtkRenderWindowInteractor.h" // For ivar
25#include "vtkRenderingCoreModule.h" // For export macro
26#include "vtkWeakPointer.h" // For ivar
27#include "vtkWindow.h"
28#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
29
30VTK_ABI_NAMESPACE_BEGIN
31class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkHardwareWindow : public vtkWindow
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
38 // create the window (not the instance)
39 virtual void Create() {}
40
41 // destroy the window (not the instance)
42 virtual void Destroy() {}
43
45
51
53
57 vtkGetMacro(Coverable, vtkTypeBool);
58 vtkBooleanMacro(Coverable, vtkTypeBool);
59 virtual void SetCoverable(vtkTypeBool coverable);
61
63
69
71
74 virtual void SetFullScreen(vtkTypeBool) {}
75 vtkGetMacro(FullScreen, vtkTypeBool);
76 vtkBooleanMacro(FullScreen, vtkTypeBool);
78
79protected:
82
85 std::string Platform = "Generic";
87
88private:
89 vtkHardwareWindow(const vtkHardwareWindow&) = delete;
90 void operator=(const vtkHardwareWindow&) = delete;
91};
92
93VTK_ABI_NAMESPACE_END
94#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