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 00011 #ifndef __mitkMeshWriter_h 00012 #define __mitkMeshWriter_h 00013 00014 #include "mitkWriter.h" 00015 #include "mitkMesh.h" 00016 #include "mitkRCPtr.h" 00017 00028 class MITK_COMMON_API mitkMeshWriter : public mitkWriter 00029 { 00030 public: 00031 MITK_TYPE(mitkMeshWriter, mitkWriter) 00032 00033 virtual void PrintSelf(ostream &os); 00034 00039 void SetInput(mitkMesh *inData) {m_InData = inData;} 00040 00045 mitkMesh* GetInput() {return m_InData;} 00046 00047 protected: 00048 mitkMeshWriter(); 00049 virtual ~mitkMeshWriter(); 00050 00051 mitkRCPtr<mitkMesh> m_InData; 00052 00053 private: 00054 mitkMeshWriter(const mitkMeshWriter&); 00055 void operator = (const mitkMeshWriter&); 00056 00057 }; 00058 00059 00060 //#define DEFINED_mitkMeshWriter 00061 00062 00063 00064 #endif 00065