• Home
  • Manual
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • Installation
    • Introduction
    • Core Concepts
      • Key Data
      • VisAssets
      • Data Impressions
      • Basic Terminology
      • Media Folder
    • Getting Started Tutorials
      • Start Here - ABR Vis App
      • ABR Design Interface
      • ABR C# Visualization
      • Importing Data
      • Advanced Usage
    • Troubleshooting
    • License

    Basic ABREngine Terminology

    Beyond the key data, visasset, and data impression metaphors, there are also some new concepts and terminology that you'll need to work with the ABR Engine via C# scripting in Unity.

    ABREngine

    The ABREngine is the main class with which visualizations are constructed. ABREngine exists as a singleton object in the Unity scene, that is, there is only ONE instance of ABREngine the entire time Unity is running. You can access the running instance easily in code with ABREngine.Instance; for example, you can use any of the following important methods and objects in this manner:

    • ABREngine.Instance.VisAssets - single instanceSingle instance of the VisAssetManager (you can load or get visassets with this object)
    • ABREngine.Instance.Data - Single instance of the DataManager (you can load or get data with this object)
    • ABREngine.Instance.RegisterDataImpression() - Connect the data and visuals together in the engine
    • ABRengine.Instance.Render() - Display the visualization

    RawDataset

    A RawDataset is a standardized geometric dataset (points, lines, surface, volume) formatted in a way that ABR can import it. RawDatasets MUST be imported to be used in ABR. RawDataset objects can be obtained from from the RawDatasetAdapter class and import it immediately after.

    The following example shows how to construct and import a simple dataset of 3 points:

    // Build a simple list of 3D points
    List<Vector3> points = new List<Vector3> { Vector3.zero, Vector3.one, 2*Vector3.one };
    
    // We need to provide a bounding box for the data so ABR knows where it can safely place the visualization in space.
    // The data should NEVER go outside these bounds.
    Bounds b = new Bounds(Vector3.zero, 2*Vector3.one);
    
    // Standardize these points into a format ABR can understand
    RawDataset abrPoints = RawDatasetAdapter.PointsToPoints(points, b, null, null);
    
    // Then, import the data so we can use it in a visualization
    KeyData pointsKD = ABREngine.Instance.Data.ImportRawDataset(abrPoints);
    

    Read the docs on ABREngine.Instance.Data.ImportRawDataset() and RawDatasetAdapter for more information.

    DataImpressionGroup

    Data impressions can be "grouped" in your ABR scene, which makes it easier to move data impressions around (e.g., for a side-by-side visualization). Check out the DataImpressionGroup example in the ABREngine for more information.

    • Improve this Doc
    In This Article
    Back to top Interactive Visualization Lab
    Copyright 2023, Regents of the University of Minnesota, All Rights Reserved