IVtkTools_ShapePicker issue

VTK7.0 + OCC

I Created 2 box with OCC, and use IVtkTools_ShapePicker to pick one box , GetPickedShapesIds() always return two 0. is that mean IVtkTools_ShapePicker can only handle one IVtk_IShape or VtkActor?


liuhuiwei's picture

you can read the source file,in draw test。i think you dont add data to pick,before pick,picker will extract the shape type you need