VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkX3DExporterJavaHelper.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 =========================================================================*/ 00020 #ifndef __vtkX3DExporterJavaHelper_h 00021 #define __vtkX3DExporterJavaHelper_h 00022 00023 #include "vtkIOExportModule.h" // For export macro 00024 #include "vtkObject.h" 00025 00026 class vtkX3DExporterJavaHelperInternal; 00027 00028 class VTKIOEXPORT_EXPORT vtkX3DExporterJavaHelper : public vtkObject 00029 { 00030 public: 00031 static vtkX3DExporterJavaHelper *New(); 00032 vtkTypeMacro(vtkX3DExporterJavaHelper,vtkObject); 00033 00034 int OpenFile(const char* fileName); 00035 int Write(const char* data, vtkIdType length); 00036 int Close(); 00037 00039 static void SetFastInfosetJarLocation(const char* location); 00040 00041 protected: 00042 vtkX3DExporterJavaHelper(); 00043 ~vtkX3DExporterJavaHelper(); 00044 00045 00046 vtkX3DExporterJavaHelperInternal* Internal; 00047 static char* FastInfosetJarLocation; 00048 00049 private: 00050 vtkX3DExporterJavaHelper(const vtkX3DExporterJavaHelper&); // Not implemented. 00051 void operator=(const vtkX3DExporterJavaHelper&); // Not implemented. 00052 }; 00053 00054 00055 #endif 00056