For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

NOT zoomable objects

Mauro Corbo's picture
Forums: 

Hi everyone,

Need to display 3d objects that must NOT zoomable.
Any suggestion?

Hugues Delorme's picture

Hello Mauro,

    If you are using AIS toolkit then one solution is to set the transform persistence to Graphic3d_TMF_ZoomPers.

    Have a look how this is done for the AIS trihedron placed at the CAD origin in Mayo :

        https://github.com/fougue/mayo/blob/develop/src/gui_document.cpp#L92

Mauro Corbo's picture

Thank you very much,I will check