[vtkusers] override a method in vtkInteractorStyle

Dominik Szczerba dominik at itis.ethz.ch
Thu Dec 18 11:31:15 EST 2008


Yeah I think I was getting there some errors too (not sure if the same 
though). A quick fix was to copy the vtkInteractorStyle to 
vtkInteractorStyle2, modify, and compile it outside VTK directly in my 
project.

Dominik

Shady Shidfar wrote:
> Hi everyone, does anyone know how I can override mouse event methods 
> after inheriting vtkInteractorStyle. I get the error saying the (parent) 
> method isn't Virtual, although it is. Does anyone know why this is 
> happening. That might be because I'm trying to override a method in a 
> wrapper class, but I hope their would be a way to fix this.
>  
> Thanks
> Shaadi
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Dominik Szczerba, PhD
Computational Physics Group
IT'IS Foundation
http://www.itis.ethz.ch



More information about the vtkusers mailing list