VTK  9.1.0
vtkWin32HardwareWindow.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkHardwareWindow.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
20#ifndef vtkWin32HardwareWindow_h
21#define vtkWin32HardwareWindow_h
22
23#include "vtkHardwareWindow.h"
24#include "vtkRenderingUIModule.h" // For export macro
25#include "vtkWindows.h" // For windows API
26
27class VTKRENDERINGUI_EXPORT vtkWin32HardwareWindow : public vtkHardwareWindow
28{
29public:
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
35
37
38 void Create() override;
39 void Destroy() override;
40
42
46 void SetDisplayId(void*) override;
47 void SetWindowId(void*) override;
48 void SetParentId(void*) override;
49 void* GetGenericDisplayId() override;
50 void* GetGenericWindowId() override;
51 void* GetGenericParentId() override;
53
55
58 void SetSize(int, int) override;
61
63
66 void SetPosition(int, int) override;
69
70protected:
73
77
78private:
80 void operator=(const vtkWin32HardwareWindow&) = delete;
81};
82
83#endif
create a window for renderers to draw into
a simple class to control print indentation
Definition: vtkIndent.h:113
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).