Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilitySKP Class Reference

#include <HIOUtilitySKP.h>

Inheritance diagram for HIOUtilitySKP:

HInputHandler

List of all members.

Public Member Functions

HFileInputResult FileInputByKey (const unsigned short *FileName, HC_KEY key, HInputHandlerOptions *options)
HFileInputResult FileInputByKey (const wchar_t *FileName, HC_KEY key, HInputHandlerOptions *options)
HFileInputResult FileInputByKey (const char *FileName, HC_KEY key, HInputHandlerOptions *options)
const char * GetInputName ()
HInputHandlerStyle GetInputStyle ()
const char * GetInputTypesString ()
const char * GetOutputName ()
 HIOUtilitySKP ()
bool InitSKP ()
void RegisterInputHandlerTypes ()
void ShutdownSKP ()

Public Attributes

CComPtr< ISkpApplication > m_pApp


Detailed Description

The HIOUtilitySKP is the integration class for the SketchUp toolkit. Using this integration class allows you to import Google SketchUp's skp file.

Constructor & Destructor Documentation

HIOUtilitySKP::HIOUtilitySKP (  )  [inline]

Constructs an HIOUtilitySKP object.

References HInputOpFileInputByKey, and HInputHandler::SetInputOps().


Member Function Documentation

HFileInputResult HIOUtilitySKP::FileInputByKey ( const unsigned short *  FileName,
HC_KEY  key,
HInputHandlerOptions options 
) [virtual]

This method reads the SKP 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.

Reimplemented from HInputHandler.

HFileInputResult HIOUtilitySKP::FileInputByKey ( const char *  FileName,
HC_KEY  key,
HInputHandlerOptions options 
) [virtual]

This method reads the SKP 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.

Reimplemented from HInputHandler.

const char* HIOUtilitySKP::GetInputName (  )  [inline, virtual]

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

Implements HInputHandler.

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

Returns:
The type of input style which is HInputHandlerStyleModel.

Implements HInputHandler.

References HInputHandlerStyleModel.

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

Returns:
The input extension type that is handled by HIOUtilitySKP which is "skp".

Implements HInputHandler.

const char* HIOUtilitySKP::GetOutputName (  )  [inline]

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

bool HIOUtilitySKP::InitSKP (  ) 

This method Initializes Runtime Extension environment and loads sketchup reader libray.

Returns:
Returns false if unable to load SketchUp dll.

void HIOUtilitySKP::RegisterInputHandlerTypes (  )  [inline, virtual]

This method registers the "skp" extension to this handler as an input handler.

Implements HInputHandler.

References HIORegisterInputType.

void HIOUtilitySKP::ShutdownSKP (  ) 

This method frees the sketchup reader library.


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