#include <HIOUtilityDwfExport.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) |
const char * | GetOutputDefaultHSRA () |
const char * | GetOutputName () |
HOutputHandlerStyle | GetOutputStyle () |
const char * | GetOutputTypesString () |
void | RegisterOutputHandlerTypes () |
![]() | |
virtual HFileOutputResult | FileOutputByKey (const char *filename, HC_KEY key, HOutputHandlerOptions *options) |
virtual HFileOutputResult | FileOutputFromImageKey (const char *filename, HC_KEY image_key, HOutputHandlerOptions *options) |
virtual HFileOutputResult | FileOutputFromImageKey (const __wchar_t *filename, HC_KEY image_key, HOutputHandlerOptions *options) |
const __wchar_t * | GetOutputInformation () |
unsigned long | GetOutputOps () |
float | GetOutputPercentProgress () |
const char * | GetOutputProgress () |
HOutputHandler () | |
void | ReportOutputInformation (const char *information) |
This posts information to the information queue. | |
void | ReportOutputPercentProgress (float percent_progress) |
This posts the current percent progress message should be between 0.0 and 1.0. | |
void | ReportOutputProgress (const char *progress) |
This posts the current progress message. | |
void | SetModuleDirectory (const char *module_directory) |
void | SetModuleDirectory (const __wchar_t *module_directory) |
HIONoticeCallback * | SetOutputInformationNoticeCallback (HIONoticeCallback *notice_callback) |
HIOPercentNoticeCallback * | SetOutputPercentProgressNoticeCallback (HIOPercentNoticeCallback *percent_notice_callback) |
HIONoticeCallback * | SetOutputProgressNoticeCallback (HIONoticeCallback *notice_callback) |
Additional Inherited Members | |
![]() | |
void | SetFinishedOutput () |
void | SetOutputOps (unsigned long ops) |
This sets the HOutputOp. | |
void | SetStartingOutput () |
![]() | |
char * | m_module_directory |
unsigned long | m_OutputOps |
This is the HOutputOp set for a subclassed instance. | |
The HIOUtilityWhip2D is the class for writing DWF Whip 2D files using the HOOPS Whip 2D driver.
|
virtual |
This method writes a 2D DWF (Whip) file out of the segment tree underneath key
FileName | A character pointer denoting the name of the file to be written |
key | A hoops key of the segment - the tree underneath which is required to be exported |
options | Export options |
Reimplemented from HOutputHandler.
|
inlinevirtual |
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().
|
inlinevirtual |
For example: the following line of code might be used for an output handler needing painters:
{return "painters";};
Reimplemented from HOutputHandler.
|
inlinevirtual |
Implements HOutputHandler.
|
inlinevirtual |
For example: the following code can be used for an HOutputHandler that outputs model:
{return HOutputHandlerStyleModel;}
Implements HOutputHandler.
References HOutputHandlerStyleHardcopy.
|
inlinevirtual |
This must be implemented in a subclassed HOutputHandler
For example: the following line of code can be use to specify the stl extenstion:
{return "stl";};
The following line of code can be used to specify that jpg, bmp and gif extension are handled:
{return "jpg;bmp;gif";};
Implements HOutputHandler.
|
inlinevirtual |
This abstract function must register extension types to be handled by subclassed HOutputHandler instance.
For example, the following lines of code can be used to specify a class that will handle files with "tiff" and "tif" extensions:
Implements HOutputHandler.
References HIORegisterOutputType.