VTK  9.3.0
vtkVtkJSViewNodeFactory.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
18 #ifndef vtkVtkJSViewNodeFactory_h
19 #define vtkVtkJSViewNodeFactory_h
20 
21 #include "vtkRenderingVtkJSModule.h" // For export macro
22 
23 #include "vtkViewNodeFactory.h"
24 
25 VTK_ABI_NAMESPACE_BEGIN
27 
28 class VTKRENDERINGVTKJS_EXPORT vtkVtkJSViewNodeFactory : public vtkViewNodeFactory
29 {
30 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
36 
40  vtkGetObjectMacro(Serializer, vtkVtkJSSceneGraphSerializer);
42 
43 protected:
46 
48 
49 private:
51  void operator=(const vtkVtkJSViewNodeFactory&) = delete;
52 };
53 
54 VTK_ABI_NAMESPACE_END
55 #endif
a simple class to control print indentation
Definition: vtkIndent.h:38
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.
static vtkVtkJSViewNodeFactory * New()
~vtkVtkJSViewNodeFactory() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.