VTK  9.1.0
vtkVtkJSViewNodeFactory.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkVtkJSViewNodeFactory.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=========================================================================*/
30#ifndef vtkVtkJSViewNodeFactory_h
31#define vtkVtkJSViewNodeFactory_h
32
33#include "vtkRenderingVtkJSModule.h" // For export macro
34
35#include "vtkViewNodeFactory.h"
36
38
39class VTKRENDERINGVTKJS_EXPORT vtkVtkJSViewNodeFactory : public vtkViewNodeFactory
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
51 vtkGetObjectMacro(Serializer, vtkVtkJSSceneGraphSerializer);
53
54protected:
57
59
60private:
62 void operator=(const vtkVtkJSViewNodeFactory&) = delete;
63};
64
65#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
factory that chooses vtkViewNodes to create
Converts elements of a VTK scene graph into vtk-js elements.
Constructs view nodes for traversing a scene for vtk-js.
vtkVtkJSSceneGraphSerializer * Serializer
void SetSerializer(vtkVtkJSSceneGraphSerializer *)
Specify the Serializer object.
~vtkVtkJSViewNodeFactory() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkVtkJSViewNodeFactory * New()