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