Making 3D Text selectable


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 ?



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