HIOUtilityCGM

class HIOUtilityCGM

The HIOUtilityCGM is the class for writing CGM files using the HOOPS CGM driver.

Inherits from: HOutputHandler

Methods

HIOUtilityCGM::HIOUtilityCGM()

Constructs an HIOUtilityCGM object.

HIOUtilityCGM::~HIOUtilityCGM()
char const *HIOUtilityCGM::GetOutputName()

Returns

A character pointer denoting the name of the handler.
void HIOUtilityCGM::RegisterOutputHandlerTypes()

This method registers the “cgm” extension to this handler as an output handler.

char const *HIOUtilityCGM::GetOutputTypesString()

Returns

The string of the type of output this handler creates which is “cgm”.
HOutputHandlerStyle HIOUtilityCGM::GetOutputStyle()

Returns

The type of output style which is #HOutputHandlerStyleHardcopy.
char const *HIOUtilityCGM::GetOutputDefaultHSRA()

Returns

The default HSRA for the HIOUtilityCGM instance.
HFileOutputResult HIOUtilityCGM::FileOutputByKey(__wchar_t const *filename, HC_KEY key, HOutputHandlerOptions *options)

This method writes a CGM file out of the segment tree underneath the given key.

Parameters

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.

Returns

The #HFileOutputResult result of the output operation.
HFileOutputResult HIOUtilityCGM::FileOutputByKey(unsigned short const *filename, HC_KEY key, HOutputHandlerOptions *options)
HFileOutputResult HIOUtilityCGM::FileOutputByKey(char const *filename, HC_KEY key, HOutputHandlerOptions *options)