Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilityOOC Class Reference

#include <HIOUtilityOOC.h>

List of all members.

Public Member Functions

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

Static Public Member Functions

static bool FreePointCloudData (int signal, void *signal_data, void *user_data)
static bool UpdateCheck (float request_time, float actual_time, void *user_data)

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

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

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.
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.

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

Implements HInputHandler.

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.

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.

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: