VTK
dox/Hybrid/vtkX3DExporterJavaHelper.h
Go to the documentation of this file.
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 "vtkObject.h"
00024 
00025 class vtkX3DExporterJavaHelperInternal;
00026 
00027 class VTK_HYBRID_EXPORT vtkX3DExporterJavaHelper : public vtkObject
00028 {
00029 public:
00030   static vtkX3DExporterJavaHelper *New();
00031   vtkTypeMacro(vtkX3DExporterJavaHelper,vtkObject);
00032 
00033   int OpenFile(const char* fileName);
00034   int Write(const char* data, vtkIdType length);
00035   int Close();
00036 
00038   static void SetFastInfosetJarLocation(const char* location);
00039 
00040 protected:
00041   vtkX3DExporterJavaHelper();
00042   ~vtkX3DExporterJavaHelper();
00043 
00044 
00045   vtkX3DExporterJavaHelperInternal* Internal;
00046   static char* FastInfosetJarLocation;
00047 
00048 private:
00049   vtkX3DExporterJavaHelper(const vtkX3DExporterJavaHelper&); // Not implemented.
00050   void operator=(const vtkX3DExporterJavaHelper&); // Not implemented.
00051 };
00052 
00053 
00054 #endif
00055