Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 
00029 #ifndef __vtkOOGLExporter_h
00030 #define __vtkOOGLExporter_h
00031 
00032 #include "vtkExporter.h"
00033 
00034 class vtkLight;
00035 class vtkActor;
00036 
00037 class VTK_RENDERING_EXPORT vtkOOGLExporter : public vtkExporter
00038 {
00039 public:
00040   static vtkOOGLExporter *New();
00041   vtkTypeRevisionMacro(vtkOOGLExporter,vtkExporter);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043 
00045 
00046   vtkSetStringMacro(FileName);
00047   vtkGetStringMacro(FileName);
00049 
00050 protected:
00051   vtkOOGLExporter();
00052   ~vtkOOGLExporter();
00053 
00054   void WriteData();
00055   void WriteALight(vtkLight *aLight, FILE *fp);
00056   void WriteAnActor(vtkActor *anActor, FILE *fp, int count);
00057   char *FileName;
00058 
00059 private:
00060   vtkOOGLExporter(const vtkOOGLExporter&); // Not implemented
00061   void operator=(const vtkOOGLExporter&); // Not implemented
00062 };
00063 
00064 #endif
00065 

Generated on Mon Jan 21 23:07:35 2008 for VTK by  doxygen 1.4.3-20050530