VTK  9.1.0
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
31class vtkViewNode;
32
33class VTKRENDERINGSCENEGRAPH_EXPORT vtkViewNodeFactory : public vtkObject
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
44 void RegisterOverride(const char* name, vtkViewNode* (*func)());
45
50
51protected:
54
55private:
57 void operator=(const vtkViewNodeFactory&) = delete;
58
59 class vtkInternals;
60 vtkInternals* Internals;
61};
62
63#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
abstract base class for most VTK objects
Definition: vtkObject.h:73
factory that chooses vtkViewNodes to create
vtkViewNode * CreateNode(vtkObject *)
Creates and returns a vtkViewNode for the provided renderable.
static vtkViewNodeFactory * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkViewNodeFactory() override
void RegisterOverride(const char *name, vtkViewNode *(*func)())
Give a function pointer to a class that will manufacture a vtkViewNode when given a class name string...
a node within a VTK scene graph
Definition: vtkViewNode.h:39
@ name
Definition: vtkX3D.h:225