Use SoDataSet::dataTransform field which handle an SoLDMDataTransform fieldContainer. Type declaration for the data transform function. See SoDataSet::setLDMDataTransformFunction. This function allows a tile of data to be transformed after it is loaded, but before it is stored in main memory. It is not currently possible to access other tiles of data (for example using the data access API) from this function. Note that the function will be called from LDM data loader threads, so multiple threads may be executing in this function at the same time (on different tiles). Inputs are:
The associated data set object the function is calling for. This allows retrieving information such as data type (ds->getDataType()).
The dimensions of the tile to transform. This defines the size of the buffer and is the same for every tile in a dataset. However tiles on the "outside" of the dataset may be partial tiles and contain less than the full number of actual data values.
A buffer containing the tile data to transform. The data should be modified "in place" in this buffer.
The position and extent of the tile in data space (voxel coordinates). For lower resolution tiles (level > 0) the extent of the tile will be larger than the dimensions of the tile (number of values in the tile).
The tile resolution level. Level 0 is full resolution data.
Optional user data specified with setLDMDataTransformFunction.
Deprecated since Open Inventor 10810
This method is useless because the current highlighting of the subgraph is automatically turned off when switching from picking to viewing mode in viewers such as examiner viewers. However if your are using a custom viewer, you must send an SoLocation2Event::EventSource::OTHER event when switching modes instead of calling turnOffCurrentHighlight.