DiscussionsIssue archiveVisualization and 3D Viewer

Archived discussion

Imposing pan/zoom extents to grid size

Visualization and 3D ViewerSun, 12/08/2024 - 13:140 replies

Browse this forum
QuestionAuthor

Q: How can I limit pan and zoom operations to within the grid boundaries?

To explain, I'm using OCCT in a purely 2D mode: looking down onto X,Y and forcing Z=0.

i'm finding Pan and Zoom operations can get very excitable (esp on touchpads): resulting in the grid disappearing off into another dimension, never to be seen again. As a safety net I want to impose a restriction so that pan/zoom can never leave the extents of the grid

Anyone any ideas where to look?

thanks

Author

Discussion

No archived replies

Posts are displayed in their archived order.