VTK  9.4.20250413
vtkWebUtilities.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
11#ifndef vtkWebUtilities_h
12#define vtkWebUtilities_h
13
14#include "vtkObject.h"
15#include "vtkWebCoreModule.h" // needed for exports
16#include <string> // for std::string
17
18VTK_ABI_NAMESPACE_BEGIN
19class vtkDataSet;
20
21class VTKWEBCORE_EXPORT vtkWebUtilities : public vtkObject
22{
23public:
25 vtkTypeMacro(vtkWebUtilities, vtkObject);
26 void PrintSelf(ostream& os, vtkIndent indent) override;
27
28 static std::string WriteAttributesToJavaScript(int field_type, vtkDataSet*);
29 static std::string WriteAttributeHeadersToJavaScript(int field_type, vtkDataSet*);
30
32
38 static void ProcessRMIs();
39 static void ProcessRMIs(int reportError, int dont_loop = 0);
41
42protected:
44 ~vtkWebUtilities() override;
45
46private:
47 vtkWebUtilities(const vtkWebUtilities&) = delete;
48 void operator=(const vtkWebUtilities&) = delete;
49};
50
51VTK_ABI_NAMESPACE_END
52#endif
abstract class to specify dataset behavior
Definition vtkDataSet.h:165
a simple class to control print indentation
Definition vtkIndent.h:108
abstract base class for most VTK objects
Definition vtkObject.h:162
collection of utility functions for ParaView Web.
~vtkWebUtilities() override
static vtkWebUtilities * New()
static std::string WriteAttributeHeadersToJavaScript(int field_type, vtkDataSet *)
static void ProcessRMIs(int reportError, int dont_loop=0)
This method is similar to the ProcessRMIs() method on the GlobalController except that it is Python f...
static std::string WriteAttributesToJavaScript(int field_type, vtkDataSet *)
static void ProcessRMIs()
This method is similar to the ProcessRMIs() method on the GlobalController except that it is Python f...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.