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