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