[vtk-developers] Crash with vtkCompassWidget

Prabhu Ramachandran prabhu at aero.iitb.ac.in
Fri Jun 20 14:37:30 EDT 2008

David Cole wrote:
> A widget requires an attached widget representation to work properly for 
> all of its methods...
> Is this a bug? Or an intended "it's not gonna work unless there's a 
> representation connected to it..."?

I'll just add that no other VTK class behaves like this.  It shouldn't 
crash this way.  At least the getters should check for the WidgetRep and 
return 0 or something if it isn't set and can't be set to a reasonable 


More information about the vtk-developers mailing list