Q:
I found a reference on a GenericObject interface in the Inventor documentation. What is it? and how to use it?
A:
GenericObject is an interface put in place to wrap an object that hasn’t been designed or implemented yet, or that we haven’t connected yet. All objects in the system will not support the GenericObject interface, and it’s use will decrease over time, as the API coverage becomes more complete.
If you want a generic utility to query the object type, we added a utility (Rx::GetObjectType) for C++ programmers to do just this in DispatchUtils.h.

Leave a Reply