HIOUtilityDGN
Functions
void |
|
const char * |
|
const char * |
|
const char * |
|
HFileInputResult |
|
HFileInputResult |
|
HFileInputResult |
|
void |
|
void |
Detailed Description
-
class HIOUtilityDGN : public HInputHandler
The HIOUtilityDGN is the integration class for Open Design Alliances (ODA) DGNDirect Toolkit. Using this integration class allows you to import Microstations’s DGN file. This integration is based on DGN Toolkit version 2.xx To use this integration class you will need to obtain a license of DGNDirect Toolkit from ODA.
Public Functions
-
inline HIOUtilityDGN()
Constructs an HIOUtilityDGN object.
-
inline ~HIOUtilityDGN()
-
inline virtual void RegisterInputHandlerTypes()
This method registers the “dgn” extension to this handler as an input handler.
-
inline const char *GetOutputName()
- Returns
A character pointer denoting the name of the handler.
-
inline virtual const char *GetInputName()
- Returns
A character pointer denoting the name of the input handler.
-
inline virtual HInputHandlerStyle GetInputStyle()
- Returns
The type of input style which is HInputHandlerStyleModel.
-
inline virtual const char *GetInputTypesString()
- Returns
The input extension type that is handled by HIOUtilityDGN which is “dgn”.
-
virtual HFileInputResult FileInputByKey(const char *FileName, HC_KEY key, HInputHandlerOptions *options)
This method reads the DGN 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.
-
HFileInputResult FileInputByKey(const wchar_t *FileName, HC_KEY key, HInputHandlerOptions *options)
-
virtual HFileInputResult FileInputByKey(const unsigned short *FileName, HC_KEY key, HInputHandlerOptions *options)
This method reads the DGN 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.
-
void InitDGNDirect()
This method Initializes Runtime Extension environment and DgnDirect toolkit
-
void ShutdownDGNDirect()
This method Uninitializes the DgnDirect toolkit.
-
inline HIOUtilityDGN()