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 (v.4.10)


Example modifying the standard ILColorbar 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: July 20 2020 14:52

Download ZIP

TOP

All Examples