You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.8 KiB
C++

/*=========================================================================
Program: Visualization Toolkit
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/**
* @class vtkHardwareWindow
* @brief create a window for renderers to draw into
*
* vtkHardwareWindow is an abstract object representing a UI based
* window that can be drawn to. This class is defines an interface that
* GUI specific subclasses (Win32, X, Cocoa) should support.
*
* This class is meant to be Graphics library agnostic. In that it should
* contain as little graphics library specific code as possible, ideally none.
* In contrast to classes such as vtkWinOpenGLRenderWindow which contain
* significant ties to OpenGL.
*
*/
#ifndef vtkHardwareWindow_h
#define vtkHardwareWindow_h
#include "vtkRenderingCoreModule.h" // For export macro
#include "vtkWindow.h"
class VTKRENDERINGCORE_EXPORT vtkHardwareWindow : public vtkWindow
{
public:
static vtkHardwareWindow* New();
vtkTypeMacro(vtkHardwareWindow, vtkWindow);
void PrintSelf(ostream& os, vtkIndent indent) override;
// create the window (not the instance)
virtual void Create(){};
// destroy the window (not the instance)
virtual void Destroy(){};
protected:
vtkHardwareWindow();
~vtkHardwareWindow() override;
bool Borders;
private:
vtkHardwareWindow(const vtkHardwareWindow&) = delete;
void operator=(const vtkHardwareWindow&) = delete;
};
#endif