VTK  9.1.0
vtkWebUtilities.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkWebUtilities.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=========================================================================*/
23#ifndef vtkWebUtilities_h
24#define vtkWebUtilities_h
25
26#include "vtkObject.h"
27#include "vtkWebCoreModule.h" // needed for exports
28#include <string> // for std::string
29
30class vtkDataSet;
31
32class VTKWEBCORE_EXPORT vtkWebUtilities : public vtkObject
33{
34public:
36 vtkTypeMacro(vtkWebUtilities, vtkObject);
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
39 static std::string WriteAttributesToJavaScript(int field_type, vtkDataSet*);
40 static std::string WriteAttributeHeadersToJavaScript(int field_type, vtkDataSet*);
41
43
49 static void ProcessRMIs();
50 static void ProcessRMIs(int reportError, int dont_loop = 0);
52
53protected:
55 ~vtkWebUtilities() override;
56
57private:
58 vtkWebUtilities(const vtkWebUtilities&) = delete;
59 void operator=(const vtkWebUtilities&) = delete;
60};
61
62#endif
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
a simple class to control print indentation
Definition: vtkIndent.h:113
abstract base class for most VTK objects
Definition: vtkObject.h:82
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.