VTK: Web/Core/vtkWebUtilities.h Source File

| VTK 9.3.1

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
18 VTK_ABI_NAMESPACE_BEGIN
19 class vtkDataSet;
20
21 class VTKWEBCORE_EXPORT vtkWebUtilities : public vtkObject
22 {
23 public:
24 static vtkWebUtilities* New();
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
42 protected:
43 vtkWebUtilities();
44 ~vtkWebUtilities() override;
45
46 private:
47 vtkWebUtilities(const vtkWebUtilities&) = delete;
48 void operator=(const vtkWebUtilities&) = delete;
49 };
50
51 VTK_ABI_NAMESPACE_END
52 #endif
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:61
vtkWebUtilities
collection of utility functions for ParaView Web.
Definition: vtkWebUtilities.h:22
vtkWebUtilities::vtkWebUtilities
vtkWebUtilities()
vtkWebUtilities::~vtkWebUtilities
~vtkWebUtilities() override
vtkWebUtilities::New
static vtkWebUtilities * New()
vtkWebUtilities::WriteAttributeHeadersToJavaScript
static std::string WriteAttributeHeadersToJavaScript(int field_type, vtkDataSet *)
vtkWebUtilities::ProcessRMIs
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...
vtkWebUtilities::WriteAttributesToJavaScript
static std::string WriteAttributesToJavaScript(int field_type, vtkDataSet *)
vtkWebUtilities::ProcessRMIs
static void ProcessRMIs()
This method is similar to the ProcessRMIs() method on the GlobalController except that it is Python f...
vtkWebUtilities::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkX3D::string
@ string
Definition: vtkX3D.h:490
vtkObject.h