[vtkusers] problem with getPlaneOrientation()

Alex Malyushytskyy alexmalvtk at gmail.com
Mon Aug 20 19:17:19 EDT 2012


This is declaration of access function:
virtual int 	GetPlaneOrientation ()

this means function does not have parameters and it returns an int value.

So you use it something like:

int a = GetPlaneOrientation ();

virtual has nothing to do with inability to write
GetPlaneOrientation ( a );

Before using C++ it is a good idea to read a book about it.
It is not an offense, but good advice.

Alex




On Mon, Aug 20, 2012 at 8:59 AM, 32sthide <32sthide at gmail.com> wrote:
> you're right. that's weird but it actually works, thank u so much.
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/problem-with-getPlaneOrientation-tp5715428p5715438.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



More information about the vtkusers mailing list