I guess I don't have much experience with Opencascade. I have started a program, in which I can draw the bottle tutorial. Now I would like to show the objects (in my case only the bottle) in a tree product structure. I am trying to access all the objects doing this:
Handle(TObj_ObjectIterator) objs = Handle(TObj_Model)::GetObjects();
but the compiler says 'GetObjects' is not a member of 'opencascade::handle<TObj_Model>'
I also tried on 2 lines with the same error:
Handle(TObj_ObjectIterator) objs = mModel.GetObjects();
What am I missing? Thanks!