[vtkusers] Access style class member variables in a callback?

Jeff Baumes jeff.baumes at kitware.com
Thu Oct 22 12:53:19 EDT 2009


> Thanks Jeff. Where should I have found this information about what was
> passed as callData?

The vtkCommand documentation was incomplete. I've just checked in a
better comment:

// - vtkCommand::SelectionChangedEvent
//  - Views/vtkView returns NULL
//  - Views/vtkDataRepresentation returns a pointer to a vtkSelection
//  - Rendering/vtkInteractorStyleRubberBand2D returns an array of 5 unsigned
// integers (p1x, p1y, p2x, p2y, mode), where mode is
// vtkInteractorStyleRubberBand2D::SELECT_UNION or
// vtkInteractorStyleRubberBand2D::SELECT_NORMAL

Jeff

-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4932
jeff.baumes at kitware.com



More information about the vtkusers mailing list