Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef ObjFileReader_H_HEADER_INCLUDED
00020 #define ObjFileReader_H_HEADER_INCLUDED
00021
00022 #include "mitkCommon.h"
00023 #include "MitkExtExports.h"
00024 #include "mitkSurfaceSource.h"
00025
00026 namespace mitk {
00027
00028
00029
00030 class MitkExt_EXPORT ObjFileReader : public SurfaceSource
00031 {
00032 public:
00033 mitkClassMacro(ObjFileReader, SurfaceSource);
00034
00036 itkNewMacro(Self);
00037
00038 itkSetStringMacro(FileName);
00039 itkGetStringMacro(FileName);
00040
00041 itkSetStringMacro(FilePrefix);
00042 itkGetStringMacro(FilePrefix);
00043
00044 itkSetStringMacro(FilePattern);
00045 itkGetStringMacro(FilePattern);
00046
00047 static bool CanReadFile(const std::string filename, const std::string filePrefix, const std::string filePattern);
00048
00049 protected:
00050 virtual void GenerateData();
00051
00052 ObjFileReader();
00053
00054 ~ObjFileReader();
00055
00056 std::string m_FileName, m_FilePrefix, m_FilePattern;
00057
00058 };
00059
00060 }
00061
00062 #endif