VTK
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>
29 
30 class vtkDataSet;
31 
32 class VTKWEBCORE_EXPORT vtkWebUtilities : public vtkObject
33 {
34 public:
35  static vtkWebUtilities* New();
36  vtkTypeMacro(vtkWebUtilities, vtkObject);
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
39  static std::string WriteAttributesToJavaScript(int field_type, vtkDataSet*);
40  static std::string WriteAttributeHeadersToJavaScript(
41  int field_type, vtkDataSet*);
42 
44 
50  static void ProcessRMIs();
51  static void ProcessRMIs(int reportError, int dont_loop=0);
53 
54 protected:
56  ~vtkWebUtilities();
57 
58 private:
59  vtkWebUtilities(const vtkWebUtilities&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkWebUtilities&) VTK_DELETE_FUNCTION;
61 
62 };
63 
64 #endif
65 // VTK-HeaderTest-Exclude: vtkWebUtilities.h
abstract base class for most VTK objects
Definition: vtkObject.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
a simple class to control print indentation
Definition: vtkIndent.h:39
collection of utility functions for ParaView Web.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...