Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilityHPGL2 Class Reference

#include <HIOUtilityHOOPS.h>

Inheritance diagram for HIOUtilityHPGL2:

HOutputHandler

List of all members.

Public Member Functions

HFileOutputResult FileOutputByKey (const char *filename, HC_KEY key, HOutputHandlerOptions *options)
HFileOutputResult FileOutputByKey (const unsigned short *filename, HC_KEY key, HOutputHandlerOptions *options)
HFileOutputResult FileOutputByKey (const __wchar_t *filename, HC_KEY key, HOutputHandlerOptions *options)
const char * GetOutputDefaultHSRA ()
const char * GetOutputName ()
HOutputHandlerStyle GetOutputStyle ()
const char * GetOutputTypesString ()
 HIOUtilityHPGL2 ()
void RegisterOutputHandlerTypes ()


Detailed Description

The HIOUtilityHPGL is the class for writing HPGL2 files using the HOOPS HPGL2 driver. The output files are suitable to send to a HPGL2 printer or plotter.

Constructor & Destructor Documentation

HIOUtilityHPGL2::HIOUtilityHPGL2 (  )  [inline]


Member Function Documentation

HFileOutputResult HIOUtilityHPGL2::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.

Parameters:
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.
Returns:
The HFileOutputResult result of the output operation.

Reimplemented from HOutputHandler.

References HOutputHandler::FileOutputByKey().

HFileOutputResult HIOUtilityHPGL2::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.

Parameters:
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.
Returns:
The HFileOutputResult result of the output operation.

Reimplemented from HOutputHandler.

References HOutputHandler::FileOutputByKey().

HFileOutputResult HIOUtilityHPGL2::FileOutputByKey ( const __wchar_t *  filename,
HC_KEY  key,
HOutputHandlerOptions options 
) [virtual]

This method writes a HPGL2 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.

Reimplemented from HOutputHandler.

const char* HIOUtilityHPGL2::GetOutputDefaultHSRA (  )  [inline, virtual]

Returns:
The default HSRA for the HIOUtilityHPGL2 instance.

Reimplemented from HOutputHandler.

const char* HIOUtilityHPGL2::GetOutputName (  )  [inline, virtual]

Returns:
A character pointer denoting the name of the handler.

Implements HOutputHandler.

HOutputHandlerStyle HIOUtilityHPGL2::GetOutputStyle (  )  [inline, virtual]

Returns:
The type of output style which is HOutputHandlerStyleHardcopy.

Implements HOutputHandler.

References HOutputHandlerStyleHardcopy.

const char* HIOUtilityHPGL2::GetOutputTypesString (  )  [inline, virtual]

Returns:
The string of the type of output this handler creates which is "hp".

Implements HOutputHandler.

void HIOUtilityHPGL2::RegisterOutputHandlerTypes (  )  [inline, virtual]

This method registers the "hp" extension to this handler as an output handler.

Implements HOutputHandler.

References HC_Begin_Segment_Search(), HC_End_Segment_Search(), HC_Find_Segment(), and HIORegisterOutputType.


The documentation for this class was generated from the following file: