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 __mitkPLYBinaryWriter_h 00012 #define __mitkPLYBinaryWriter_h 00013 00014 #include "mitkMeshWriter.h" 00015 00029 class MITK_COMMON_API mitkPLYBinaryWriter : public mitkMeshWriter 00030 { 00031 public: 00032 MITK_TYPE(mitkPLYBinaryWriter, mitkMeshWriter) 00033 00034 virtual void PrintSelf(ostream &os); 00035 00036 mitkPLYBinaryWriter(); 00037 00038 // void SetVertexWriteBufferSize(unsigned int n) { m_VertWriteBufSize = n; } 00039 // void SetFaceWriteBufferSize(unsigned int n) { m_FaceWriteBufSize = n; } 00040 00041 void SetBigEndian(bool bigEndian = true) { m_IsBigEndian = bigEndian; } 00042 00043 protected: 00044 virtual ~mitkPLYBinaryWriter(); 00045 00046 virtual bool Execute(); 00047 00048 // unsigned int m_VertWriteBufSize; 00049 // unsigned int m_FaceWriteBufSize; 00050 00051 bool m_IsBigEndian; 00052 00053 private: 00054 mitkPLYBinaryWriter(const mitkPLYBinaryWriter&); 00055 void operator = (const mitkPLYBinaryWriter&); 00056 00057 }; 00058 00059 00060 //#define DEFINED_mitkPLYBinaryWriter 00061 00062 00063 00064 #endif 00065