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

vtkOOGLExporter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkOOGLExporter.h,v $
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 
00041 #ifndef __vtkOOGLExporter_h
00042 #define __vtkOOGLExporter_h
00043 
00044 #include "vtkExporter.h"
00045 
00046 class vtkLight;
00047 class vtkActor;
00048 
00049 class VTK_RENDERING_EXPORT vtkOOGLExporter : public vtkExporter
00050 {
00051 public:
00052   static vtkOOGLExporter *New();
00053   vtkTypeRevisionMacro(vtkOOGLExporter,vtkExporter);
00054   void PrintSelf(ostream& os, vtkIndent indent);
00055 
00057 
00058   vtkSetStringMacro(FileName);
00059   vtkGetStringMacro(FileName);
00061 
00062 protected:
00063   vtkOOGLExporter();
00064   ~vtkOOGLExporter();
00065 
00066   void WriteData();
00067   void WriteALight(vtkLight *aLight, FILE *fp);
00068   void WriteAnActor(vtkActor *anActor, FILE *fp, int count);
00069   char *FileName;
00070 
00071 private:
00072   vtkOOGLExporter(const vtkOOGLExporter&); // Not implemented
00073   void operator=(const vtkOOGLExporter&); // Not implemented
00074 };
00075 
00076 #endif
00077