#include <HIOUtilityLeadTools.h>
Public Member Functions | |
HFileInputResult | FileInputToImageKey (const char *filename, HC_KEY *image_key, HC_KEY segment_key, HInputHandlerOptions *options) |
HFileOutputResult | FileOutputFromImageKey (const char *filename, HC_KEY image_key, HOutputHandlerOptions *options) |
HInputHandlerStyle | GetInputStyle () |
const char * | GetInputTypesString () |
HOutputHandlerStyle | GetOutputStyle () |
const char * | GetOutputTypesString () |
HIOUtilityLeadTools () | |
void | RegisterInputHandlerTypes () |
void | RegisterOutputHandlerTypes () |
HIOUtilityLeadTools::HIOUtilityLeadTools | ( | ) | [inline] |
Constructs an HIOUtilityLeadTools object.
References HInputOpFileInputToImageKey, HOutputOpFileOutputFromImageKey, HInputHandler::SetInputOps(), and HOutputHandler::SetOutputOps().
HFileInputResult HIOUtilityLeadTools::FileInputToImageKey | ( | const char * | filename, | |
HC_KEY * | image_key, | |||
HC_KEY | segment_key, | |||
HInputHandlerOptions * | options | |||
) | [virtual] |
This method reads the data in the image file to a HOOPS image defined by image_key.
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.
HFileOutputResult HIOUtilityLeadTools::FileOutputFromImageKey | ( | const char * | filename, | |
HC_KEY | image_key, | |||
HOutputHandlerOptions * | options | |||
) | [virtual] |
This method exports the raster data contained in image_key as a file. It uses the file extension to determine what type of raster image to create.
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.
HInputHandlerStyle HIOUtilityLeadTools::GetInputStyle | ( | ) | [inline, virtual] |
Implements HInputHandler.
References HInputHandlerStyleImage.
const char* HIOUtilityLeadTools::GetInputTypesString | ( | ) | [inline, virtual] |
Implements HInputHandler.
HOutputHandlerStyle HIOUtilityLeadTools::GetOutputStyle | ( | ) | [inline, virtual] |
Implements HOutputHandler.
References HOutputHandlerStyleImage.
const char* HIOUtilityLeadTools::GetOutputTypesString | ( | ) | [inline, virtual] |
Implements HOutputHandler.
void HIOUtilityLeadTools::RegisterInputHandlerTypes | ( | ) | [inline, virtual] |
This method registers the image types supported by the Raster Pro toolkit for reading.
Implements HInputHandler.
References HIORegisterInputType.
void HIOUtilityLeadTools::RegisterOutputHandlerTypes | ( | ) | [inline, virtual] |
This method registers the image types supported by the Raster Pro toolkit for writing.
Implements HOutputHandler.
References HIORegisterOutputType.