Rendering/vtkOBJExporter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00047 #ifndef __vtkOBJExporter_h
00048 #define __vtkOBJExporter_h
00049
00050 #include "vtkExporter.h"
00051
00052 class vtkActor;
00053
00054 class VTK_RENDERING_EXPORT vtkOBJExporter : public vtkExporter
00055 {
00056 public:
00057 static vtkOBJExporter *New();
00058 vtkTypeRevisionMacro(vtkOBJExporter,vtkExporter);
00059 void PrintSelf(ostream& os, vtkIndent indent);
00060
00062
00064 vtkSetStringMacro(FilePrefix);
00065 vtkGetStringMacro(FilePrefix);
00067
00068 protected:
00069 vtkOBJExporter();
00070 ~vtkOBJExporter();
00071
00072 void WriteData();
00073 void WriteAnActor(vtkActor *anActor, FILE *fpObj, FILE *fpMat, int &id);
00074 char *FilePrefix;
00075 private:
00076 vtkOBJExporter(const vtkOBJExporter&);
00077 void operator=(const vtkOBJExporter&);
00078 };
00079
00080 #endif
00081