How to get a single object (TsgDXFInsert) from many 3D objects (STEP)
Posted: 16 Mar 2022, 13:47
I have a question about a possibility to get a single 3D object (TsgDXFInsert*) by mouse click on Tsg3DDrawingNavigator.
Shortly - I have a drawing navigator (Tsg3DDrawingNavigator*) where are many 3D objects. All of them are displayed and all of them existing as inserts (TsgDXFInsert*). Every insert contains many single entities: triangles (TsgDXF3dFace*) and polylines (TsgDXFPolyline*). I can have an access to this insert via pointer (TsgDXFInsert*) kept in the memory. That's no problem.
But - how to get an access to some object by mouse clicking (on the navigator)?
Maybe there are some methods which could return the pointer (TsgDXFInsert*) after mouse click from the navigator (Tsg3DDrawingNavigator)?
Another approach?
Thank you for any help!
Mariusz
Shortly - I have a drawing navigator (Tsg3DDrawingNavigator*) where are many 3D objects. All of them are displayed and all of them existing as inserts (TsgDXFInsert*). Every insert contains many single entities: triangles (TsgDXF3dFace*) and polylines (TsgDXFPolyline*). I can have an access to this insert via pointer (TsgDXFInsert*) kept in the memory. That's no problem.
But - how to get an access to some object by mouse clicking (on the navigator)?
Maybe there are some methods which could return the pointer (TsgDXFInsert*) after mouse click from the navigator (Tsg3DDrawingNavigator)?
Another approach?
Thank you for any help!
Mariusz