VTK  9.2.5
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=========================================================================*/
28#ifndef vtkViewNodeFactory_h
29#define vtkViewNodeFactory_h
30
31#include "vtkObject.h"
32#include "vtkRenderingSceneGraphModule.h" // For export macro
33
34class vtkViewNode;
35
36class VTKRENDERINGSCENEGRAPH_EXPORT vtkViewNodeFactory : public vtkObject
37{
38public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
47 void RegisterOverride(const char* name, vtkViewNode* (*func)());
48
53
54protected:
57
58private:
60 void operator=(const vtkViewNodeFactory&) = delete;
61
62 class vtkInternals;
63 vtkInternals* Internals;
64};
65
66#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:63
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:42