HIOUtilityVRML

class HIOUtilityVRML

VRML import support has been deprecated. This class is provided as-is and is limited to loading faceted geometry, lines, spheres, text (including font), transforms, and basic color information (diffuse, transparency, shininess).

Inherits from: HInputHandler

Methods

HIOUtilityVRML::HIOUtilityVRML()

Constructs an HIOUtilityVRML object.

virtual HIOUtilityVRML::~HIOUtilityVRML()

virtual

char const *HIOUtilityVRML::GetInputName()

Returns

A character pointer denoting the name of the handler.
void HIOUtilityVRML::RegisterInputHandlerTypes()

This method registers the “wrl” extension to this handler as an input handler.

char const *HIOUtilityVRML::GetInputTypesString()

Returns

The input extension type that is handled by HIOUtilityVRML which is “wrl”.
HInputHandlerStyle HIOUtilityVRML::GetInputStyle()

Returns

The type of input style which is #HInputHandlerStyleModel.
HFileInputResult HIOUtilityVRML::FileInputByKey(__wchar_t const *FileName, HC_KEY key, HInputHandlerOptions *options)

This method reads the given VRML 2.0 file into the segment tree underneath 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.
HFileInputResult HIOUtilityVRML::FileInputByKey(char const *FileName, HC_KEY key, HInputHandlerOptions *options)
HFileInputResult HIOUtilityVRML::FileInputByKey(unsigned short const *FileName, HC_KEY key, HInputHandlerOptions *options)