VTK
9.0.1
Rendering
SceneGraph
vtkViewNodeFactory.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkViewNodeFactory.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
=========================================================================*/
25
#ifndef vtkViewNodeFactory_h
26
#define vtkViewNodeFactory_h
27
28
#include "
vtkObject.h
"
29
#include "vtkRenderingSceneGraphModule.h"
// For export macro
30
31
class
vtkViewNode
;
32
33
class
VTKRENDERINGSCENEGRAPH_EXPORT
vtkViewNodeFactory
:
public
vtkObject
34
{
35
public
:
36
static
vtkViewNodeFactory
*
New
();
37
vtkTypeMacro(
vtkViewNodeFactory
,
vtkObject
);
38
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
39
44
void
RegisterOverride(
const
char
*
name
,
vtkViewNode
* (*func)());
45
49
vtkViewNode
* CreateNode(
vtkObject
*);
50
55
VTK_LEGACY(
vtkViewNode
* CreateNode(
const
char
*));
56
57
protected
:
58
vtkViewNodeFactory
();
59
~
vtkViewNodeFactory
()
override
;
60
61
private
:
62
vtkViewNodeFactory
(
const
vtkViewNodeFactory
&) =
delete
;
63
void
operator=(
const
vtkViewNodeFactory
&) =
delete
;
64
65
class
vtkInternals;
66
vtkInternals* Internals;
67
};
68
69
#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
vtkViewNodeFactory
factory that chooses vtkViewNodes to create
Definition:
vtkViewNodeFactory.h:33
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.
vtkViewNode
a node within a VTK scene graph
Definition:
vtkViewNode.h:37
vtkX3D::name
@ name
Definition:
vtkX3D.h:225
vtkObject.h
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17