Industrial Data Science
in C# and .NET:
Simple. Fast. Reliable.
 
 

ILNumerics - Technical Computing

Modern High Performance Tools for Technical

Computing and Visualization in Industry and Science

Interactive Colorbar - Changing Data Range by Dragging with the Mouse


Example modifying the standard Colorbar screen object for extended interaction. The data range for the colorbar is prepared to be editable with the mouse. The color data range of the attached surface object is changed dynamically by dragging with the mouse on the scale of the colorbar. The results are shown in the surface and presented on the fly.

This example demonstrates the following aspects: scene setup with surface and colorbar, mouse event registration on the colorbar, event handling for dynamically updating the colorbar provider data, updating surface objects for dynamic colormapped data ranges.

Last modified: August 25 2021 18:29

Download ZIP

TOP

All Examples