SoDB Class |
Scene graph database class.
Namespace: OIV.Inventor
The SoDB type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AddConverter | |
![]() ![]() | AddPlugin | Loads a plugin library. |
![]() ![]() | AddPluginsDirectory | Adds a directory to search for libraries defining new Open Inventor plugins. |
![]() ![]() | CloseRegistryKey | This closes the key opened by openRegistryKey. |
![]() ![]() | CloseTGSRegistryKey | Obsolete. Obsoletesince Open Inventor 8100 Use SoDB.closeRegistryKey instead . |
![]() ![]() | CreateGlobalField | The database maintains a namespace for global fields, making sure that there is at most one instance of a global field with any given name in the database. |
![]() ![]() | CreateRoute | Creates a VRML 2.0 ROUTE-TO connection. |
![]() | Equals | (Inherited from Object.) |
![]() ![]() | GetConverter | Returns the field conversion engine registered for the two given field types. |
![]() ![]() | GetDelaySensorTimeout | Returns the current delay queue timeout value. |
![]() ![]() | GetGlobalField | Returns the global field with the given name, or NULL if there is none. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() ![]() | GetHeaderString | Returns the i'th header. |
![]() ![]() | GetIvTuneAllowed | Returns true if IvTune can be launched interactively using the keyboard shortcut. |
![]() ![]() | GetLicensingVersionNumber | Obsolete. Returns current version number for license checking. |
![]() ![]() | GetNumHeaders | Returns the number of valid headers, including standard Open Inventor headers, and user-registered headers. |
![]() ![]() | GetNumRenderCaches | Returns the current maximum number of render caches. |
![]() ![]() | GetRealTimeInterval | Returns how often the database is updating the realTime global field. |
![]() ![]() | GetRenderCacheMode | Returns the current render cache mode. |
![]() ![]() | GetTickCount | Returns the current time. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | GetVersion | Obsolete. Returns a character string identifying the version of the Open Inventor library in use. |
![]() ![]() | IsMultiThread | Returns whether multi-thread support is enabled in Open Inventor. |
![]() ![]() | IsPrioritizedChildrenCaching | Obsolete. Returns the children caching priority state. |
![]() ![]() | IsValidHeader | This returns true if the given character string is one of the valid Open Inventor file headers, (e.g., "#Inventor V2.0 binary"), or if the string has been registered as a valid header through the registerHeader() method. |
![]() ![]() | LicenseCheck(String, Single) | Obsolete. Calls LicenseCheck(productName, version, (System.String ^)nullptr, true, (cli.array<System.String^>^)nullptr). |
![]() ![]() | LicenseCheck(String, Single, String) | Obsolete. Calls LicenseCheck(productName, version, licenseString, true, (cli.array<System.String^>^)nullptr). |
![]() ![]() | LicenseCheck(String, Single, String, Boolean) | Obsolete. Calls LicenseCheck(productName, version, licenseString, printWarning, (cli.array<System.String^>^)nullptr). |
![]() ![]() | LicenseCheck(String, Single, String, Boolean, String) | Obsolete. Query if Open Inventor or an extension module is licensed on this machine. |
![]() ![]() | OpenRegistryKey | Calls OpenRegistryKey(false). |
![]() ![]() | OpenRegistryKey(Boolean) | |
![]() ![]() | OpenTGSRegistryKey | Obsolete. Calls OpenTGSRegistryKey(false). |
![]() ![]() | OpenTGSRegistryKey(Boolean) | Obsolete. Obsoletesince Open Inventor 8100 Use SoDB.openRegistryKey instead. |
![]() ![]() | PrioritizeChildrenCaching | Obsolete. Set the priority to children caching. |
![]() ![]() | ProcessEvents | Process Open Inventor sensor queues (TimerQueue and DelayQueue). |
![]() ![]() | Read(SoInput, SoNode) | |
![]() ![]() | Read(SoInput, SoPath) | Reads a graph from the file specified by the given SoInput, returning the resulting path in path. |
![]() ![]() | ReadAll(String) |
Read all graphs from the file specified by the file name. See #ReadAll(SoInput) for more details.
|
![]() ![]() | ReadAll(SoInput) | Reads all graphs and paths from the file specified by the given SoInput. |
![]() ![]() | ReadAllVRML | Obsolete. Reads all graphs and paths from the VRML file specified by the given SoInput. |
![]() ![]() | Readlock | Acquire a non-exclusive global scene graph read-lock. |
![]() ![]() | ReadPROTOFromFile | |
![]() ![]() | Readunlock | Release a non-exclusive global scene graph read-lock. |
![]() ![]() | RemoveConverter | Remove a previously added converter. |
![]() ![]() | RemovePlugin | Unloads the specified plugin library. |
![]() ![]() | RemovePluginsDirectory | Remove directory from the list of search directories for plugin loading. |
![]() ![]() | RemoveRoute | Removes a VRML 2.0 ROUTE-TO connection. |
![]() ![]() | RenameGlobalField | Renames the global field named oldName. |
![]() ![]() | SetDelaySensorTimeout | This sets the timeout value for sensors that are delay queue sensors (one-shot sensors, data sensors). |
![]() ![]() | SetIvTuneAllowed | |
![]() ![]() | SetNumRenderCaches | This method sets the maximum number of caches for nodes that create render caches. |
![]() ![]() | SetRealTimeInterval | The database automatically creates one global field when SoDB.init() is called. |
![]() ![]() | SetRenderCacheMode | This method specifies the way render caches (display lists) will be created. |
![]() ![]() | SetSystemTimer | The system dependent timer allows Inventor to manage its sensor queue (for timers, animation) when creating custom viewers. |
![]() ![]() | TGSLicenseCheck(String, Single) | Obsolete. Calls TGSLicenseCheck(productName, version, (System.String ^)nullptr, true). |
![]() ![]() | TGSLicenseCheck(String, Single, String) | Obsolete. Calls TGSLicenseCheck(productName, version, licenseString, true). |
![]() ![]() | TGSLicenseCheck(String, Single, String, Boolean) | Obsolete. Obsoletesince Open Inventor 8000 Use SoDB.LicenseCheck instead. |
![]() ![]() | ThreadInit |
Initializes the database with support for multi thread programs.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() ![]() | Writelock | Acquire the global scene graph write-lock. |
![]() ![]() | Writeunlock | Release the global scene graph write-lock. |
The SoDB class holds all scene graphs, each representing a 3D scene used by an application. A scene graph is a collection of SoNode objects which come in several varieties (see SoNode).
All methods in this class are static.
Data Files:
SoDB also provides convenient methods for reading data files, for example:
String filename = "$OIVHOME/data/models/bird.iv"; SoSeparator rootSep = null; SoInput input = new SoInput(); if (input.OpenFile(filename)) { rootSep = SoDB.ReadAll( input ); input.CloseFile(); }
Open Inventor
VRML/X3D
OpenFlight
DXF
STL (see SoSTLFileFormat and SoSTLInputReader)
Open Inventor also supports many standard CAD file formats. See SoCADInputReader for the current list. Also see SoCADFileFormat.
Version Number:
Please use the SoLicensesInfo class to query the Open Inventor version number.