Steffen.Oeltze at Student.Uni-Magdeburg.DE
Sat Oct 5 09:58:30 EDT 2002
Jeremy Winston wrote:
>Steffen Oeltze wrote:
>>Alan McIntyre wrote:
>>>As far as passing function pointers goes, there is a difference
>>I receive an error during compiling saying that this is not a valid call
>>for a member-function.
>Shouldn't it just be
> "(this->get_mousePos)" ?
> or "(this->get_mousePos())" ).
You are right but this doesn't work either. I have programed a slice
viewer object which
has a mapper, a render window and an interactor. Now, I'd like to define
vtkInteractorStyleUser. My source code is:
vtkRenderWindowInteractor *intAct = vtkRenderWindowInteractor::New();
vtkInteractorStyleUser *style = vtkInteractorStyleUser::New();
void SliceView::get_mousePos(void *)
The error I get is:
coversion of parameter 1 from 'void (void *)' to 'void (__cdecl *) (void
*)' is not possible
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers