public class SoHeightFieldProperty extends SoVolumeData
SoHeightFieldProperty defines a set of values on a uniform grid in the XY plane that can be used to color an SoHeightFieldGeometry when rendered using an SoHeightFieldRender node.
SoHeightFieldProperty is derived from SoVolumeData and serves a similar purpose in the scene graph, providing a reference to an LDM data set which will be loaded as needed by rendering nodes, specifically SoHeightFieldRender in this case.
The property data is given using the inherited field fileName or by using a custom reader through the setReader method.
Multiple SoHeightFieldProperty nodes can be inserted in a scene graph and combined together in the GPU to do render compositing. However the default fragment shader only handles one property (the first one). To combine multiple properties use a custom shader program (see SoVolumeShader and the example program).
Note that it is not necessary (or useful) to set the inherited extent field. SoHeightFieldRender will use the extent associated with the SoHeightFieldGeometry node.
File format/default:
HeightFieldProperty {
| fileName | "" |
| storageHint | AUTO |
| usePalettedTexture | true |
| texturePrecision | 0 |
| useSharedPalettedTexture | true |
| useCompressedTexture | true |
| useExtendedData | false |
| dataSetId | 1 |
| data | NODATA 0 0 0 UBYTE 8 |
See also:
SoHeightFieldRender, SoHeightFieldGeometry, SoMultiDataSeparator, SoConverter
SoVolumeData.Axis, SoVolumeData.CoordinateTypes, SoVolumeData.OverMethods, SoVolumeData.StorageHints, SoVolumeData.SubMethodsSoDataSet.DataTypes, SoDataSet.LDMDataModifierInventor.ConstructorCommandAUTO, AVERAGE, CONSTANT, COORDINATES_RECTILINEAR, COORDINATES_UNIFORM, CUBIC, data, dataRGBA, LINEAR, MAX, MEMORY, NEAREST, NONE, storageHint, TEX2D, TEX2D_MULTI, TEX2D_SINGLE, TEX3D, useExtendedData, usePalettedTexture, useSharedPalettedTexture, volumeDataId, VOLUMEPRO, X, Y, ZallocateResourceOnRender, dataSetId, dataTransform, extent, fileName, FLOAT, ldmResourceParameters, SIGNED_BYTE, SIGNED_INT32, SIGNED_SHORT, texturePrecision, UNSIGNED_BYTE, UNSIGNED_INT32, UNSIGNED_SHORT, useCompressedTextureVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoHeightFieldProperty() |
enableAutoSubSampling, enableAutoUnSampling, enableSubSampling, getCoordinateType, getHistogram, getIntMinMax, getPageSize, getRectilinearCoordinates, getSubSamplingLevel, getTexMemorySize, isAutoSubSamplingEnabled, isAutoUnSamplingEnabled, isPaging, isSubSamplingEnabled, loadRegions, reSampling, reSampling, setPageSize, setPageSize, setRGBAData, setSubSamplingLevel, setSubSamplingMethod, setTexMemorySize, subSetting, unSample, updateRegions, voxelToXYZ, voxelToXYZ, XYZToVoxel, XYZToVoxeldataSize, editBoxes, editSolidShape, editSubVolume, editSubVolume, editSurfaceShape, editTile, editTile, finishEditing, getDataSize, getDataType, getDatumSize, getDimension, getDoubleMinMax, getLdmDataAccess, getLdmManagerAccess, getLDMReader, getMaxNumDataSets, getMinMax, getNodeFrontManager, getNumTimeSteps, getOverlapping, getReader, getTileDimension, getTileManager, getTileVisitor, getVVizGeometry, hasEditedTile, isDataFloat, isDataSigned, isTimeDependent, numSigBits, readTile, redoEditing, resetReader, setLDM, setLDMDataModifier, setLDMReader, setReader, setReader, setTileVisitor, startEditing, undoEditing, writeTileaffectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadsGenerated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com