The HDB class serves as a wrapper/utility class to manage an instance of the HOOPS/3dGS scene-graph. More...
#include <HDB.h>
Public Member Functions | |
virtual void | Init () |
Static Public Member Functions | |
static void | DecrementInstanceCount () |
static void | DisableErrorManager () |
static void | EnableErrorManager () |
static bool | GetCleanInclude () |
static const char * | GetDriverType () |
static HDB * | GetHDB () |
static HImManager * | GetHImManager () |
static HIOManager * | GetHIOManager () |
static HTManager * | GetHTManager () |
static const char * | GetInstanceBase () |
static int | GetInstanceCount () |
static bool | GetIsolatedDrivers () |
static HMaterialLibrary * | GetMaterialLibrary () |
static unsigned long | GetNextCookie () |
static bool | GetOwnsSystem () |
static bool | GetPublishExchangeLicenseSet () |
static int | GetUniqueID () |
static HC_KEY | GetUniqueIncludeKey () |
static void | IncrementInstanceCount () |
static void | Lock () |
static void | ReportError (const char *message, int severity=1, int category=0, int specific=0) |
static void | SetCleanInclude (bool value) |
static void | SetDriverType (const char *s) |
static HImManager * | SetHImManager (HImManager *manager) |
static HIOManager * | SetHIOManager (HIOManager *manager) |
static HTManager * | SetHTManager (HTManager *manager) |
static void | SetInstanceBase (const char *s) |
static void | SetInstanceCount (int count) |
static void | SetIsolatedDrivers (bool isolated) |
static void | SetMaterialLibrary (HMaterialLibrary *library) |
static void | SetOwnsSystem (bool owns) |
static void | SetPublishExchangeLicenseSet (bool isSet) |
static void | UnLock () |
The HDB class serves as a wrapper/utility class to manage an instance of the HOOPS/3dGS scene-graph.
HDB Stores the information of how many and which type of HOOPS driver instances the associated object HBaseView creates.
static void HDB::DecrementInstanceCount | ( | ) | [static] |
This method decrements the number of instances of a driver by one.
static void HDB::DisableErrorManager | ( | ) | [static] |
This method cleans up the error manager and then disables it.
static void HDB::EnableErrorManager | ( | ) | [static] |
This method initializes the error manager and puts it in use.
static bool HDB::GetCleanInclude | ( | ) | [inline, static] |
static const char* HDB::GetDriverType | ( | ) | [static] |
static HImManager* HDB::GetHImManager | ( | ) | [static] |
static HIOManager* HDB::GetHIOManager | ( | ) | [static] |
Referenced by HIOUtilityPDF::Has3dSupport().
static HTManager* HDB::GetHTManager | ( | ) | [static] |
static const char* HDB::GetInstanceBase | ( | ) | [static] |
static int HDB::GetInstanceCount | ( | ) | [inline, static] |
static bool HDB::GetIsolatedDrivers | ( | ) | [inline, static] |
static HMaterialLibrary* HDB::GetMaterialLibrary | ( | ) | [static] |
static unsigned long HDB::GetNextCookie | ( | ) | [inline, static] |
static bool HDB::GetOwnsSystem | ( | ) | [inline, static] |
static int HDB::GetUniqueID | ( | ) | [inline, static] |
static HC_KEY HDB::GetUniqueIncludeKey | ( | ) | [static] |
static void HDB::IncrementInstanceCount | ( | ) | [static] |
This method augments the number of instances of a driver by one.
virtual void HDB::Init | ( | ) | [virtual] |
Init() initializes the HOOPS attributes for driver type and unsets the default HOOPS alias--"?Picture"--for the root segment of the given driver. The function also sets up a default color map and registers the HOOPS I.M. callbacks that are listed in HDB::RegisterHoopsIMCallbacks().
static void HDB::ReportError | ( | const char * | message, |
int | severity = 1 , |
||
int | category = 0 , |
||
int | specific = 0 |
||
) | [static] |
This method generates a HOOPS error. Using this method, allows the error to go through HOOPS so that it will be intercepted by whatever error handlers the app might have registered, and will use the reporting mechanism appropriate to the specific platform.
message | The text to be posted. |
severity | If the value is 0, the message is informational. If the value is 1, the message is a warning. If the value is 2, then the message is an error. If the value is 3 or greater, the error is fatal. |
category | The category that this error falls under as described in HC_Define_Error_Handler. |
specific | The specific error under the category as described in HC_Define_Error_Handler. |
static void HDB::SetCleanInclude | ( | bool | value | ) | [inline, static] |
This method determines whether global includes should be moved to model specific includes during reading.
value | Pass true to have global includes move to model specific includes during reading or false to keep the includes. |
static void HDB::SetDriverType | ( | const char * | s | ) | [static] |
This method sets the base driver type for the driver instances.
static HImManager* HDB::SetHImManager | ( | HImManager * | manager | ) | [static] |
This method replaces the HOOPS/3dGS I.M. manager.
manager | A pointer to an HImManager object. |
static HIOManager* HDB::SetHIOManager | ( | HIOManager * | manager | ) | [static] |
This method replaces the input/output manager.
manager | A pointer to an HIOManager object. |
static void HDB::SetInstanceBase | ( | const char * | s | ) | [static] |
This method sets the base name for driver instances.
static void HDB::SetInstanceCount | ( | int | count | ) | [inline, static] |
This method sets the number of instances of a driver.
count | The number of driver instances. |
static void HDB::SetIsolatedDrivers | ( | bool | isolated | ) | [inline, static] |
Sets the "isolated" driver option. Allows a driver to be spawned on a separate thread. Used for background printing or multiple views.
static void HDB::SetMaterialLibrary | ( | HMaterialLibrary * | library | ) | [static] |
static void HDB::SetOwnsSystem | ( | bool | owns | ) | [inline, static] |