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

dox/Rendering/vtkOBJExporter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOBJExporter.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 =========================================================================*/ 00034 #ifndef __vtkOBJExporter_h 00035 #define __vtkOBJExporter_h 00036 00037 #include "vtkExporter.h" 00038 00039 class vtkActor; 00040 00041 class VTK_RENDERING_EXPORT vtkOBJExporter : public vtkExporter 00042 { 00043 public: 00044 static vtkOBJExporter *New(); 00045 vtkTypeRevisionMacro(vtkOBJExporter,vtkExporter); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00049 00051 vtkSetStringMacro(FilePrefix); 00052 vtkGetStringMacro(FilePrefix); 00054 00055 protected: 00056 vtkOBJExporter(); 00057 ~vtkOBJExporter(); 00058 00059 void WriteData(); 00060 void WriteAnActor(vtkActor *anActor, FILE *fpObj, FILE *fpMat, int &id); 00061 char *FilePrefix; 00062 private: 00063 vtkOBJExporter(const vtkOBJExporter&); // Not implemented. 00064 void operator=(const vtkOBJExporter&); // Not implemented. 00065 }; 00066 00067 #endif 00068