[vtkusers] vtkBoxWidget GetPlane Function Bug ?
David Doria
daviddoria+vtk at gmail.com
Mon Aug 9 09:34:10 EDT 2010
On Mon, Aug 9, 2010 at 9:29 AM, naresh <naresh at winner.co.in> wrote:
> Dear Eric
>
> You are right . I am sorry for saying radom data rather i should say it
> returns same data as last one. I tried to debug it and check the two
> pointer of vtkPlane . In stack both become same at last. So i think it
> points same address .
>
> So what would be the solution do i copy the value assining to new address
> everytime ?
>
It sounded like Eric recommended trying
GetPlane(int i, vtkPlane plane)
instead of GetPlanes() and then planes->GetPlane(int i)
Thanks,
David
More information about the vtkusers
mailing list