VisualizationLibrary icon indicating copy to clipboard operation
VisualizationLibrary copied to clipboard

Allow vl::Object user data to be of any class for proper casting

Open MicBosi opened this issue 10 years ago • 1 comments

VL_OBJECT_USER_DATA only allows to a vl::Object to point to a void*, it would be nice to have the option to be a user specified base class so that proper dynamic casting can be used when retrieving data. It has to be a naked pointer though.

MicBosi avatar Jan 20 '16 17:01 MicBosi

This will be a breaking change as the meaning of the define will change.

MicBosi avatar Jan 29 '16 18:01 MicBosi