[vtkusers] Tcl_HashEntry???

kitware-vtk at kulnet.kuleuven.ac.be kitware-vtk at kulnet.kuleuven.ac.be
Wed Feb 21 08:36:30 EST 2001

---  Forwarded by news2mail for vtkEditor <vtkedit at esat.kuleuven.ac.be> ---


How can I find something in the vtk object hash table from c++??
I've used the following code:
	extern Tcl_HashTable vtkInstanceLookup;
	Tcl_HashEntry *entry = Tcl_FindHashEntry(&vtkInstanceLookup,argv[1]);
argv[1] contains a string, the tcl name of an actor.
This code used to work, but it doesn't work anymore with the latest vtk
Any suggestions, please??

PS: Why the hell is the default picker changed to a vtkPropPicker
instead of a vtkPicker???
How can I get a dataset from that vtkPropPicker? Previously i used:
	[[[$wndRenderWindow GetInteractor] GetPicker] GetDataSet]
but of course this doesn't work anymore because the default picker is
now vtkPropPicker!

email: vtkedit at esat.kuleuven.ac.be
site: http://www.esat.kuleuven.ac.be/~vtkedit

More information about the vtkusers mailing list