VTK
dox
Rendering
ContextOpenGL2
vtkRenderingContextOpenGL2ObjectFactory.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkRenderingContextOpenGL2ObjectFactory.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
=========================================================================*/
15
16
#ifndef vtkRenderingContextOpenGL2ObjectFactory_h
17
#define vtkRenderingContextOpenGL2ObjectFactory_h
18
19
#include "
vtkRenderingContextOpenGL2Module.h
"
// For export macro
20
#include "
vtkObjectFactory.h
"
21
22
class
VTKRENDERINGCONTEXTOPENGL2_EXPORT
vtkRenderingContextOpenGL2ObjectFactory
:
public
vtkObjectFactory
23
{
24
public
:
25
static
vtkRenderingContextOpenGL2ObjectFactory
*
New
();
26
vtkTypeMacro(
vtkRenderingContextOpenGL2ObjectFactory
,
vtkObjectFactory
)
27
28
const
char
* GetDescription()
override
{
return
"vtkRenderingContextOpenGL2 factory overrides."
; }
29
30
const
char
*
GetVTKSourceVersion
()
override
;
31
32
void
PrintSelf
(ostream &os,
vtkIndent
indent)
override
;
33
34
protected
:
35
vtkRenderingContextOpenGL2ObjectFactory
();
36
37
private
:
38
vtkRenderingContextOpenGL2ObjectFactory
(
const
vtkRenderingContextOpenGL2ObjectFactory
&) =
delete
;
39
void
operator=(
const
vtkRenderingContextOpenGL2ObjectFactory
&) =
delete
;
40
};
41
42
#endif // vtkRenderingContextOpenGL2ObjectFactory_h
vtkRenderingContextOpenGL2ObjectFactory
Definition:
vtkRenderingContextOpenGL2ObjectFactory.h:22
vtkObjectFactory::GetVTKSourceVersion
virtual const char * GetVTKSourceVersion()=0
All sub-classes of vtkObjectFactory should must return the version of VTK they were built with.
vtkObjectFactory.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
VTKRENDERINGCONTEXTOPENGL2_EXPORT
#define VTKRENDERINGCONTEXTOPENGL2_EXPORT
Definition:
vtkRenderingContextOpenGL2Module.h:15
vtkRenderingContextOpenGL2Module.h
vtkObjectFactory
abstract base class for vtkObjectFactories
Definition:
vtkObjectFactory.h:55
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkObjectFactory::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Print ObjectFactory to stream.
Generated by
1.8.15