SoLDMResourceManager Class |
Resource Manager.
Namespace: OIV.LDM
The SoLDMResourceManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | SoLDMResourceManager | Constructor. |
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | FixParams | By default, the parameters of a resource manager are automatically recalculated if the parameter for another data set changes (to respect the global amount of resources). |
![]() | GetDataSize | Returns the data size in number of bytes. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() ![]() | GetLoadNotificationRate | Obsolete. Returns notification rate. |
![]() | GetLoadPolicy | Obsolete. Returns the current LoadPolicy value. |
![]() | GetMax2DTextures | Obsolete. Obsoletesince Open Inventor 8000 Use SoDataSet's field max2DTextures instead. |
![]() | GetMaxMainMemory | Obsolete. Get the allowed main memory in MB for corresponding dataset. |
![]() | GetMaxResolutionThreshold | Obsolete. Obsoletesince Open Inventor 8000 Use SoDataSet's field maxResolutionThreshold instead. |
![]() | GetMaxTexMemory | Obsolete. Obsoletesince Open Inventor 9100 No longer used. |
![]() | GetMaxTilesInMainMem | Obsolete. Get the allowed number of tiles in main memory. |
![]() | GetMaxTilesInTexMem | Obsolete. Obsoletesince Open Inventor 9100 No longer used. |
![]() ![]() | GetMaxVViz2DTextures | Returns the maximum global numbers of 2D Textures displayable. |
![]() ![]() | GetMaxVVizMainMemory | Obsolete. Returns the maximum global amount of main memory in MB. |
![]() ![]() | GetMaxVVizTexMemory | Obsolete. Returns the allowed global texture memory in MB (for all data sets). |
![]() | GetMinResolutionThreshold | Obsolete. Obsoletesince Open Inventor 8000 Use SoDataSet's field minResolutionThreshold instead. |
![]() ![]() | GetMonitoringAmount | |
![]() | GetMovingTimeOut | Obsolete. Obsoletesince Open Inventor 9610 Use float SoLDMResourceParameters.getMovingTimeOut() instead. |
![]() ![]() | GetMultiIO | Returns true if LDM uses multiple loading threads. |
![]() ![]() | GetNumIO | Obsolete. Returns current number of loading threads. |
![]() | GetOverlapping | Obsolete. Returns the tile overlapping flag. |
![]() | GetTex2LoadRate | Obsolete. Obsoletesince Open Inventor 8000 Use SoDataSet's field tex2LoadRate instead. |
![]() ![]() | GetTex2VVizLoadRate | Obsolete. Returns total number of tiles allowed to be loaded in texture memory per frame (for all data sets). |
![]() | GetTex3LoadRate | Obsolete. Obsoletesince Open Inventor 8000 Use SoDataSet's field tex3LoadRate instead. |
![]() ![]() | GetTex3VVizLoadRate | Obsolete. Returns total number of tiles allowed to be loaded in texture memory per frame (for all data sets). |
![]() | GetTexelSize | Returns the size of a texture element in bits. |
![]() | GetTileDimension | Obsolete. Obsoletesince Open Inventor 9000 No longer used. |
![]() | GetTileHalfLife | Obsolete. Returns tile half life. |
![]() | GetTileSize | Returns the tile dimension. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetVolumeDim | Returns the dimension of the data set. |
![]() | InvalidateData | This function allows you to synchronously unload the data if it needs to be refetched. |
![]() | IsParamsFixed | Returns the fixed parameters flag. |
![]() | Reset | The reset function is useful when using a customized LDM manager. |
![]() | SetDataSize | Sets the size of the data in number of bytes. |
![]() ![]() | SetLoadNotificationRate | Obsolete. When rate tiles have been loaded in main memory, a redraw will be scheduled. |
![]() | SetLoadPolicy | Obsolete. Sets loading behavior. |
![]() | SetMax2DTextures | Obsolete. Obsoletesince Open Inventor 8000 Use SoDataSet's field max2DTextures instead. |
![]() | SetMaxMainMemory | Obsolete. |
![]() | SetMaxResolutionThreshold | Obsolete. Obsoletesince Open Inventor 8000 Use SoDataSet's field maxResolutionThreshold instead. |
![]() | SetMaxTexMemory | Obsolete. Obsoletesince Open Inventor 9100 No longer used. |
![]() | SetMaxTilesInMainMem | Obsolete. Set the allowed number of tiles in main memory. |
![]() | SetMaxTilesInTexMem | Obsolete. Obsoletesince Open Inventor 9100 No longer used. |
![]() ![]() | SetMaxVViz2DTextures | Sets maximum global numbers of 2D Textures allowed to be displayed. |
![]() ![]() | SetMaxVVizMainMemory | Obsolete. Sets maximum global amount of main memory in MB. |
![]() ![]() | SetMaxVVizTexMemory | Obsolete. Sets the allowed global texture memory in MB (for all data sets). |
![]() | SetMinResolutionThreshold | Obsolete. Calls SetMinResolutionThreshold(MIN_RES_THRESHOLD). |
![]() | SetMinResolutionThreshold(Int32) | Obsolete. Obsoletesince Open Inventor 8000 Use SoDataSet's field minResolutionThreshold instead. |
![]() ![]() | SetMonitoringAmount | |
![]() | SetMovingTimeOut | Obsolete. Obsoletesince Open Inventor 9610 Use SoLDMResourceParameters.setMovingTimeOut(float) instead. |
![]() ![]() | SetMultiIO | Sets whether LDM should use multiple loading threads or not. |
![]() ![]() | SetNumIO | Obsolete. Sets how many loading threads to use if multiIO mode is on. |
![]() | SetOverlapping | Obsolete. Sets the tile overlapping flag. |
![]() | SetTex2LoadRate | Obsolete. Obsoletesince Open Inventor 8000 Use SoDataSet's field tex2LoadRate instead. |
![]() ![]() | SetTex2VVizLoadRate | Obsolete. |
![]() | SetTex3LoadRate | Obsolete. |
![]() ![]() | SetTex3VVizLoadRate | Obsolete. Sets the total number of tiles allowed to be loaded in texture memory per frame (for all data sets). |
![]() | SetTexelSize | Sets the size of a texture element in bits(for instance, 32 if RGBA). |
![]() | SetTileHalfLife | Obsolete. When using getData functions from #SoDataSet.SoLDMDataAccess, once a tile is unlocked by the application (call to #SoDataSet.SoLDMDataAccess.releaseData), its weight will decrease until the tile is weighted again by LDM. |
![]() | SetTileSize(Int32) | Obsolete. Obsoletesince Open Inventor 9000 No longer used. |
![]() | SetTileSize(SbVec3i32) | Sets dimension of the tile stored in disk. |
![]() | SetVolumeDim(SbVec3i32) | Sets the dimension of the data set. |
![]() | SetVolumeDim(SbVec3s) | Obsolete. Obsoletesince Open Inventor 9000 No longer used. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The SoLDMResourceManager maintains information about the resources available on the machine and constrains the data flow to these resource limits. The major constraints are texture memory, main memory, and main memory-to-texture memory bandwidth. Each of them can entirely be specified by the application, at any time.
It queries the SoLDMTileManager for main memory constraints and also queries the SoLDMNodeFrontManager for texture memory and bandwidth constraints. The SoLDMTileVisitor queries the Resource Manager to know the tiles of which resolution that must always be kept in main memory and tiles of which resolution the application never wants to load.