VTK  9.4.20250114
vtkWin32HardwareWindow.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
8#ifndef vtkWin32HardwareWindow_h
9#define vtkWin32HardwareWindow_h
10
11#include "vtkHardwareWindow.h"
12#include "vtkRenderingUIModule.h" // For export macro
13#include "vtkWindows.h" // For windows API
14#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
15
16VTK_ABI_NAMESPACE_BEGIN
17class VTKRENDERINGUI_EXPORT VTK_MARSHALAUTO vtkWin32HardwareWindow : public vtkHardwareWindow
18{
19public:
22 void PrintSelf(ostream& os, vtkIndent indent) override;
23
25
27
28 void Create() override;
29 void Destroy() override;
30
32
36 void SetDisplayId(void*) override;
37 void SetWindowId(void*) override;
38 void SetParentId(void*) override;
39 void* GetGenericDisplayId() override;
40 void* GetGenericWindowId() override;
41 void* GetGenericParentId() override;
43
45
48 void SetSize(int, int) override;
51
53
56 void SetPosition(int, int) override;
59
60protected:
63
67
68private:
70 void operator=(const vtkWin32HardwareWindow&) = delete;
71};
72
73VTK_ABI_NAMESPACE_END
74#endif
create a window for renderers to draw into
a simple class to control print indentation
Definition vtkIndent.h:108
represents a window in a windows GUI
HINSTANCE GetApplicationInstance()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Create() override
void * GetGenericDisplayId() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void SetPosition(int, int) override
Set the position of the window.
void SetDisplayId(void *) override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void SetSize(int, int) override
Set the size of the window in pixels.
static vtkWin32HardwareWindow * New()
void SetWindowId(void *) override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void SetParentId(void *) override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void * GetGenericWindowId() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
~vtkWin32HardwareWindow() override
void * GetGenericParentId() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void Destroy() override
virtual void SetPosition(int x, int y)
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
virtual void SetSize(int width, int height)
Set the size (width and height) of the rendering window in screen coordinates (in pixels).
#define VTK_MARSHALAUTO