HIOUtilityOOC

class HIOUtilityOOC

The HIOUtilityOOC is the HIO plug-in class for the HOOPS/OOC module. Using this input handler, you can load OOC files that have been preprocess by ooc.exe into the HOOPS database.

Inherits from: HInputHandler

Methods

HIOUtilityOOC::HIOUtilityOOC()

Constructs an HIOUtilitySKP object.

HIOUtilityOOC::~HIOUtilityOOC()
virtual HFileInputResult HIOUtilityOOC::FileInputByKey(wchar_t const *filename, HC_KEY key, HInputHandlerOptions *options)

virtual

This method reads the OOC file into the segment tree underneath given key.

Parameters

filename: The UNICODE name of the file to load.

key: The HOOPS segment key to load model data into.

options: An options class containing any needed extra information for operation.

Returns

The #HFileInputResult result of the input operation.
virtual HFileInputResult HIOUtilityOOC::FileInputByKey(char const *filename, HC_KEY key, HInputHandlerOptions *options)

virtual

This method reads the OOC file into the segment tree underneath given key.

Parameters

filename: The name of the file to load.

key: The HOOPS segment key to load model data into.

options: An options class containing any needed extra information for operation.

Returns

The #HFileInputResult result of the input operation.
virtual char const *HIOUtilityOOC::GetInputName()

virtual

Returns

A character pointer denoting the name of the input handler.
virtual char const *HIOUtilityOOC::GetInputTypesString()

virtual

This method must be implemented in a subclassed HInputHandler. Examples:

{return "stl";};

The following line of code can be used to specify the stl extension:

{return "jpg;bmp;gif";};

The following line of code can be used to specify that the jpg, bmp and gif extension are handled:

Returns

The extension type or types that are handled by this HInputHandler.
virtual HInputHandlerStyle HIOUtilityOOC::GetInputStyle()

virtual

This abstract method returns the HInputHandlerStyle the HInputHandler.

{return HInputHandlerStyleModel;}

For example, the following line of code can be used for an HInputHandler that handles models:

virtual void HIOUtilityOOC::RegisterInputHandlerTypes()

virtual

This abstract function must register extension types to be handled by subclassed HInputHandler instance.

{HIORegisterInputType("stl",this);};

For example, the following line of code can be used to specify a class that will handle files with “stl” extensions: