VTK
9.0.1
Rendering
Core
vtkAbstractRenderDevice.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
5
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6
All rights reserved.
7
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notice for more information.
12
13
=========================================================================*/
14
#ifndef vtkAbstractRenderDevice_h
15
#define vtkAbstractRenderDevice_h
16
17
#include "
vtkObject.h
"
18
#include "vtkRenderingCoreModule.h"
// For export macro
19
#include <string>
// For std::string
20
21
class
vtkRecti
;
22
23
class
VTKRENDERINGCORE_EXPORT
vtkAbstractRenderDevice
:
public
vtkObject
24
{
25
public
:
26
vtkTypeMacro(
vtkAbstractRenderDevice
,
vtkObject
);
27
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
28
34
static
vtkAbstractRenderDevice
*
New
();
35
42
void
SetRequestedGLVersion(
int
major,
int
minor);
43
49
virtual
bool
CreateNewWindow(
const
vtkRecti
& geometry,
const
std::string
&
name
) = 0;
50
56
virtual
void
MakeCurrent() = 0;
57
58
protected
:
59
vtkAbstractRenderDevice
();
60
~
vtkAbstractRenderDevice
()
override
;
61
62
int
GLMajor
;
63
int
GLMinor
;
64
65
private
:
66
vtkAbstractRenderDevice
(
const
vtkAbstractRenderDevice
&) =
delete
;
67
void
operator=(
const
vtkAbstractRenderDevice
&) =
delete
;
68
};
69
70
#endif
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAbstractRenderDevice::GLMajor
int GLMajor
Definition:
vtkAbstractRenderDevice.h:62
vtkX3D::string
Definition:
vtkX3D.h:496
vtkRecti
Definition:
vtkRect.h:312
vtkX3D::name
Definition:
vtkX3D.h:225
vtkAbstractRenderDevice::GLMinor
int GLMinor
Definition:
vtkAbstractRenderDevice.h:63
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkAbstractRenderDevice
Definition:
vtkAbstractRenderDevice.h:23
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkObject.h
Generated on Fri Jan 7 2022 00:38:58 for VTK by
1.8.14