VTK
dox
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
=========================================================================*/
23
#ifndef vtkGraphicsFactory_h
24
#define vtkGraphicsFactory_h
25
26
#include "vtkRenderingCoreModule.h"
// For export macro
27
#include "
vtkObject.h
"
28
29
class
VTKRENDERINGCORE_EXPORT
vtkGraphicsFactory
:
public
vtkObject
30
{
31
public
:
32
static
vtkGraphicsFactory
*
New
();
33
vtkTypeMacro(
vtkGraphicsFactory
,
vtkObject
);
34
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
35
41
VTK_NEWINSTANCE
42
static
vtkObject
* CreateInstance(
const
char
* vtkclassname);
43
47
static
const
char
*GetRenderLibrary();
48
50
54
static
void
SetUseMesaClasses(
int
use);
55
static
int
GetUseMesaClasses();
57
59
63
static
void
SetOffScreenOnlyMode(
int
use);
64
static
int
GetOffScreenOnlyMode();
66
67
protected
:
68
vtkGraphicsFactory
() {}
69
70
static
int
UseMesaClasses
;
71
static
int
OffScreenOnlyMode
;
72
73
private
:
74
vtkGraphicsFactory
(
const
vtkGraphicsFactory
&) =
delete
;
75
void
operator=(
const
vtkGraphicsFactory
&) =
delete
;
76
};
77
78
#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:59
vtkGraphicsFactory
Definition:
vtkGraphicsFactory.h:29
vtkGraphicsFactory::vtkGraphicsFactory
vtkGraphicsFactory()
Definition:
vtkGraphicsFactory.h:68
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
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:71
VTK_NEWINSTANCE
#define VTK_NEWINSTANCE
Definition:
vtkWrappingHints.h:39
vtkGraphicsFactory::UseMesaClasses
static int UseMesaClasses
Definition:
vtkGraphicsFactory.h:70
Generated by
1.8.16