VTK
vtkOOGLExporter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOOGLExporter.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 
29 #ifndef __vtkOOGLExporter_h
30 #define __vtkOOGLExporter_h
31 
32 #include "vtkExporter.h"
33 
34 class vtkLight;
35 class vtkActor;
36 
38 {
39 public:
40  static vtkOOGLExporter *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  vtkSetStringMacro(FileName);
47  vtkGetStringMacro(FileName);
49 
50 protected:
52  ~vtkOOGLExporter();
53 
54  void WriteData();
55  void WriteALight(vtkLight *aLight, FILE *fp);
56  void WriteAnActor(vtkActor *anActor, FILE *fp, int count);
57  char *FileName;
58 
59 private:
60  vtkOOGLExporter(const vtkOOGLExporter&); // Not implemented
61  void operator=(const vtkOOGLExporter&); // Not implemented
62 };
63 
64 #endif
65