vtk 3.1: vtkInteractorStyleUser callbacks

John Biddiscombe j.biddiscombe at rl.ac.uk
Fri Feb 25 13:20:47 EST 2000


> (Btw, what is vtkTypeMacro and why whould/should I want to use it?)

If you get a pointer and you're not sure if its polydata, structuredpoints
or whatever, you can

if (object->IsA(vtkPolyData.....) look in vtkset.get.h for defs (right at
the end). And the vtkIsTypeMacro you asked me about is just an older version
I haven't removed from my code yet

John B


--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list