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 =========================================================================*/
22 #ifndef vtkWebUtilities_h
23 #define vtkWebUtilities_h
24 
25 #include "vtkObject.h"
26 #include "vtkWebCoreModule.h" // needed for exports
27 #include <string>
28 
29 class vtkDataSet;
30 
32 {
33 public:
34  static vtkWebUtilities* New();
35  vtkTypeMacro(vtkWebUtilities, vtkObject);
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
38  static std::string WriteAttributesToJavaScript(int field_type, vtkDataSet*);
39  static std::string WriteAttributeHeadersToJavaScript(
40  int field_type, vtkDataSet*);
41 
43 
47  static void ProcessRMIs();
48  static void ProcessRMIs(int reportError, int dont_loop=0);
49 //BTX
50 protected:
52  ~vtkWebUtilities();
54 
55 private:
56  vtkWebUtilities(const vtkWebUtilities&); // Not implemented
57  void operator=(const vtkWebUtilities&); // Not implemented
58 //ETX
59 };
60 
61 #endif
62 // VTK-HeaderTest-Exclude: vtkWebUtilities.h
abstract base class for most VTK objects
Definition: vtkObject.h:61
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
collection of utility functions for ParaView Web.
static vtkObject * New()
#define VTKWEBCORE_EXPORT