Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilityGif.h
1 //
2 // Copyright (c) 2000 by Tech Soft 3D, LLC.
3 // The information contained herein is confidential and proprietary to
4 // Tech Soft 3D, LLC., and considered a trade secret as defined under
5 // civil and criminal statutes. Tech Soft 3D shall pursue its civil
6 // and criminal remedies in the event of unauthorized use or misappropriation
7 // of its trade secrets. Use of this information by anyone other than
8 // authorized employees of Tech Soft 3D, LLC. is granted only under a
9 // written non-disclosure agreement, expressly prescribing the scope and
10 // manner of such use.
11 //
12 // $Id: 344cf1a01f75572dbdf53a284309ec44081c9008 $
13 //
14 
15 
16 #ifndef _HIOUTILITYGIF_H
17 #define _HIOUTILITYGIF_H
18 
19 #ifdef H_PACK_8
20 #pragma pack(push)
21 #pragma pack(8)
22 #endif
23 
24 #include "HTools.h"
25 #include "HIOManager.h"
26 
30 class MVO_API HIOUtilityGif: public HInputHandler
31 {
32 
33 public:
37  };
38 
39  virtual ~HIOUtilityGif() {;};
40 
43  const char * GetInputName() { return "HIOUtilityGif"; }
44 
45 
48  HIORegisterInputType("gif",this);
49  };
50 
52  const char * GetInputTypesString() {return "gif";};
53 
56 
66  HFileInputResult FileInputToImageKey(const __wchar_t * filename, HC_KEY * image_key, HC_KEY segment_key, HInputHandlerOptions * options);
67 
68  HFileInputResult FileInputToImageKey(const unsigned short * filename, HC_KEY * image_key, HC_KEY segment_key, HInputHandlerOptions * options){
69  H_UTF16 utf16;
70  utf16.encodedText((utf16_char const*) filename);
71  return FileInputToImageKey(H_WCS(utf16).encodedText(), image_key, segment_key, options);
72  }
73 
74  HFileInputResult FileInputToImageKey(const char * filename, HC_KEY * image_key, HC_KEY segment_key, HInputHandlerOptions * options){
75  return FileInputToImageKey(H_WCS(filename).encodedText(), image_key, segment_key, options);
76  }
77 };
78 
79 
80 #ifdef H_PACK_8
81 #pragma pack(pop)
82 #endif
83 
84 #endif
Definition: HIOUtilityGif.h:30
#define HInputOpFileInputToImageKey
This HInputHandler supports input to an image key.
Definition: HIOManager.h:65
const char * GetInputTypesString()
Definition: HIOUtilityGif.h:52
HInputHandler an abstract base class for model and image input.
Definition: HIOManager.h:667
Specifies an HInputHandler for image data.
Definition: HIOManager.h:228
#define HIORegisterInputType(type, input_object)
Definition: HIOManager.h:87
virtual HFileInputResult FileInputToImageKey(const char *filename, HC_KEY *image_key, HC_KEY segment_key, HInputHandlerOptions *options)
HInputHandlerStyle
Definition: HIOManager.h:226
HIOUtilityGif()
Definition: HIOUtilityGif.h:35
HFileInputResult FileInputToImageKey(const unsigned short *filename, HC_KEY *image_key, HC_KEY segment_key, HInputHandlerOptions *options)
Definition: HIOUtilityGif.h:68
Definition: HIOManager.h:247
void RegisterInputHandlerTypes()
Definition: HIOUtilityGif.h:47
void SetInputOps(unsigned long ops)
This sets the HInputOp.
Definition: HIOManager.h:836
HInputHandlerStyle GetInputStyle()
Definition: HIOUtilityGif.h:55
A header file containing the HIO classes for passing to HBaseView::FileInput and HBaseView::FileOutpu...
const char * GetInputName()
Definition: HIOUtilityGif.h:43
HFileInputResult FileInputToImageKey(const char *filename, HC_KEY *image_key, HC_KEY segment_key, HInputHandlerOptions *options)
Definition: HIOUtilityGif.h:74