public class SoLDMTileVisitor extends SoLDMLargeDataManagement
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
The SoLDMTileVisitor
allows the user to define a strategy to evaluate what part of the data set is the most important based on viewpoint and geometries. It is responsible for assessing the importance of tiles. This information is used by the node front manager (SoLDMNodeFrontManager
) as a predictor to optimally fill the texture memory. When the node front manager evaluates texture node front, it asks the SoLDMTileVisitor
for the weight of each tile by calling the getTileWeight function. The SoLDMTileVisitor
queries the SoLDMTileManager
to find out if the tile is present in main memory. If not, a null weight is returned to ensure the data of all requested textures are in main memory. The SoLDMTileVisitor
also queries the SoLDMGeometry
node to access geometric information related to the zone of the tile to be weighted.
See also:
SoLDMNodeFrontManager
, SoLDMTileManager
, SoLDMGeometry
, SoLDMResourceManagerDeprecated since Open Inventor 9700
LDM Tile Visitor is no longer used.
Modifier and Type | Class and Description |
---|---|
static class |
SoLDMTileVisitor.NodeStatus
Deprecated.
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoLDMTileVisitor()
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
combineParentWeight(float parentWeight,
float weight)
Deprecated.
This function combines the current tile weight with its parent.
|
float |
getCullWeight(float distToScreen)
Deprecated.
Assigns a weight based on distance to the center of the screen.
|
float |
getROIWeight(int distToROI,
float geometryPriority)
Deprecated.
Assigns a weight based on distance to ROI.
|
float |
getScreenResCullWeight(float voxelsize)
Deprecated.
Assigns a weight based on voxel size in pixel.
|
float |
getSurfaceGeomWeight(float distToGeom,
float geometryPriority)
Deprecated.
Assigns a weight based on distance to a surface geometry.
|
float |
getVolumeGeomWeight(float distToGeom,
float geometryPriority)
Deprecated.
Assigns a weight based on distance to a data set geometry.
|
float |
isCulled(SbBox3f tileBox)
Deprecated.
Calls isCulled(tileBox, (int)7).
|
float |
isCulled(SbBox3f tileBox,
int cullbits)
Deprecated.
TODO: doc with graph (default behavior graph)
Is the tile culled.
|
void |
valuationChangeNotify()
Deprecated.
Notify of a change of evaluator (change visitor type).
|
reset
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public float isCulled(SbBox3f tileBox)
public float isCulled(SbBox3f tileBox, int cullbits)
public void valuationChangeNotify()
public float getCullWeight(float distToScreen)
public float getROIWeight(int distToROI, float geometryPriority)
public float combineParentWeight(float parentWeight, float weight)
public float getVolumeGeomWeight(float distToGeom, float geometryPriority)
public float getScreenResCullWeight(float voxelsize)
SoVolumeRendering
, true by default).public float getSurfaceGeomWeight(float distToGeom, float geometryPriority)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com