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

Making 3D Text selectable

Anonymous's picture
Forums: 

Hello,

I have done my own AIS_InteractiveObject with Text ( using Prs3d_Text::Draw(...) ). I would like to have this text sensitive. How to do that ? In the package Select3D , there is no class for text.

Can someone helps me ?

thanks,

Stephane

Michael Gandyra's picture

Overwrite ComputeSelection and add a SensitiveEntity as SensitiveText2d_StdSelect to the SelectMgr_Selection parameter.

regards, Michael

-------------------------------------------------

University of Kaiserslautern

Research Group for Computer Application in Engineering Design

-------------------------------------------------

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.