#include <HIOUtilityHOOPS.h>
Public Member Functions | |
HFileOutputResult | FileOutputByKey (const __wchar_t *filename, HC_KEY key, HOutputHandlerOptions *options) |
HFileOutputResult | FileOutputByKey (const unsigned short *filename, HC_KEY key, HOutputHandlerOptions *options) |
HFileOutputResult | FileOutputByKey (const char *filename, HC_KEY key, HOutputHandlerOptions *options) |
const char * | GetInputName () |
const char * | GetOutputDefaultHSRA () |
const char * | GetOutputName () |
HOutputHandlerStyle | GetOutputStyle () |
const char * | GetOutputTypesString () |
HIOUtilityPostscript () | |
void | RegisterOutputHandlerTypes () |
The HIOUtilityPostscript is the class for writing postscript files using the HOOPS postscript driver.
HIOUtilityPostscript::HIOUtilityPostscript | ( | ) | [inline] |
Constructs an HIOUtilityPostscript object.
References HOutputOpFileOutputByKey, and HOutputHandler::SetOutputOps().
HFileOutputResult HIOUtilityPostscript::FileOutputByKey | ( | const __wchar_t * | filename, |
HC_KEY | key, | ||
HOutputHandlerOptions * | options | ||
) | [virtual] |
This method writes a postscript file out of the segment tree underneath the given key.
filename | The name of the file to output. |
key | The HOOPS segment key to get output data from. |
options | The options class containing any needed extra information for the operation. |
Reimplemented from HOutputHandler.
HFileOutputResult HIOUtilityPostscript::FileOutputByKey | ( | const unsigned short * | filename, |
HC_KEY | key, | ||
HOutputHandlerOptions * | options | ||
) | [inline, virtual] |
This method writes model data from a given HOOPS key to a given output file. Note that this must be implimented in a subclassed HOutputHandler instance handling models.
filename | The wide character name of the file to output. |
key | The HOOPS segment key to get output model data from. |
options | The options class containing any needed extra information for the operation. |
Reimplemented from HOutputHandler.
References HOutputHandler::FileOutputByKey().
HFileOutputResult HIOUtilityPostscript::FileOutputByKey | ( | const char * | filename, |
HC_KEY | key, | ||
HOutputHandlerOptions * | options | ||
) | [inline, virtual] |
This method writes model data from a given HOOPS key to a given output file. Note that this must be implimented in a subclassed HOutputHandler instance handling models.
filename | The name of the file to output. |
key | The HOOPS segment key to output model data from. |
options | The options class containing any needed extra information for the operation. |
Reimplemented from HOutputHandler.
References HOutputHandler::FileOutputByKey().
const char* HIOUtilityPostscript::GetOutputDefaultHSRA | ( | ) | [inline, virtual] |
Reimplemented from HOutputHandler.
const char* HIOUtilityPostscript::GetOutputName | ( | ) | [inline, virtual] |
Implements HOutputHandler.
HOutputHandlerStyle HIOUtilityPostscript::GetOutputStyle | ( | ) | [inline, virtual] |
Implements HOutputHandler.
References HOutputHandlerStyleHardcopy.
const char* HIOUtilityPostscript::GetOutputTypesString | ( | ) | [inline, virtual] |
Implements HOutputHandler.
void HIOUtilityPostscript::RegisterOutputHandlerTypes | ( | ) | [inline, virtual] |
This method registers the "ps" extension to this handler as an output handler.
Implements HOutputHandler.
References HC_Begin_Segment_Search(), HC_End_Segment_Search(), HC_Find_Segment(), and HIORegisterOutputType.