• 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

    Class RenderHints

    Hints for rendering, such as whether a data impression should be hidden

    Inheritance
    object
    RenderHints
    Namespace: IVLab.ABREngine
    Assembly: IVLab.ABREngine.Runtime.dll
    Syntax
    public class RenderHints

    Properties

    | Improve this Doc View Source

    GeometryChanged

    Has the impression been changed since the last render (needs to be re-rendered?)

    Declaration
    public bool GeometryChanged { get; set; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    PerIndexVisibility

    Index-level toggle to control visibility of individual parts of a data impression (e.g., points, lines).

    Declaration
    public BitArray PerIndexVisibility { get; set; }
    Property Value
    Type Description
    BitArray
    Remarks

    Index-level visibility may not be implemented for every data impression.

    Examples

    The following example shows basic usage of per-index visibility on a simple glyph data impression:

    public class IndexVisibilityExample : MonoBehaviour
    {
        void Start()
        {
            // Let's say the key data has 42 points.
            KeyData pointsKd = // some data we've imported
    
            // Create a layer for "before" points (blue)
            SimpleGlyphDataImpression di = new SimpleGlyphDataImpression();
            di.keyData = // some key data we've loaded previously
    
            // Default everything to invisible (visible = false)
            di.RenderHints.PerIndexVisibility = new BitArray(42, false);
    
            // Register impression with the engine and render
            ABREngine.Instance.RegisterDataImpression(di);
            ABREngine.Instance.Render();
    
            // Then, if we wanted to set some index to visible:
            di.RenderHints.PerIndexVisibility[10] = true;
    
            // Note: we need to tell the impression that its style has changed and
            // call Render() again
            di.RenderHints.StyleChanged = true;
            ABREngine.Instance.Render();
        }
    }
    | Improve this Doc View Source

    StyleChanged

    Has the style of the impression been changed

    Declaration
    public bool StyleChanged { get; set; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    VisibilityChanged

    Has the visibility of the impression been changed (mesh renderer needs to be toggled)

    Declaration
    public bool VisibilityChanged { get; set; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    Visible

    Whether or not the impression is visible

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Improve this Doc View Source

    Copy()

    Hints for rendering, such as whether a data impression should be hidden

    Declaration
    public RenderHints Copy()
    Returns
    Type Description
    RenderHints
    | Improve this Doc View Source

    HasPerIndexVisibility()

    Whether or not the impression currently has per-index visibility

    Declaration
    public bool HasPerIndexVisibility()
    Returns
    Type Description
    bool
    • 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