VTK
vtkPVWebGLExporter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPVWebGLExporter.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 =========================================================================*/
15 #ifndef vtkPVWebGLExporter_h
16 #define vtkPVWebGLExporter_h
17 
18 #include "vtkExporter.h"
19 #include "vtkWebGLExporterModule.h" // needed for export macro
20 
22 {
23 public:
24  static vtkPVWebGLExporter *New();
26  void PrintSelf(ostream& os, vtkIndent indent);
27 
28  // Description:
29  // Specify the name of the VRML file to write.
30  vtkSetStringMacro(FileName);
31  vtkGetStringMacro(FileName);
32 
33 protected:
36 
37  void WriteData();
38 
39  char *FileName;
40 
41 private:
42  vtkPVWebGLExporter(const vtkPVWebGLExporter&); // Not implemented.
43  void operator=(const vtkPVWebGLExporter&); // Not implemented.
44 };
45 
46 #endif
abstract class to write a scene to a file
Definition: vtkExporter.h:45
virtual void WriteData()=0
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKWEBGLEXPORTER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()