VTK
dox/Web/WebGLExporter/vtkPVWebGLExporter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPVWebGLExporter.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 =========================================================================*/
00015 #ifndef __vtkPVWebGLExporter_h
00016 #define __vtkPVWebGLExporter_h
00017 
00018 #include "vtkExporter.h"
00019 #include "vtkWebGLExporterModule.h" // needed for export macro
00020 
00021 class VTKWEBGLEXPORTER_EXPORT vtkPVWebGLExporter : public vtkExporter
00022 {
00023 public:
00024   static vtkPVWebGLExporter *New();
00025   vtkTypeMacro(vtkPVWebGLExporter,vtkExporter);
00026   void PrintSelf(ostream& os, vtkIndent indent);
00027 
00028   // Description:
00029   // Specify the name of the VRML file to write.
00030   vtkSetStringMacro(FileName);
00031   vtkGetStringMacro(FileName);
00032 
00033 protected:
00034   vtkPVWebGLExporter();
00035   ~vtkPVWebGLExporter();
00036 
00037   void WriteData();
00038 
00039   char *FileName;
00040 
00041 private:
00042   vtkPVWebGLExporter(const vtkPVWebGLExporter&);  // Not implemented.
00043   void operator=(const vtkPVWebGLExporter&);  // Not implemented.
00044 };
00045 
00046 #endif