• 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

    Data Impressions

    Every "layer" in the visualization is represented by a data impression. In the ABR design interface, each impression is shown by a "tower"; for example this data impression represents the ground's surface in the simulation, and we've applied some scalar data variables and styling to it.

    ABR has four types of data impressions:

    SimpleSurfaceDataImpression SimpleLineDataImpression SimpleGlyphDataImpression SimpleVolumeDataImpression

    Using Data Impressions in Code

    To construct a data impression, use the KeyData, Variables, and VisAssets that you have loaded in in the previous examples and link them into the data impression by assigning to instance variables like keyData, colormap, colorVariable etc. See the documentation links above for the values that can be changed for each Data Impression. For example, to create the same effect as the "tower" in the previous image, we might use code like this:

    // Import ground data
    KeyData groundData = ABREngine.Instance.Data.ImportRawDataset(...);
    
    // Import the colormap
    ColormapVisAsset cmap = ABREngine.Instance.VisAssets.LoadVisAsset<ColormapVisAsset>(...);
    
    // Create a new data impression for the ground
    SimpleSurfaceDataImpression ground = DataImpression.Create<SimpleSurfaceDataImpression>("Ground");
    ground.keyData = groundData;
    ground.colormap = cmap;
    ground.colorVariable = groundData.GetScalarVariable(...);
    
    // Register the data impression with the engine
    ABREngine.Instance.RegisterDataImpression(ground);
    
    • Improve this Doc
    In This Article
    Back to top Interactive Visualization Lab
    Copyright 2023, Regents of the University of Minnesota, All Rights Reserved