Rendering/vtkOBJExporter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00030 #ifndef __vtkOBJExporter_h
00031 #define __vtkOBJExporter_h
00032
00033 #include "vtkExporter.h"
00034
00035 class vtkActor;
00036
00037 class VTK_RENDERING_EXPORT vtkOBJExporter : public vtkExporter
00038 {
00039 public:
00040 static vtkOBJExporter *New();
00041 vtkTypeRevisionMacro(vtkOBJExporter,vtkExporter);
00042 void PrintSelf(ostream& os, vtkIndent indent);
00043
00045
00047 vtkSetStringMacro(FilePrefix);
00048 vtkGetStringMacro(FilePrefix);
00050
00051 protected:
00052 vtkOBJExporter();
00053 ~vtkOBJExporter();
00054
00055 void WriteData();
00056 void WriteAnActor(vtkActor *anActor, FILE *fpObj, FILE *fpMat, int &id);
00057 char *FilePrefix;
00058 private:
00059 vtkOBJExporter(const vtkOBJExporter&);
00060 void operator=(const vtkOBJExporter&);
00061 };
00062
00063 #endif
00064