Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Rendering/vtkOOGLExporter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOOGLExporter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00016 00033 #ifndef __vtkOOGLExporter_h 00034 #define __vtkOOGLExporter_h 00035 00036 #include "vtkExporter.h" 00037 00038 class vtkLight; 00039 class vtkActor; 00040 00041 class VTK_RENDERING_EXPORT vtkOOGLExporter : public vtkExporter 00042 { 00043 public: 00044 static vtkOOGLExporter *New(); 00045 vtkTypeRevisionMacro(vtkOOGLExporter,vtkExporter); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00049 00050 vtkSetStringMacro(FileName); 00051 vtkGetStringMacro(FileName); 00053 00054 protected: 00055 vtkOOGLExporter(); 00056 ~vtkOOGLExporter(); 00057 00058 void WriteData(); 00059 void WriteALight(vtkLight *aLight, FILE *fp); 00060 void WriteAnActor(vtkActor *anActor, FILE *fp, int count); 00061 char *FileName; 00062 00063 private: 00064 vtkOOGLExporter(const vtkOOGLExporter&); // Not implemented 00065 void operator=(const vtkOOGLExporter&); // Not implemented 00066 }; 00067 00068 #endif 00069