#include <HIOUtilityGif.h>
Public Member Functions | |
HFileInputResult | FileInputToImageKey (const __wchar_t *filename, HC_KEY *image_key, HC_KEY segment_key, HInputHandlerOptions *options) |
HFileInputResult | FileInputToImageKey (const unsigned short *filename, HC_KEY *image_key, HC_KEY segment_key, HInputHandlerOptions *options) |
HFileInputResult | FileInputToImageKey (const char *filename, HC_KEY *image_key, HC_KEY segment_key, HInputHandlerOptions *options) |
const char * | GetInputName () |
HInputHandlerStyle | GetInputStyle () |
const char * | GetInputTypesString () |
HIOUtilityGif () | |
void | RegisterInputHandlerTypes () |
The HIOUtilityGif allows you to read in GIF images. This class is currently unsupported with the LeadTools Raster Pro Toolkit being the recommended way of importing or exporting raster data.
HIOUtilityGif::HIOUtilityGif | ( | ) | [inline] |
Constructs an HIOUtilityGif object.
References HInputOpFileInputToImageKey, and HInputHandler::SetInputOps().
HFileInputResult HIOUtilityGif::FileInputToImageKey | ( | const __wchar_t * | filename, |
HC_KEY * | image_key, | ||
HC_KEY | segment_key, | ||
HInputHandlerOptions * | options | ||
) | [virtual] |
This method reads the raster data defined in filename into a HOOPS image in the key segment.
FileName | A character pointer denoting the name of the image file to read from. |
image_key | The pointer to a HOOPS key that will be filled in with a HOOPS image key. |
segment_key | The HOOPS segment key to create the image_key in i.e. the working segment. |
options | The file input options. |
Reimplemented from HInputHandler.
HFileInputResult HIOUtilityGif::FileInputToImageKey | ( | const unsigned short * | filename, |
HC_KEY * | image_key, | ||
HC_KEY | segment_key, | ||
HInputHandlerOptions * | options | ||
) | [inline, virtual] |
This method loads image data from a given file to a given HOOPS image key. Note that this must be implemented in a sub-classed HInputHandler instance handling Images.
filename | The UNICODE name of the file to load. |
image_key | The pointer to a HOOPS key that will be filled in with a HOOPS image key. |
segment_key | The HOOPS segment key to create the image_key in ie. the working segment. |
options | An options class containing any needed extra infromation for operation. |
Reimplemented from HInputHandler.
References HInputHandler::FileInputToImageKey().
HFileInputResult HIOUtilityGif::FileInputToImageKey | ( | const char * | filename, |
HC_KEY * | image_key, | ||
HC_KEY | segment_key, | ||
HInputHandlerOptions * | options | ||
) | [inline, virtual] |
This method loads image data from a given file to a given HOOPS image key. Note that this must be implemented in a sub-classed HInputHandler instance handling Images.
filename | The name of the file to load. |
image_key | The pointer to a HOOPS key that will be filled in with a HOOPS image key. |
segment_key | The HOOPS segment key to create the image_key in ie. the working segment. |
options | An options class containing any needed extra infromation for operation. |
Reimplemented from HInputHandler.
References HInputHandler::FileInputToImageKey().
const char* HIOUtilityGif::GetInputName | ( | ) | [inline, virtual] |
Implements HInputHandler.
HInputHandlerStyle HIOUtilityGif::GetInputStyle | ( | ) | [inline, virtual] |
Implements HInputHandler.
References HInputHandlerStyleImage.
const char* HIOUtilityGif::GetInputTypesString | ( | ) | [inline, virtual] |
Implements HInputHandler.
void HIOUtilityGif::RegisterInputHandlerTypes | ( | ) | [inline, virtual] |
This method registers the "gif" extension to this handler.
Implements HInputHandler.
References HIORegisterInputType.