VTK
dox/Web/Core/vtkWebUtilities.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkWebUtilities.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00022 #ifndef __vtkWebUtilities_h
00023 #define __vtkWebUtilities_h
00024 
00025 #include "vtkObject.h"
00026 #include "vtkWebCoreModule.h" // needed for exports
00027 #include <string>
00028 
00029 class vtkDataSet;
00030 
00031 class VTKWEBCORE_EXPORT vtkWebUtilities : public vtkObject
00032 {
00033 public:
00034   static vtkWebUtilities* New();
00035   vtkTypeMacro(vtkWebUtilities, vtkObject);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00038   static std::string WriteAttributesToJavaScript(int field_type, vtkDataSet*);
00039   static std::string WriteAttributeHeadersToJavaScript(
00040     int field_type, vtkDataSet*);
00041 
00043 
00047   static void ProcessRMIs();
00048   static void ProcessRMIs(int reportError, int dont_loop=0);
00049 //BTX
00050 protected:
00051   vtkWebUtilities();
00052   ~vtkWebUtilities();
00054 
00055 private:
00056   vtkWebUtilities(const vtkWebUtilities&); // Not implemented
00057   void operator=(const vtkWebUtilities&); // Not implemented
00058 //ETX
00059 };
00060 
00061 #endif
00062 // VTK-HeaderTest-Exclude: vtkWebUtilities.h