VTK
9.0.1
Rendering
Core
vtkGraphicsFactory.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGraphicsFactory.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 vtkGraphicsFactory_h
21
#define vtkGraphicsFactory_h
22
23
#include "
vtkObject.h
"
24
#include "vtkRenderingCoreModule.h"
// For export macro
25
26
class
VTKRENDERINGCORE_EXPORT
vtkGraphicsFactory
:
public
vtkObject
27
{
28
public
:
29
static
vtkGraphicsFactory
*
New
();
30
vtkTypeMacro(
vtkGraphicsFactory
,
vtkObject
);
31
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
32
38
VTK_NEWINSTANCE
39
static
vtkObject
* CreateInstance(
const
char
* vtkclassname);
40
44
static
const
char
* GetRenderLibrary();
45
47
51
static
void
SetUseMesaClasses(
int
use);
52
static
int
GetUseMesaClasses();
54
56
60
static
void
SetOffScreenOnlyMode(
int
use);
61
static
int
GetOffScreenOnlyMode();
63
64
protected
:
65
vtkGraphicsFactory
() {}
66
67
static
int
UseMesaClasses
;
68
static
int
OffScreenOnlyMode
;
69
70
private
:
71
vtkGraphicsFactory
(
const
vtkGraphicsFactory
&) =
delete
;
72
void
operator=(
const
vtkGraphicsFactory
&) =
delete
;
73
};
74
75
#endif
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkGraphicsFactory
Definition:
vtkGraphicsFactory.h:26
vtkGraphicsFactory::vtkGraphicsFactory
vtkGraphicsFactory()
Definition:
vtkGraphicsFactory.h:65
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkGraphicsFactory::OffScreenOnlyMode
static int OffScreenOnlyMode
Definition:
vtkGraphicsFactory.h:68
VTK_NEWINSTANCE
#define VTK_NEWINSTANCE
Definition:
vtkWrappingHints.h:42
vtkGraphicsFactory::UseMesaClasses
static int UseMesaClasses
Definition:
vtkGraphicsFactory.h:67
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17