[vtkusers] problem with getPlaneOrientation()

Jothybasu Selvaraj jothybasu at gmail.com
Mon Aug 20 11:40:04 EDT 2012


Instead of using

int iaxis;
current_widget->
GetPlaneOrientation(iaxis);

use

iaxis=GetPlaneOrientation();

That works for me. I don't know why it can be put into a bucket. Is that
because of it type virtual int?


On Mon, Aug 20, 2012 at 4:28 PM, 32sthide <32sthide at gmail.com> wrote:

> it says /usr/include/vtk-5.2/vtkImagePlaneWidget.h:299: note: candidates
> are:
> virtual int vtkImagePlaneWidget::GetPlaneOrientation()
>
> 161: error: no matching function for call to
> ‘vtkImagePlaneWidget::GetPlaneOrientation(int&)’
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/problem-with-getPlaneOrientation-tp5715428p5715433.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Jothybasu Selvaraj
PhD Student
University of Liverpool
UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120820/92c2b6c3/attachment.htm>


More information about the vtkusers mailing list