• Home
  • Manual
  • API Documentation
Search Results for

    Show / Hide Table of Contents
      • ABRFilterExample
      • ABRQueryExample
      • ABRSpaceConvertExample
      • BackgroundColor
      • DebugDraw
      • DisableABRLights
      • GenerateDataAndUseStyle
      • Grabbable
      • Grabber
      • HideShowMenu
      • LightEditor
      • LightEditorTile
      • PerformanceEnhancer
      • SVScreenshot
    • IVLab.ABREngine
      • ABRConfig
      • ABRConfig.Consts
      • ABRConfig.GroupToDataMatrixOverrideFields
      • ABRDataContainer
      • ABREngine
      • ABREngine.StateChangeDelegate
      • ABRInputAttribute
      • ABRInputGenre
      • ABRInputIndexerModule
      • ABRLight
      • ABRLightManager
      • ABRPlateType
      • ABRServer
      • ABRStateParser
      • AnglePrimitive
      • BooleanPrimitive
      • ColormapVisAsset
      • DataImpression
      • DataImpressionGroup
      • DataManager
      • DataPath
      • DataPath.DataPathType
      • DataPoint
      • DataRange<T>
      • DataTopology
      • Dataset
      • FilePathVisAssetFetcher
      • FloatPrimitive
      • GlyphGradient
      • GlyphVisAsset
      • GradientBlendMap
      • HttpDataLoader
      • HttpStateFileLoader
      • HttpVisAssetFetcher
      • IABRInput
      • IABRStateLoader
      • IColormapVisAsset
      • ICoordSpaceConverter
      • IDataAccessor
      • IDataImpressionRenderInfo
      • IDataLoader
      • IDataVariable<T>
      • IFloatPrimitive
      • IGlyphVisAsset
      • IHasDataset
      • IHasKeyData
      • IIntegerPrimitive
      • IKeyDataRenderInfo
      • ILineTextureVisAsset
      • IPrimitive
      • IPrimitiveGradient
      • ISurfaceTextureVisAsset
      • ITextureGradient
      • IVisAsset
      • IVisAssetFetcher
      • IVisAssetGradient<T>
      • IVolumeCoordSpaceConverter
      • IVolumeDataAccessor
      • InstancedMeshRenderer
      • InstancedSurfaceDataImpression
      • IntegerPrimitive
      • KeyData
      • LengthPrimitive
      • LineKeyData
      • LineTextureGradient
      • LineTextureVisAsset
      • MediaDataLoader
      • Notifier
      • PathStateFileLoader
      • PercentPrimitive
      • PointKeyData
      • PrimitiveGradient
      • RawABRInput
      • RawDataset
      • RawDataset.BinaryData
      • RawDataset.JsonHeader
      • RawDatasetAdapter
      • RawPrimitiveGradient
      • RawVisAssetGradient
      • RenderHints
      • ResourceStateFileLoader
      • ResourceVisAssetFetcher
      • ResourcesDataLoader
      • ScalarDataVariable
      • SerializableFloatArray
      • SerializableVectorArray
      • SimpleGlyphDataImpression
      • SimpleLineDataImpression
      • SimpleLineRenderInfo
      • SimpleSurfaceDataImpression
      • SimpleSurfaceRenderInfo
      • SimpleVolumeDataImpression
      • StateLocalVisAssetFetcher
      • SurfaceKeyData
      • SurfaceTextureGradient
      • SurfaceTextureVisAsset
      • TextStateFileLoader
      • TypeExtentions
      • UnityObjectSerializer
      • UpdateLevel
      • VectorDataVariable
      • VisAsset
      • VisAssetGradient
      • VisAssetLoader
      • VisAssetManager
      • VolumeKeyData
    • IVLab.ABREngine.Examples
      • CSVToPoints
      • CreateDataset
      • InteractiveState
      • MtStHelensData
      • MtStHelensVisDriver
    • IVLab.ABREngine.ExtensionMethods
      • DirectoryInfoExtensions
      • ScriptableObjectExtensions
    • IVLab.ABREngine.Legends
      • ABRLegend
      • ABRLegendEntry
      • ABRLegendEntry.Label
      • ABRLegendGeometry

    Interface IVolumeDataAccessor

    Interface to implement to share easier access to volume data within ABR.

    Namespace: IVLab.ABREngine
    Assembly: IVLab.ABREngine.Runtime.dll
    Syntax
    public interface IVolumeDataAccessor

    Methods

    | Improve this Doc View Source

    GetScalarValueAtDataSpacePoint(Vector3)

    Looks up the value in the original voxel data based upon a position specified in data space coordinates (i.e., real-world units).

    Declaration
    float GetScalarValueAtDataSpacePoint(Vector3 dataSpacePoint)
    Parameters
    Type Name Description
    Vector3 dataSpacePoint
    Returns
    Type Description
    float
    | Improve this Doc View Source

    GetScalarValueAtNearestVoxel(Vector3Int)

    Looks up the value in the original voxel data based upon a point in voxel space. This function does not use interpolation. It simply returns that data value stored for the center point of the closest voxel.

    Declaration
    float GetScalarValueAtNearestVoxel(Vector3Int voxelCoords)
    Parameters
    Type Name Description
    Vector3Int voxelCoords
    Returns
    Type Description
    float
    | Improve this Doc View Source

    GetScalarValueAtVoxelSpacePoint(Vector3)

    Looks up the value in the original voxel data based upon a point in voxel space. In the raw volume data each voxel contains one data value. If we think of those being the values of the data at a point right in the center of each voxel, then the point we are querying will rarely align perfectly with those center points; rather, it will fall somewhere between them. That is why the pointInVoxelSpace is allowed to include a fractional component. This function uses the fractional portion to perform a tri-linear interpolation of the data from the eight surrounding voxels to estimate the data value at the exact 3D location requested. See also GetValueAtNearestVoxel(), which is faster but less precise because it does not use interpolation. Or, GetValueAtVoxel(), which is even faster but does not support fractional voxel coordinates.

    Declaration
    float GetScalarValueAtVoxelSpacePoint(Vector3 voxelSpacePoint)
    Parameters
    Type Name Description
    Vector3 voxelSpacePoint
    Returns
    Type Description
    float
    | Improve this Doc View Source

    GetScalarValueAtWorldSpacePoint(Vector3)

    Looks up the value in the original voxel data based upon a position specified in Unity World coordinates.

    Declaration
    float GetScalarValueAtWorldSpacePoint(Vector3 worldSpacePoint)
    Parameters
    Type Name Description
    Vector3 worldSpacePoint
    Returns
    Type Description
    float
    | Improve this Doc View Source

    NormalizeScalarValue(float, KeyData)

    Uses the min and max values in the volume data to remap a data value to a normalized range between 0 and 1.

    Declaration
    float NormalizeScalarValue(float value, KeyData keyData)
    Parameters
    Type Name Description
    float value
    KeyData keyData
    Returns
    Type Description
    float
    • Improve this Doc
    • View Source
    In This Article
    Back to top Interactive Visualization Lab
    Copyright 2023, Regents of the University of Minnesota, All Rights Reserved