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
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&);
00064 void operator=(const vtkOBJExporter&);
00065 };
00066
00067 #endif
00068