[vtkusers] Callback and more than one object

Andrew Usher ush at mac.com
Wed Jul 23 11:15:53 EDT 2003


Hi,

Does anyone know of a way to get more than one object into a callback
apart from using a global variable when using:

void callback_one(vtkObject* sendingObject,unsigned long eventID, void*
                  clientData , void* callData)

I'm sure there must be a way! I was wanting to get a dataset and a
renderer in for a mouse event callback.

Any ideas?

Thanks,

Andy




More information about the vtkusers mailing list