00001 // 00002 // Copyright (c) 2000 by Tech Soft 3D, LLC. 00003 // The information contained herein is confidential and proprietary to 00004 // Tech Soft 3D, LLC., and considered a trade secret as defined under 00005 // civil and criminal statutes. Tech Soft 3D shall pursue its civil 00006 // and criminal remedies in the event of unauthorized use or misappropriation 00007 // of its trade secrets. Use of this information by anyone other than 00008 // authorized employees of Tech Soft 3D, LLC. is granted only under a 00009 // written non-disclosure agreement, expressly prescribing the scope and 00010 // manner of such use. 00011 // 00012 00013 #ifndef _HIOUTILITYMAGICK_H 00014 #define _HIOUTILITYMAGICK_H 00015 00016 #ifdef H_PACK_8 00017 #pragma pack(push) 00018 #pragma pack(8) 00019 #endif 00020 00021 #include "HTools.h" 00022 #include "HIOManager.h" 00023 00035 class MVO_API HIOUtilityMagick: public HInputHandler, public HOutputHandler 00036 { 00037 00038 public: 00039 ~HIOUtilityMagick(); 00040 00043 const char * GetOutputName(); 00044 const char * GetInputName(); 00045 00047 void RegisterInputHandlerTypes(); 00048 00050 HInputHandlerStyle GetInputStyle(); 00051 00053 const char * GetInputTypesString(); 00054 00063 HFileInputResult FileInputToImageKey(const __wchar_t * filename, HC_KEY * image_key, HC_KEY segment_key, HInputHandlerOptions * options); 00064 00065 HFileInputResult FileInputToImageKey(const unsigned short * filename, HC_KEY * image_key, HC_KEY segment_key, HInputHandlerOptions * options); 00066 00067 HFileInputResult FileInputToImageKey(const char * filename, HC_KEY * image_key, HC_KEY segment_key, HInputHandlerOptions * options); 00068 00070 void RegisterOutputHandlerTypes(); 00071 00073 HOutputHandlerStyle GetOutputStyle(); 00074 00076 const char * GetOutputTypesString(); 00077 00078 00087 HFileOutputResult FileOutputFromImageKey(const __wchar_t * filename, HC_KEY image_key, HOutputHandlerOptions * options); 00088 00089 HFileOutputResult FileOutputFromImageKey(const unsigned short * filename, HC_KEY image_key, HOutputHandlerOptions * options); 00090 00091 HFileOutputResult FileOutputFromImageKey(const char * filename, HC_KEY image_key, HOutputHandlerOptions * options); 00092 00094 HIOUtilityMagick(); 00095 00096 }; 00097 00098 00099 00100 #ifdef H_PACK_8 00101 #pragma pack(pop) 00102 #endif 00103 00104 #endif