Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilityTiff.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: 75553799d34d84fcafb82ce3045b140654d15e56 $
13 //
14 
15 #ifndef _HIOUTILITYTIFF_H
16 #define _HIOUTILITYTIFF_H
17 
18 #ifdef H_PACK_8
19 #pragma pack(push)
20 #pragma pack(8)
21 #endif
22 
23 #include "HTools.h"
24 #include "HIOManager.h"
25 
29 class MVO_API HIOUtilityTiff: public HOutputHandler
30 {
31 
32 public:
33 
36  SetOutputOps(HOutputOpFileOutputFromImageKey);
37  };
38  virtual ~HIOUtilityTiff() {;};
39 
42  const char * GetOutputName() { return "HIOUtilityTiff"; }
43 
46  HIORegisterOutputType("tiff",this);
47  HIORegisterOutputType("tif",this);
48  };
49 
51  const char * GetOutputTypesString() {return "tif;tiff";};
52 
55 
65  HFileOutputResult FileOutputFromImageKey(const __wchar_t * filename, HC_KEY image_key, HOutputHandlerOptions * options);
66 
67  HFileOutputResult FileOutputFromImageKey(const unsigned short * filename, HC_KEY image_key, HOutputHandlerOptions * options){
68  H_UTF16 utf16;
69  utf16.encodedText((utf16_char const*) filename);
70  return FileOutputFromImageKey(H_WCS(utf16).encodedText(), image_key, options);
71  }
72 
73  HFileOutputResult FileOutputFromImageKey(const char * filename, HC_KEY image_key, HOutputHandlerOptions * options){
74  return FileOutputFromImageKey(H_WCS(filename).encodedText(), image_key, options);
75  }
76 };
77 
78 
79 #ifdef H_PACK_8
80 #pragma pack(pop)
81 #endif
82 
83 #endif
Specifies an #HOutputHandler for geometry data.
Definition: HIOManager.h:861
const char * GetOutputTypesString()
Definition: HIOUtilityTiff.h:51
HOutputHandlerStyle GetOutputStyle()
Definition: HIOUtilityTiff.h:54
#define HOutputOpFileOutputFromImageKey
This HOutputHandler supports output from an image key.
Definition: HIOManager.h:80
HOutputHandlerStyle
Definition: HIOManager.h:858
const char * GetOutputName()
Definition: HIOUtilityTiff.h:42
Definition: HIOUtilityTiff.h:29
#define HIORegisterOutputType(type, output_object)
HIORegisterOutputType(type,output_object) Used by a HOutputHandler to set extension types that it han...
Definition: HIOManager.h:92
void RegisterOutputHandlerTypes()
Definition: HIOUtilityTiff.h:45
A header file containing the HIO classes for passing to HBaseView::FileInput and HBaseView::FileOutpu...
HIOUtilityTiff()
Definition: HIOUtilityTiff.h:35