Class SoHeightFieldPropertyMask
- All Implemented Interfaces:
SafeDisposable
SoHeightFieldPropertyMask specifies undefined "cells" in a height field data set. The mask is itself a data volume consisting of binary values. The volume values may be any supported data type. Zero values are "false" indicating undefined cells and non-zero values are "true" indicating valid cells.
A cell is defined by four height values in the SoHeightFieldGeometry data set. Setting a value to the undefinedValue in SoHeightFieldGeometry removes that height value from the mesh. Setting a cell to undefined in SoHeightFieldPropertyMask effectively removes four height values from the mesh.
The dimensions of the SoHeightFieldPropertyMask data set must be exactly the same as the dimensions of the corresponding SoHeightFieldGeomerty data set. However, since this data set corresponds to cells, if the SoHeightFieldGeometry dimensions are N x N, then only (N-1) x (N-1) values in the SoHeightFieldPropertyMask will actually be used.
Note that the inherited undefinedValue field is ignored. Setting it has no effect.
File format/default:
HeightFieldPropertyMask {
| allocateResourceOnRender | false |
| data | NODATA 0 0 0 UBYTE 8 |
| dataRGBA | false |
| dataSetId | 1 |
| dataTransform | NULL |
| extent | -1 -1 -1 1 1 1 |
| fileName | "" |
| texturePrecision | 0 |
| undefinedValue | NaN |
| useCompressedTexture | true |
| useExtendedData | false |
| usePalettedTexture | true |
| useSharedPalettedTexture | true |
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.volumeviz.nodes.SoVolumeData
SoVolumeData.Axis, SoVolumeData.CoordinateTypes, SoVolumeData.OverMethods, SoVolumeData.StorageHints, SoVolumeData.SubMethodsNested classes/interfaces inherited from class com.openinventor.ldm.nodes.SoDataSet
SoDataSet.DataTypes, SoDataSet.LDMDataModifier, SoDataSet.ValueInterpretationsNested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
Fields inherited from class com.openinventor.volumeviz.nodes.SoVolumeData
data, dataRGBA, useExtendedData, usePalettedTexture, useSharedPalettedTextureFields inherited from class com.openinventor.ldm.nodes.SoDataSet
allocateResourceOnRender, dataSetId, dataTransform, extent, fileName, ldmResourceParameters, texturePrecision, undefinedValue, useCompressedTexture, valueInterpretationFields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.openinventor.volumeviz.nodes.SoVolumeData
doAction, editSolidShape, editSubVolume, editSubVolume, editSurfaceShape, editTile, editTile, finishEditing, getCoordinateType, getDoubleMinMax, getHistogram, getMinMax, getRectilinearCoordinates, getRenderUnitID, getTexMemorySize, GLRender, redoEditing, reSampling, reSampling, setRGBAData, setTexMemorySize, startEditing, subSetting, undoEditing, updateRegions, useFakeDataMethods inherited from class com.openinventor.ldm.nodes.SoDataSet
callback, dataSize, editBoxes, getBoundingBox, getDataSize, getDataType, getDatumSize, getDimension, getLdmDataAccess, getLDMReader, getLDMTopoOctree, getMaxNumDataSets, getOverlapping, getReader, getTileDimension, handleEvent, hasEditedTile, isDataFloat, isDataInMemory, isDataSigned, isInMemory, numSigBits, pick, readTile, resetReader, saveEditing, setLDMDataModifier, setLDMReader, setReader, setReader, voxelToXYZ, voxelToXYZ, write, writeTile, XYZToVoxel, XYZToVoxelMethods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, copy, copy, distribute, getAlternateRep, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, rayPick, search, setOverride, touchMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Constructor Details
-
SoHeightFieldPropertyMask
public SoHeightFieldPropertyMask()
-