• 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 IVolumeCoordSpaceConverter

    Interface to implement for helpers to convert between Data Space and Unity's World Space.

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

    Properties

    | Improve this Doc View Source

    VolumeDimensions

    The x,y,z dimensions of the raw voxel data (i.e., the number of voxels in each direction) -- read only.

    Declaration
    Vector3Int VolumeDimensions { get; }
    Property Value
    Type Description
    Vector3Int

    Methods

    | Improve this Doc View Source

    ContainsVoxelSpacePoint(Vector3)

    Returns true if the point in voxel space lies within the volume. Since voxel space is defined in units of voxels, this simply checks to see if the point lies within the dimensions of the volume.

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

    DataSpacePointToVoxelSpace(Vector3)

    Converts a point in the original data coordinate space, which is typically defined in real-world units, like meters, to a point within the voxel coordinate space. The voxel space is defined in units of voxels, but the coordinates can be fractional so we can represent a point within a voxel, not just at the center of each voxel.

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

    VoxelSpacePointToDataSpace(Vector3)

    Converts a point in voxel space to the data coordinate space. Typically this transforms the voxels, which are like pixels in an image, into a real-world coordinate space like meters.

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

    VoxelSpacePointToWorldSpace(Vector3)

    Converts a point in voxel space (can include fractions) to the point's current position in Unity's World coordinate system.

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

    WorldSpacePointToVoxelSpace(Vector3)

    Converts a point in Unity world coordinates to a point within the data coordinate space and then to a corresponding point in voxel coordinate space. The voxel space is defined in units of voxels, but the coordinates can be fractional so we can represent a point within a voxel, not just at the center of each voxel.

    Declaration
    Vector3 WorldSpacePointToVoxelSpace(Vector3 worldSpacePoint)
    Parameters
    Type Name Description
    Vector3 worldSpacePoint
    Returns
    Type Description
    Vector3
    • 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