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

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 
00045 #ifndef __vtkOOGLExporter_h
00046 #define __vtkOOGLExporter_h
00047 
00048 #include "vtkExporter.h"
00049 
00050 class vtkLight;
00051 class vtkActor;
00052 
00053 class VTK_RENDERING_EXPORT vtkOOGLExporter : public vtkExporter
00054 {
00055 public:
00056   static vtkOOGLExporter *New();
00057   vtkTypeRevisionMacro(vtkOOGLExporter,vtkExporter);
00058   void PrintSelf(ostream& os, vtkIndent indent);
00059 
00061 
00062   vtkSetStringMacro(FileName);
00063   vtkGetStringMacro(FileName);
00065 
00066 protected:
00067   vtkOOGLExporter();
00068   ~vtkOOGLExporter();
00069 
00070   void WriteData();
00071   void WriteALight(vtkLight *aLight, FILE *fp);
00072   void WriteAnActor(vtkActor *anActor, FILE *fp, int count);
00073   char *FileName;
00074 
00075 private:
00076   vtkOOGLExporter(const vtkOOGLExporter&); // Not implemented
00077   void operator=(const vtkOOGLExporter&); // Not implemented
00078 };
00079 
00080 #endif
00081