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

Rotate around arbitrary Rotational Center


The example shows a simple scene based on Camera. Common mouse interaction applies. A new interactive mode is enabled by attaching to the MouseDown event of the panel. In the event handler, for MouseDown events of the left mouse button together with the ALT key pressed, the current position of the mouse is taken as a new rotational center. Extended picking information are acquired first in order to determine the exact point on the scene the mouse clicked on. This point is marked with a red dot and taken as the new rotational center for all common rotations for now on.

The reset action taken when double clicking on the scene is still valid.

This example recognizes clicks on triangle surfaces only. One may extend it to also support clicks on lines / points / labels.

Last modified: August 26 2021 10:32

Download ZIP

TOP

All Examples

cm
1
n
 
 
We and our partners use technology such as cookies or pixels on our site to personalize content and ads, provide social media features, and analyze our traffic across devices and platforms. Tracking activities can be controlled or disabled. By continueing using our website you agree on the placement of related cookies and the use of data delivered by your browser for such purposes. Read more in our data privacy statement.
Got it!