VTK
vtkX3DExporterJavaHelper.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkX3DExporterJavaHelper.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=========================================================================*/
21#ifndef vtkX3DExporterJavaHelper_h
22#define vtkX3DExporterJavaHelper_h
23
24#include "vtkIOExportModule.h" // For export macro
25#include "vtkObject.h"
26
27class vtkX3DExporterJavaHelperInternal;
28
29class VTKIOEXPORT_EXPORT vtkX3DExporterJavaHelper : public vtkObject
30{
31public:
34
35 int OpenFile(const char* fileName);
36 int Write(const char* data, vtkIdType length);
37 int Close();
38
42 static void SetFastInfosetJarLocation(const char* location);
43
44protected:
47
48
49 vtkX3DExporterJavaHelperInternal* Internal;
51
52private:
53 vtkX3DExporterJavaHelper(const vtkX3DExporterJavaHelper&) VTK_DELETE_FUNCTION;
54 void operator=(const vtkX3DExporterJavaHelper&) VTK_DELETE_FUNCTION;
55};
56
57
58#endif
59
abstract base class for most VTK objects
Definition: vtkObject.h:60
static vtkX3DExporterJavaHelper * New()
int OpenFile(const char *fileName)
static void SetFastInfosetJarLocation(const char *location)
Set the location of the FastInfoset JAR file.
int Write(const char *data, vtkIdType length)
vtkX3DExporterJavaHelperInternal * Internal
@ location
Definition: vtkX3D.h:406
@ length
Definition: vtkX3D.h:393
@ data
Definition: vtkX3D.h:315
int vtkIdType
Definition: vtkType.h:287