magnifying glass of portion of drawing under cursor during a jig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
We're drawing polyline on image or pointcloud, but image is pixelated and pointcloud is noised so to be sure to click in the middle of "line" user are doing lots of zoom in/out to verify good clicked position.
To avoid this, I would like to create a plug-in to show a "magnifying glass" near cursor or on a palette to see zoomed area under my cursor when drawing polyline in my jig object.
I thought of 4 solutions:
1 : magnifying glass of Windows => no dev, but I just see bigger but not more precise
2 : take snapshot of screen and view this image in my custom palette => snapshot at screen resolution have same problem than solution1 and plot at high resolution can take time and is not dynamic with my drawing
3 : Divide my screen into 3 viewport, I can draw in my main viewport (CVPORT=2) and try to sync center of a small viewport (CVPORT=3) when dragging my jig => performance when updating viewport at each mouse movement??
I've found an article on DevBlog in C++ here, but in video sample, sync seems slow, perhaps due to events reactor or because it's a 3D view with heavy viewstyle. In my case, I'm inside my jig so no reactor and I always know in real time where is my cursor.
4 : Use a "control" to see my drawing in my custom palette. In some vertical product (like Civil3D) in lots of dialog box, you have a preview of "block" or "label style" with viewcub and possible orbit / zoom
Do you have any other solution?
Is solution 4 available in .Net? How does it work? Is it a copy of my current drawing or a DWG database?
I think solution 3 is the easiest?
Thanks for your advice.
Olivier
Olivier Eckmann