[vtkusers] vtkInteractorStyle

Steffen Oeltze Steffen.Oeltze at Student.Uni-Magdeburg.DE
Fri Oct 4 18:49:58 EDT 2002


Alan McIntyre wrote:

> Steffen,
>
> The "void(*f)(void *)" parameter is a pointer to a C function that 
> looks like this:
>
> void func(void *);
>
> How much that helps you out I don't know. If you could post some more 
> code I can try to help, even though I haven't done much with VTK in C++.
>
The function I use is:

void SliceView::get_mousePos(void *)
{
    ..................
}

The function declaration is:

void get_mousePos(void *);

The assignment (which doesn't work) of the function:

interactorStyle->SetLeftButtonPressMethodArgDelete(get_mousePos());




More information about the vtkusers mailing list