Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilityOOC Class Reference

#include <HIOUtilityOOC.h>

List of all members.

Public Member Functions

virtual HFileInputResult FileInputByKey (wchar_t const *filename, HC_KEY key, HInputHandlerOptions *options)
virtual HFileInputResult FileInputByKey (char const *filename, HC_KEY key, HInputHandlerOptions *options)
virtual char const * GetInputName ()
virtual HInputHandlerStyle GetInputStyle ()
virtual char const * GetInputTypesString ()
 HIOUtilityOOC ()
virtual void RegisterInputHandlerTypes ()

Detailed Description

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.


Constructor & Destructor Documentation

HIOUtilityOOC::HIOUtilityOOC ( )

Constructs an HIOUtilitySKP object.


Member Function Documentation

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:
filenameThe UNICODE name of the file to load.
keyThe HOOPS segment key to load model data into.
optionsAn 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 
) [inline, virtual]

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

Parameters:
filenameThe name of the file to load.
keyThe HOOPS segment key to load model data into.
optionsAn options class containing any needed extra information for operation.
Returns:
The #HFileInputResult result of the input operation.

Reimplemented from HInputHandler.

References HInputHandler::FileInputByKey().

virtual char const* HIOUtilityOOC::GetInputName ( ) [inline, virtual]
Returns:
A character pointer denoting the name of the input handler.

Implements HInputHandler.

virtual HInputHandlerStyle HIOUtilityOOC::GetInputStyle ( ) [inline, virtual]

This abstract method returns the HInputHandlerStyle the HInputHandler.

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

 

Implements HInputHandler.

References HInputHandlerStyleModel.

virtual char const* HIOUtilityOOC::GetInputTypesString ( ) [inline, virtual]

This method must be implemented in a subclassed HInputHandler.

Returns:
The extension type or types that are handled by this HInputHandler.

Examples:

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

 
 {return "stl";};

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

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

Implements HInputHandler.

virtual void HIOUtilityOOC::RegisterInputHandlerTypes ( ) [virtual]

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

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

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

Implements HInputHandler.


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