#include <HIOUtilityTiff.h>
Public Member Functions | |
HFileOutputResult | FileOutputFromImageKey (const char *filename, HC_KEY image_key, HOutputHandlerOptions *options) |
HFileOutputResult | FileOutputFromImageKey (const unsigned short *filename, HC_KEY image_key, HOutputHandlerOptions *options) |
HFileOutputResult | FileOutputFromImageKey (const __wchar_t *filename, HC_KEY image_key, HOutputHandlerOptions *options) |
const char * | GetOutputName () |
HOutputHandlerStyle | GetOutputStyle () |
const char * | GetOutputTypesString () |
HIOUtilityTiff () | |
void | RegisterOutputHandlerTypes () |
HIOUtilityTiff::HIOUtilityTiff | ( | ) | [inline] |
Constructs an HIOUtilityTiff object.
References HOutputOpFileOutputFromImageKey, and HOutputHandler::SetOutputOps().
HFileOutputResult HIOUtilityTiff::FileOutputFromImageKey | ( | const char * | filename, | |
HC_KEY | image_key, | |||
HOutputHandlerOptions * | options | |||
) | [inline, virtual] |
This method writes image data from a given HOOPS key to a given output file. Note that this must be implimented in a subclassed HOutputHandler instance handling images. This must be implemented in a subclassed HOutputHandler instance handling images.
filename | The name of the file to output. | |
image_key | The HOOPS image key to get output image data from. | |
options | The options class containing any needed extra information for the operation. |
Reimplemented from HOutputHandler.
References HOutputHandler::FileOutputFromImageKey().
HFileOutputResult HIOUtilityTiff::FileOutputFromImageKey | ( | const __wchar_t * | filename, | |
HC_KEY | image_key, | |||
HOutputHandlerOptions * | options | |||
) | [virtual] |
This method exports the raster data defined in the HOOPS Image from the given image_key to a TIFF file.
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 | This parameter is currently not being used. |
Reimplemented from HOutputHandler.
const char* HIOUtilityTiff::GetOutputName | ( | ) | [inline, virtual] |
HOutputHandlerStyle HIOUtilityTiff::GetOutputStyle | ( | ) | [inline, virtual] |
Implements HOutputHandler.
References HOutputHandlerStyleImage.
const char* HIOUtilityTiff::GetOutputTypesString | ( | ) | [inline, virtual] |
Implements HOutputHandler.
void HIOUtilityTiff::RegisterOutputHandlerTypes | ( | ) | [inline, virtual] |
This method registers the "tiff" and "tif" extensions to this handler as an output handler.
Implements HOutputHandler.
References HIORegisterOutputType.