HIOUtilityDGN
Functions
void |
|
char const * |
|
char const * |
|
char const * |
|
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 char const *GetOutputName()
- Returns
A character pointer denoting the name of the handler.
-
inline virtual char const *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 char const *GetInputTypesString()
- Returns
The input extension type that is handled by HIOUtilityDGN which is “dgn”.
-
virtual HFileInputResult FileInputByKey(char const *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(wchar_t const *FileName, HC_KEY key, HInputHandlerOptions *options)
-
virtual HFileInputResult FileInputByKey(unsigned short const *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()