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 
21 class VTKWEBGLEXPORTER_EXPORT vtkPVWebGLExporter : public vtkExporter
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&) VTK_DELETE_FUNCTION;
43  void operator=(const vtkPVWebGLExporter&) VTK_DELETE_FUNCTION;
44 };
45 
46 #endif
abstract class to write a scene to a file
Definition: vtkExporter.h:46
virtual void WriteData()=0
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...