Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkSTLReader.h

00001 /*=========================================================================
00002 
00003   Program:   3DMed
00004   Date:      $Date: 2014-02-25 18:30:00 +0800 $
00005   Version:   $Version: 4.6.0 $
00006   Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences
00007 
00008 =========================================================================*/
00009 
00010 #ifndef __mitkSTLReader_h
00011 #define __mitkSTLReader_h
00012 
00013 #include "mitkMeshReader.h"
00014 
00028 class MITK_COMMON_API mitkSTLReader: public mitkMeshReader
00029 {
00030 public:
00031     MITK_TYPE(mitkSTLReader, mitkMeshReader)
00032 
00033     virtual void PrintSelf(ostream &os);
00034 
00035     mitkSTLReader();
00036 
00037 protected:
00038     virtual ~mitkSTLReader();
00039 
00040     virtual bool Execute();
00041 
00042 private:
00043     bool OpenBinary(const char * filename, mitkMesh *mesh);  //open binary STL file
00044     bool OpenAscii(const char * filename, mitkMesh *mesh);   //open ASCII STL file
00045     mitkSTLReader(const mitkSTLReader&);
00046     void operator = (const mitkSTLReader&);
00047 
00048 };
00049 
00050 //#ifdef MITK_DLL_EXPORT
00051 //#define DEFINED_mitkSTLReader
00052 //#include "mitkTemplateExport.h"
00053 //#endif      // MITK_DLL_EXPORT
00054 
00055 #endif

Generated on Tue Feb 25 15:00:37 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3